summaryrefslogtreecommitdiff
path: root/src/jtag
Commit message (Collapse)AuthorAgeFilesLines
* added yours sincerely for files where I feel that I've made non-trivial ↵oharboe2008-07-254-0/+12
| | | | | | contributions. git-svn-id: svn://svn.berlios.de/openocd/trunk@872 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* take path to eCos files from environment variableoharboe2008-07-241-1/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@869 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-112-39/+55
| | | | | | | | - 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:oharboe2008-06-181-76/+120
| | | | | | | | - lower jtag speeds (higher divisor) was used, TDI was not changed on falling TCK edge as it should - reset signal was release upon any TMS transition, making it impossible to use reset halt - added khz() and speed_div() functions git-svn-id: svn://svn.berlios.de/openocd/trunk@716 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Pavel Chromy: TAP state changed to TLR when SRST goes active with ↵oharboe2008-06-181-0/+4
| | | | | | srst_pulls_trst, as in all other drivers git-svn-id: svn://svn.berlios.de/openocd/trunk@715 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - error message cleanup in jlink driverntfreak2008-06-101-9/+8
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@707 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Pavel Chromy: TCK returns to zero before state of reset line is changed.oharboe2008-06-041-6/+21
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@703 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
* - fix jlink accessing incorrect buffer elementntfreak2008-06-041-1/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@701 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - fix issue if jlink sends result in single usb in packetntfreak2008-05-271-20/+32
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@691 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - added check for max. value of jtag_speed in ft2232_khz.mifi2008-05-261-0/+6
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@690 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - renamed EMU_CMD_HW_JTAG to EMU_CMD_HW_JTAG3mifi2008-05-261-2/+2
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@689 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* found out why str912 reset halt failed.oharboe2008-05-261-1/+18
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@688 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* clock 1/0 in idle now configurable.oharboe2008-05-261-5/+9
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@687 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - changed some buffer defines to increase performancemifi2008-05-251-5/+5
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@685 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - comment out usb_set_altinterface, because it is not working under Mac OS X.mifi2008-05-241-0/+7
| | | | | | And not needed for Windows. Hopefully it will not break a Linux build. git-svn-id: svn://svn.berlios.de/openocd/trunk@684 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - swap processing of reset handling. First srst and than trst.mifi2008-05-241-8/+8
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@680 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - corrected copy/paste type and renamed jlink_usb_read_result to ↵mifi2008-05-241-5/+5
| | | | | | jlink_usb_read_emu_result git-svn-id: svn://svn.berlios.de/openocd/trunk@678 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - removed obsolete cmd JLINK_TAP_SEQUENCE_COMMAND, use EMU_CMD_HW_JTAG insteadmifi2008-05-241-13/+48
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@677 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - jlink jlink_execute_queue returns resultntfreak2008-05-241-68/+56
| | | | | | | - added jlink_get_version_info function - reformatted spaces to tabs git-svn-id: svn://svn.berlios.de/openocd/trunk@676 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - replaced JLINK_xxxx command defines by EMU_CMD_ from themifi2008-05-241-27/+58
| | | | | | | J-Link USB Protocol specification - added functionality to jlink_init to display the version. git-svn-id: svn://svn.berlios.de/openocd/trunk@675 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
* comment.oharboe2008-05-211-0/+3
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@671 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
* - added jlink support, based on Jürgen Stuber patchntfreak2008-05-143-1/+860
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@658 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - restored tabs and formattingntfreak2008-05-122-113/+101
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@657 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - corrected rounding in ft2232_khzmifi2008-05-101-3/+4
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@654 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - added support for ft2232/jtag_khzmifi2008-05-101-0/+48
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@653 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* This matters for embedded devices, but is probably not observably better for ↵oharboe2008-05-072-6/+6
| | | | | | PC hosted OpenOCD. git-svn-id: svn://svn.berlios.de/openocd/trunk@647 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Edgar's naming convention fixes.oharboe2008-04-302-7/+12
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@629 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Edgar's added support for printing jtag_khzoharboe2008-04-302-26/+46
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@628 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Tim Hudson: removed setting jtag_speed directly (which should not be done).oharboe2008-04-233-5/+0
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@606 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* fix for gaffe in 555 that stopped JTAG chain examine + validate from running.oharboe2008-04-161-2/+2
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@588 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* A dummy driver to test codepath w/no contact w/target.oharboe2008-04-133-2/+120
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@572 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - Set up ICE registers after TRSToharboe2008-04-131-3/+7
| | | | | | | | - Work in progress to allow launching GDB/telnet server *before* jtag chain enum, validate & examine git-svn-id: svn://svn.berlios.de/openocd/trunk@569 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Reset wip. Just adding hooks. This is just to reduce the size of the actual ↵oharboe2008-04-112-4/+13
| | | | | | change, no change in behaviour. git-svn-id: svn://svn.berlios.de/openocd/trunk@565 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* back out Don Porges workaround for some device with manufcaturer # 0x1a2oharboe2008-04-091-9/+0
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@555 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Don Porges fixed c99 issues.oharboe2008-04-097-28/+32
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@553 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - added "init" command. "init" and "reset" at end of startup script is ↵oharboe2008-04-092-2/+77
| | | | | | | | | | | | | | | equivalent to daemon_startup(still supported). - print warning if srst and trst change state at the same time when srst_and_trst is seperate - reset now performs a trst, examines and validates the jtag chain before targets assert reset - if startup fails to examine and validate the jtag chain, try a reset before trying again git-svn-id: svn://svn.berlios.de/openocd/trunk@552 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* use jtag.c's cur/end_state global variables.oharboe2008-04-081-3/+0
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@551 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Pavel pointed out that jtag_add_tlr() is better than jtag_add_tms().oharboe2008-04-082-20/+20
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@547 b42882b7-edfa-0310-969c-e2dbd0fdcd60