summaryrefslogtreecommitdiff
path: root/src/jtag/jtag.c
Commit message (Collapse)AuthorAgeFilesLines
* arm11 wipoharboe2009-01-141-7/+17
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1317 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - added mips software breakpoint supportntfreak2009-01-131-3/+4
| | | | | | | - changed some jtag LOG_DEBUG to only output when _DEBUG_JTAG_IO_ defined. Makes debugging other parts of openocd not as noisy - updated correct jtag id for pic32mx git-svn-id: svn://svn.berlios.de/openocd/trunk@1313 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* allow issuing reset_config on the fly. Faster turnaround times in testing.oharboe2009-01-091-1/+2
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1310 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* fixed warnings + added zy1000 jtag_add_clocks support.oharboe2009-01-091-1/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1309 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Dick Hollenbeck <dick@softplc.com> adds jtag_add_clocks() and implements ↵oharboe2009-01-091-18/+45
| | | | | | those in the bitbang and ft2232.c. nearly a full rewrite of the xsvf.c. improved some messaging only affected by _DEBUG_JTAG_IO_ git-svn-id: svn://svn.berlios.de/openocd/trunk@1308 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Quoteify the FT2232 description list, and a missed fix from Dirk Behme about ↵duane2008-12-271-1/+1
| | | | | | jtag tapisenabled git-svn-id: svn://svn.berlios.de/openocd/trunk@1281 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Added dongle VSLLINK - from Simon Qianduane2008-12-271-0/+7
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1280 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Dick Hollenbeck <dick@softplc.com> better loggingoharboe2008-12-191-2/+2
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1264 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - rlink interface support from Lou Deluxe <lou.openocd012@fixit.nospammail.net>kc8apf2008-12-191-0/+7
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1258 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - Update tap_state_strings to correspond to SVF state nameskc8apf2008-12-141-11/+34
| | | | | | | - Use new jtag_state_name() instead of global tap_state_strings[] git-svn-id: svn://svn.berlios.de/openocd/trunk@1240 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - remove target specific variant and use target->variant memberntfreak2008-12-131-79/+48
| | | | | | | - fix build warning in cortex_m3 - code cleanup - remove trailing lf and convert c++ comments git-svn-id: svn://svn.berlios.de/openocd/trunk@1238 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Add JTAG tap events for enable/disablekc8apf2008-12-131-1/+184
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1237 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Clean up references to old tap_state nameskc8apf2008-12-131-30/+30
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1235 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Change tap_state naming to be consistent with SVF documentation.kc8apf2008-12-131-37/+37
| | | | | | | Courtesy of Dick Hollenbeck <dick@softplc.com> git-svn-id: svn://svn.berlios.de/openocd/trunk@1232 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Allow -expected-id to be specified multiple times when creating a jtag tapkc8apf2008-12-121-13/+58
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1229 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Fix for Hiroshi Ito discovery of mis-aligned memory allocationduane2008-12-041-0/+33
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1205 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* update zy1000 to svn head jtag apioharboe2008-12-011-51/+32
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1197 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* jtag newtap change & huge manual updateduane2008-11-301-178/+608
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1194 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - fox small typo in handle_irscan_commandntfreak2008-11-201-1/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1178 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* jtag_get_device() now returns NULL and reports error instead of invoking exit()oharboe2008-11-191-2/+11
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1176 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* 926ejs target uses rclk. Cleaned up jtag_khz output a bit.oharboe2008-11-051-1/+7
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1138 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* disable continous polling while srst is asserted and power dropout is detectedoharboe2008-11-051-184/+216
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1134 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Laurentiu Cocanu - more help textoharboe2008-10-221-1/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1087 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Laurentiu Cocanu - memory read/write and exit() error path fixesoharboe2008-10-151-2/+5
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1064 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - added myself to copyright on files i remember adding large contributions ↵ntfreak2008-09-201-10/+1
| | | | | | | | | for over the years - cleaned up headers to match rest of code - added missing svn props for previously added files git-svn-id: svn://svn.berlios.de/openocd/trunk@987 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Duane Ellis: target_process_reset is now implemented in tcl. This allows ↵oharboe2008-09-121-2/+72
| | | | | | better control from target configuration scripts. git-svn-id: svn://svn.berlios.de/openocd/trunk@984 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* continue execution even if chain can't be validated. This will, hopefully, ↵oharboe2008-08-201-10/+2
| | | | | | give us some more feedback on what's wrong. git-svn-id: svn://svn.berlios.de/openocd/trunk@953 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* DANGER: committed work-in-progress to handle examination of jtag devices ↵oharboe2008-08-191-12/+10
| | | | | | | | | | without IDCODE. I think this works, but I may have to pull that change out again... added alive_sleep() to avoid warnings when resetting target(fixes incomprehensible error timeout error messages in GDB). git-svn-id: svn://svn.berlios.de/openocd/trunk@941 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* fix warning.oharboe2008-08-131-1/+0
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@911 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* fix output from jtag_khz when only jtag_speed has been invokedoharboe2008-08-111-2/+11
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@908 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* fix error messageoharboe2008-08-111-1/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@904 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - fix target_examine declarationntfreak2008-08-061-1/+1
| | | | | | | | - remove build warnings - added --enable-gccwarnings to docs - update mips_m4k_examine function git-svn-id: svn://svn.berlios.de/openocd/trunk@893 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Duane Ellis: fix warningsoharboe2008-08-051-3/+3
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@890 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* TAP_TLR won't work in a pathmove sequence. OpenOCD shouldn't and doesn't ↵oharboe2008-08-041-0/+5
| | | | | | need to support this. git-svn-id: svn://svn.berlios.de/openocd/trunk@886 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* warning output upon connection problems.oharboe2008-07-301-2/+6
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@882 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* more jtag_examine() checks. catch errors during first 640 bits.oharboe2008-07-291-1/+20
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@881 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* added yours sincerely for files where I feel that I've made non-trivial ↵oharboe2008-07-251-0/+3
| | | | | | contributions. git-svn-id: svn://svn.berlios.de/openocd/trunk@872 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* allow jtag minidriver access to cmd_queue_cur_state for jtag_add_pathmove()oharboe2008-07-241-1/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@867 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - fix typo in jtag_add_end_statentfreak2008-07-231-1/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@863 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - jtag_khz/speed are now single parameter only. These are usedoharboe2008-07-211-49/+35
| | | | | | | | | | | | | | | | | | | | | from pre/post_reset event scripts. Adding the second parameter was a mistake seen in retrospect. this gives precise control in post_reset for *when* the post reset speed is set. The pre_reset event was added *after* the second parameter to jtag_khz/speed - the target implementations no longer gets involved in the reset mode scheme. Either they reset a target into a halted mode or not. target_process_reset() detects if the reset halt failed or not. - tcl target event names are now target_N_name. Mainly internal at this early stage, but best to get the naming right now. - added hardcoded reset modes from gdb_server.c. I don't know precisely what these defaults should be or if it should be made configurable. Perhaps some hardcoded defaults will do for now and it can be made configurable later. - bugfix in cortex_m3.c for reset_run_and_xxx? - issue syntax error upon obsolete argument in target command instead of printing message that will surely drown in the log git-svn-id: svn://svn.berlios.de/openocd/trunk@849 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - fix incorrectly registered function openocd_array2memntfreak2008-07-181-10/+1
| | | | | | | | | - removed unused variables - reformatted lpc288x.[ch] - fixed helper/Makefile.am dependencies - add correct svn props to added files git-svn-id: svn://svn.berlios.de/openocd/trunk@829 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* keep_alive() fix for reset warnings.oharboe2008-07-181-0/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@827 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Charles Hardin <ckhardin@gmail.com> move tcl stuff nearer to where it belongs.oharboe2008-07-181-4/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@824 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Charles Hardin ckhardin at gmail.com oharboe2008-07-111-27/+45
| | | | | | | | | This address the >32 bit problem with drscan also added a check for bypass in the execute since this will manifest itself as a memory corruption when this check helps to debug the problem alot easier git-svn-id: svn://svn.berlios.de/openocd/trunk@794 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - retired variable stuff. oharboe2008-07-111-38/+54
| | | | | | | | - drscan is now a low level tcl command: execute DR scan <device> <num_bits> <value> <num_bits1> <value2> - removed obsolete partial command text support git-svn-id: svn://svn.berlios.de/openocd/trunk@791 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Pavel Chromy:oharboe2008-06-181-7/+7
| | | | | | | - TAP reset without TRST shall be called TLR (stands for test-logic-reset, named after the TAP state it ends is) rather than tms (test-mode-select) - some comments changed to /* C coding style */ git-svn-id: svn://svn.berlios.de/openocd/trunk@717 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Pavel Chromy: fix logging syntax error + formatting & removing obsolete ↵oharboe2008-06-041-1/+1
| | | | | | comments. git-svn-id: svn://svn.berlios.de/openocd/trunk@702 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* jtag_exexcute_queue() now logs error when it is invoked before 'init' command.oharboe2008-05-221-1/+7
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@673 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* reverted change in 658 and simply removed the busted warning for now.oharboe2008-05-191-2/+4
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@668 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Michael Fischer found this bogus warning. Fixed.oharboe2008-05-191-4/+2
| | | | | | Error: jtag.c:941 jtag_add_reset(): BUG: transition of req_tlr_or_trst ... git-svn-id: svn://svn.berlios.de/openocd/trunk@665 b42882b7-edfa-0310-969c-e2dbd0fdcd60