Commit Graph

  • e468797e41 David Brownell <david-b@pacbell.net> Bugfix: $target_name cget/configure -work-area-backup commands should return the "is it backed up?" flag, not the work area size. oharboe 2009-06-08 06:18:13 +00:00
  • a405fd1581 David Brownell <david-b@pacbell.net> oharboe 2009-06-08 06:16:43 +00:00
  • a221892f60 Adjust whitespace in configure script: use two spaces for indent. zwelch 2009-06-08 04:35:19 +00:00
  • 5ee0379be1 Reorder configure script macros: - Check for a compiler before looking for libraries or header files. - Initialize automake before calling other AM_ macros. - Disable libtool shared libraries by default. - Remove checks for unused C++, Fortran, and Java compilers. - Remove redundant AC_CANONICAL_HOST; called by AC_PROG_LIBTOOL. zwelch 2009-06-08 04:35:05 +00:00
  • 35f7c4e478 Rework parallel port configure script option handling: - Move AC_ARG_ENABLE for secondary parallel port options: - These macros cause their configure options to appear unconditionally, so they should not be placed inside conditional logic. - Groups them with primary parallel port driver option. - Update these options to show '-' instead of '_'; both still work. - Update command help text to show host architecture/OS requirements. - Display a warning when these options have been provided and the configure script will ignore the setting that the user specified. zwelch 2009-06-08 04:34:45 +00:00
  • 1419a72892 Move minidummy source file, as was supposed to happen in last commit. zwelch 2009-06-08 01:14:04 +00:00
  • f84c78a2e1 Finish off the dummy minidriver integration: - Try to disambiguates minidriver options from "standard" driver options. - Make minidummy symbols more explict about being a minidriver. - Move minidummy.c into minidummy directory to put it with its header. zwelch 2009-06-08 00:42:15 +00:00
  • b770ad5b19 Fix reference warning in JTAG primer, add another external reference. zwelch 2009-06-07 23:49:14 +00:00
  • 695c6c0960 David Brownell <david-b@pacbell.net>: zwelch 2009-06-07 23:35:29 +00:00
  • d512fe71ea David Brownell <david-b@pacbell.net>: zwelch 2009-06-07 23:21:41 +00:00
  • 733dfb288f Fix regression in mdw output; identified by Magnus Lundin. zwelch 2009-06-07 23:20:30 +00:00
  • a8d621325b David Brownell <david-b@pacbell.net>: zwelch 2009-06-07 23:14:58 +00:00
  • 1edd16dc3c David Brownell <david-b@pacbell.net>: zwelch 2009-06-07 23:10:50 +00:00
  • c28efd0a0e retire endstate command oharboe 2009-06-07 19:10:51 +00:00
  • b90d7d12f1 Set svn:eol-style properties on new minidummy driver files. zwelch 2009-06-07 18:39:11 +00:00
  • 3363851781 Fix regressions in previous series of cleanp, caused by r2092. zwelch 2009-06-07 18:38:13 +00:00
  • 14d6605cc9 minidriver build test driver "minidriver" oharboe 2009-06-07 13:55:29 +00:00
  • 7dd8754575 Factoring of jtag_examine_chain for maintainability: - Improve variable type: change device_count to unsigned. - Improves jtag_tap_count_enabled() API too (now returns unsigned). zwelch 2009-06-07 05:24:27 +00:00
  • b550f70100 Factoring of jtag_examine_chain for maintainability: - Limit scope: move tap and bit_count variables to point of first use. zwelch 2009-06-07 05:24:20 +00:00
  • 63c4848d11 Factoring of jtag_examine_chain for maintainability: - Factor TAP ID matching into new helper function. - Simplifies the main jtag_examine_chain loop logic considerably. zwelch 2009-06-07 05:24:12 +00:00
  • f106382055 Factoring of jtag_examine_chain for maintainability: - Minor whitespace and style cleanups in body of jtag_examine_chain. zwelch 2009-06-07 05:24:03 +00:00
  • 9eefd4d7e5 Factoring of jtag_examine_chain for maintainability: - Add helper to check for the terminating ID during jtag_examine_chain. zwelch 2009-06-07 05:23:50 +00:00
  • d8421f2766 Factoring of jtag_examine_chain for maintainability: - Factor end-of-chain verfication into new helper routine. - Change 'unexpected' local variable name to 'triggered' and type to bool. zwelch 2009-06-07 05:23:40 +00:00
  • feb865f9ee Factoring of jtag_examine_chain for maintainability: - Factor output of accepted/incorrect/expected TAP IDs into static helper. zwelch 2009-06-07 05:23:30 +00:00
  • c318068839 Factoring of jtag_examine_chain for maintainability: - Factor initial chain examination check into new static helper. zwelch 2009-06-07 05:23:13 +00:00
  • 90dbfcea7d Factoring of jtag_examine_chain for maintainability: - Factor JTAG chain examination into static helper function. zwelch 2009-06-07 05:23:03 +00:00
  • 861f52ff16 Factoring of jtag_examine_chain for maintainability: - Reduce indent: invert logical test of expected_id count. zwelch 2009-06-07 05:22:53 +00:00
  • 15ae1ac678 Factoring of jtag_examine_chain for maintainability: - Reduce indent: invert logic test for unexpected TAP (no IDs). zwelch 2009-06-07 05:22:42 +00:00
  • 32350a5006 Factoring of jtag_examine_chain for maintainability: - Reduce indent: invert logic test for tap in jtag_examine_chain. zwelch 2009-06-07 05:22:34 +00:00
  • 401d6472cc Factoring of jtag_examine_chain for maintainability: - Move definition of maximum JTAG chain size closer to its only uses. zwelch 2009-06-07 05:22:25 +00:00
  • 0b08845e3f Factoring of jtag_examine_chain for maintainability: - Move JTAG EXTRACT macros out from the middle of jtag_examine_chain. zwelch 2009-06-07 05:22:09 +00:00
  • 43e1ed244f Clean up handle_endstate_command(): - Merge declaration of state with first use. - Unindent and remove unnecessary 'else' block. zwelch 2009-06-07 03:48:21 +00:00
  • f92b104d8d David Brownell <david-b@pacbell.net> target/at91rm9200.cfg cleanup oharboe 2009-06-05 08:35:24 +00:00
  • aee65603ee remove hacks no longer required to build OpenOCD w/eCos oharboe 2009-06-05 06:43:09 +00:00
  • af838b03a0 remove unused include file: strings.h oharboe 2009-06-05 06:42:20 +00:00
  • 3b3a5b642c remove unused include file: inttypes.h oharboe 2009-06-05 06:41:54 +00:00
  • a49faa206d remove unused include file: inttypes.h oharboe 2009-06-05 06:37:21 +00:00
  • 0eb5c7509d Eliminate MixedCaps symbol from public JTAG TAP API: - Purely mechanical transformations to the source files. - Rename 'jtag_NextEnabledTap' as 'jtag_tap_next_enabled.' zwelch 2009-06-05 00:43:43 +00:00
  • 0d39db1109 Eliminate MixedCaps symbol from public JTAG TAP API: - Purely mechanical transformations to the source files. - Rename 'jtag_NumEnabledTaps' as 'jtag_tap_count_enabled.' zwelch 2009-06-05 00:43:32 +00:00
  • 92cf94295e Eliminate MixedCaps symbol from public JTAG TAP API: - Purely mechanical transformations to the source files. - Rename 'jtag_NumTotalTaps' as 'jtag_tap_count.' zwelch 2009-06-05 00:43:23 +00:00
  • 7db5839608 Eliminate MixedCaps symbol from public JTAG TAP API: - Purely mechanical transformations to the source files. - Rename 'jtag_TapByJimObj' as 'jtag_tap_by_jim_obj.' zwelch 2009-06-05 00:43:12 +00:00
  • 689e9664b0 Eliminate MixedCaps symbol from public JTAG TAP API: - Purely mechanical transformations to the source files. - Rename 'jtag_TapByString' as 'jtag_tap_by_string.' zwelch 2009-06-05 00:42:52 +00:00
  • 473dc89c24 Eliminate MixedCaps symbol from public JTAG TAP API: - Purely mechanical transformations to the source files. - Rename 'jtag_TapByAbsPosition' as 'jtag_tap_by_abs_position.' zwelch 2009-06-05 00:42:39 +00:00
  • 05eb8d8c13 Eliminate MixedCaps symbol from public JTAG TAP API: - Purely mechanical transformations to the source files. - Rename 'jtag_TapByPosition' as 'jtag_tap_by_position.' zwelch 2009-06-05 00:42:32 +00:00
  • dd89964ae0 Eliminate MixedCaps symbol from public JTAG TAP API: - Purely mechanical transformations to the source files. - Rename 'jtag_AllTaps' as 'jtag_all_taps.' zwelch 2009-06-05 00:42:25 +00:00
  • eaf37cf9e8 Eliminate MixedCaps symbol from public JTAG TAP API: - Purely mechanical transformations to the source files. - Rename 'jtag_all_taps' as '__jtag_all_taps.' - Frees original symbol name to rename the accessor function. zwelch 2009-06-05 00:42:17 +00:00
  • 499f30f693 Add accessors for jtag_verify; use them in jim command handler. zwelch 2009-06-05 00:06:34 +00:00
  • 99fd479503 Add accessors for reset delays; use them in jim command handlers. zwelch 2009-06-05 00:04:12 +00:00
  • d530313866 Add accessors for speed_khz; use them in jim command handler. zwelch 2009-06-05 00:02:00 +00:00
  • 8580c70172 Add jtag_get_flush_queue_count accessor to help future factoring. zwelch 2009-06-04 23:52:58 +00:00
  • a847326216 Clean up the JTAG TAP creation handler: - Factor jtag_tap_init() helper out of the end of jim_newtap_cmd. - Factor jtag_tap_free() helper out of the error case in jim_newtap_cmd. - Invert test to improve indentation at the end of jim_newtap_cmd. - Improve whitespace in the newly factored functions. zwelch 2009-06-04 23:49:52 +00:00
  • d3d02f4789 Clean up the core JTAG TAP APIs: - Move jtag_tap_name to same location as other TAP functions; export it. - Factor new jtag_tap_add() from jim_newtap_cmd(); appends TAP to global list. - Move static chain position counter to global; use in jtag_NumTotalTaps(). - Use jtag_AllTaps for reading tap list, instead of accessing global directly. zwelch 2009-06-04 23:26:58 +00:00
  • 82a5f6ff3e Change hasKHz to use bool type. zwelch 2009-06-04 22:43:34 +00:00
  • c0f9fbcca5 Add missing static keywords in JTAG source file. zwelch 2009-06-04 22:41:21 +00:00
  • 01801e3f45 unbreak arm11. TAP_INVALID is used to communicate inband that a special state should be used to lower level fn's in ARM11 code. oharboe 2009-06-04 20:05:32 +00:00
  • f7d3fdb195 - add support for different TAR autotincrement sizes as per ARM ADI spec. - set TAR size to 12 bits for Cortex-M3. - Original patch submitted by Magnus Lundin [lundin@mlu.mine.nu]. ntfreak 2009-06-04 13:45:50 +00:00
  • d861002612 Rename jtag_add_end_state to jtag_set_end_state since "add" implies that this fn has something to do with the queue, which it does not as such. oharboe 2009-06-04 13:18:07 +00:00
  • f133158175 Introduce jtag_get_end_state() fn to clarify code a bit. oharboe 2009-06-04 13:14:07 +00:00
  • 310a9eabff tiny bit of encapsulation of global end state. No longer expose it as a global variable. oharboe 2009-06-04 13:05:57 +00:00
  • 9e8dce64fc do not modify global end state from jtag_add_xxx() oharboe 2009-06-04 12:52:54 +00:00
  • 89e9d86a56 remove unused code. oharboe 2009-06-04 12:42:21 +00:00
  • 040e6cef41 no longer use jtag_add_xxx() to set end state to TAP_DRPAUSE oharboe 2009-06-04 12:12:38 +00:00
  • f499341558 no longer use jtag_add_xxx() to set end state to TAP_IDLE. Same must be done for TAP_DRPAUSE oharboe 2009-06-04 12:06:31 +00:00
  • f86f2ab3f8 use assert() to catch TAP_INVALID passed to jtag_add_xxx() fn's. oharboe 2009-06-04 11:42:34 +00:00
  • 6468859389 remove TAP_INVALID as argument to jtag_add_xxx() fn's oharboe 2009-06-04 11:33:36 +00:00
  • bb1a1ddb54 jtag_add_end_state() now returns the value of the global variable and does not modify the global variable if passed TAP_INVALID. This patch has no effect on the current code and is just to prepare upcoming patches. oharboe 2009-06-04 07:05:22 +00:00
  • 9ab49135c6 JTAG_TRST_ASSERTED event cleanup. More clear where and when it is invoked and some duplicate(harmless) invocations avoided. oharboe 2009-06-04 06:56:22 +00:00
  • de7cb1c76b David Brownell <david-b@pacbell.net>: zwelch 2009-06-04 01:22:23 +00:00
  • e7d6306b23 David Brownell <david-b@pacbell.net>: zwelch 2009-06-04 01:17:27 +00:00
  • ec2bc2259c David Brownell <david-b@pacbell.net>: zwelch 2009-06-04 01:16:43 +00:00
  • 4123f08263 David Brownell <david-b@pacbell.net>: zwelch 2009-06-04 00:56:41 +00:00
  • 99fbbdc9c4 David Brownell <david-b@pacbell.net>: zwelch 2009-06-04 00:54:25 +00:00
  • b619b7466f David Brownell <david-b@pacbell.net>: zwelch 2009-06-04 00:51:02 +00:00
  • 976f13d27b use assert() for obscure check on illegal arguments upon trst being asserted while commands are queued oharboe 2009-06-03 16:36:01 +00:00
  • 0c57bc8be2 remove unused code path. oharboe 2009-06-03 12:12:21 +00:00
  • c68684c2e6 catchup with jtag refactoring. oharboe 2009-06-03 07:55:56 +00:00
  • 80d66c9fcb Move JTAG command handling implementation into its own source file. zwelch 2009-06-03 07:06:37 +00:00
  • a3e84343e2 Finish JTAG header file modularization; command factoring follows. zwelch 2009-06-03 06:29:09 +00:00
  • 4a6adee17e added missing extern to jtag_command_queue definition. oharboe 2009-06-03 06:27:57 +00:00
  • 4bc3af0374 Move JTAG command APIs into new jtag/commands.h header file. zwelch 2009-06-03 06:08:07 +00:00
  • 2d0e1dbc02 Improve remaining documentation that was causing Doxygen warnings. zwelch 2009-06-03 04:44:38 +00:00
  • 9a5acdc161 Improve in-source documentation that was causing Doxygen warnings. zwelch 2009-06-03 04:37:51 +00:00
  • 6c39b5dd52 Add architectural introduction to the JTAG module in The Manual. zwelch 2009-06-03 02:57:55 +00:00
  • 58c19285e2 Improve logger script to expose warnings and errors in the output. zwelch 2009-06-03 02:56:20 +00:00
  • b344ea9b97 Improve doxygen markup of PATCHES file, link to new primer. zwelch 2009-06-03 02:17:26 +00:00
  • 003318b911 Add draft of Patching Primer in The Manual; update primer page. zwelch 2009-06-03 02:12:44 +00:00
  • c41db358a0 Update TODO file with more content and better style. zwelch 2009-06-03 02:11:09 +00:00
  • 36432c9ba6 Enable or add doxygen comments to the public JTAG API. zwelch 2009-06-03 01:51:04 +00:00
  • 41018ff44b Update documentationf or jtag_interface structure members. zwelch 2009-06-03 01:39:04 +00:00
  • 0d5da4bccb Remove vestigal tap_transition type from public jtag API. zwelch 2009-06-03 01:29:01 +00:00
  • 67caf323f7 Remove interface.h from public JTAG header, include it where required. zwelch 2009-06-03 01:26:01 +00:00
  • c275cfd3da Expose tap_state_by_name TAP helper available in public API. zwelch 2009-06-03 01:23:48 +00:00
  • 49a22dbf98 David Brownell <david-b@pacbell.net>: zwelch 2009-06-03 00:59:13 +00:00
  • 5ca513a097 David Brownell <david-b@pacbell.net>: zwelch 2009-06-03 00:56:50 +00:00
  • 4ecf2c7dd8 Move the JTAG cable interface API implementation - Cloned the src/jtag/jtag.c file to src/jtag/interface.c. - For each for of those files, deleted the contents of the other. - Add new source file to automake input. zwelch 2009-06-03 00:45:21 +00:00
  • f7d011a955 Add missed accessor for checking the current TMS table. zwelch 2009-06-03 00:33:22 +00:00
  • f0b1b206cd Split and simplify handle_tms_sequence_command for further factoring. zwelch 2009-06-03 00:24:21 +00:00
  • 2c69be13ea Make tap_state_by_name available in new JTAG interface API header. zwelch 2009-06-03 00:17:42 +00:00
  • def4ed3b2a Add private src/jtag/interface.h for use by JTAG interface drivers: - Move the jtag_interface structure definition. - Move the Cable API declarations. - Add new header file to automake input. zwelch 2009-06-02 23:59:13 +00:00
  • 84d88ef9d7 Finish removing '#ifdef HAVE_JTAG_MINIDRIVER_H' from jtag.h: - Wraps JTAG callback API functions: - Outlines jtag_add_callback() and jtag_add_callback4(). - Adds interface_ prefix to existing in-tree driver implementation. - Declare the driver interfaces routines in miniheader.h file. zwelch 2009-06-02 23:21:18 +00:00