summaryrefslogtreecommitdiff
path: root/src/jtag
Commit message (Collapse)AuthorAgeFilesLines
* 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
* The endstate now reports the endstate of the queue instead ofoharboe2008-04-082-1/+8
| | | | | | | reading endstate variable internal to the driver. git-svn-id: svn://svn.berlios.de/openocd/trunk@546 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* added query of reset speedoharboe2008-04-041-13/+18
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@538 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - fixes for jtag_khz committed.oharboe2008-04-012-25/+45
| | | | | | - wip, flash fillw/h/b. For testing purposes. git-svn-id: svn://svn.berlios.de/openocd/trunk@531 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Do not assert trst in srst_only case even if srst_pulls_trst.oharboe2008-03-314-40/+65
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@530 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* make jtag_add_statemove() internal to the driver.oharboe2008-03-312-56/+42
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@527 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* TAP_SD/SI are now forbidden end states.oharboe2008-03-263-81/+57
| | | | | | jtag_add_reset() now returns void streamlining the API git-svn-id: svn://svn.berlios.de/openocd/trunk@525 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - rename log functions to stop conflicts under win32 (wingdi)ntfreak2008-03-2511-325/+320
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@523 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - changed jtag_add_reset errors to warningsntfreak2008-03-221-2/+2
| | | | | | - removed extra jtag reset warnings from arm7_9 and cortex_m3 git-svn-id: svn://svn.berlios.de/openocd/trunk@520 b42882b7-edfa-0310-969c-e2dbd0fdcd60