Commit Graph

1677 Commits

Author SHA1 Message Date
oharboe c4d172da76 lpc2478 target config
git-svn-id: svn://svn.berlios.de/openocd/trunk@1580 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-30 09:50:14 +00:00
zwelch 8c1ec4f0e1 Add static keywords to core target source file data and functions.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1579 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-30 09:49:38 +00:00
oharboe d70dac5e49 Print out warning when LPC calc_checksum will cause verification to fail.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1578 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-30 09:39:24 +00:00
zwelch 20f0744f39 Fix signed/unsigned comparison.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1577 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-30 09:14:01 +00:00
oharboe a975b925ba no change
git-svn-id: svn://svn.berlios.de/openocd/trunk@1576 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-30 08:15:27 +00:00
oharboe 2ae1f18d1f flash fillX now has a verify stage
git-svn-id: svn://svn.berlios.de/openocd/trunk@1575 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-30 08:08:49 +00:00
oharboe 01f25b5aeb use jtag_rclk 500 to avoid proliferation of target scripts
git-svn-id: svn://svn.berlios.de/openocd/trunk@1574 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-30 06:26:22 +00:00
zwelch 850121f255 Michael Bruck <mbruck@digenius.de>: sys/select.h must preceed windows.h.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1573 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-30 00:59:46 +00:00
zwelch 6f73d44fab Michael Bruck <mbruck@digenius.de>: use HAVE_UNISTD_H for environ decl.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1572 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-30 00:57:58 +00:00
mlu 7d61acebd8 Clear FLASH_SR error flags after flash errors to avoid reset befor further flash operations.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1571 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-29 21:08:39 +00:00
mlu 9f9c56d6bc More error logging for DAP errors
git-svn-id: svn://svn.berlios.de/openocd/trunk@1569 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-29 18:17:51 +00:00
oharboe 0d327e9e40 comments and debug code
git-svn-id: svn://svn.berlios.de/openocd/trunk@1567 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-29 11:37:33 +00:00
zwelch 3ccbaf336d Sten <debian@sansys-electronic.com>: add support for Olimex LPC2378STK eval board.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1566 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-29 07:40:07 +00:00
zwelch 3368bb5a81 Sten <debian@sansys-electronic.com>: add support for ICEbear FDTI-based interface.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1565 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-29 07:38:35 +00:00
zwelch ae719b2706 Fix jlink usb_bulk_with_retries to return actual error codes.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1564 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-29 06:30:44 +00:00
zwelch 5ee99a7e80 Remove vestigial last_tms variable from jlink driver.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1563 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-29 05:22:14 +00:00
zwelch a8f1307992 Fix jlink for Debian/Ubuntu (by Ben Dooks <ben-openocd@fluff.org>).
git-svn-id: svn://svn.berlios.de/openocd/trunk@1561 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-29 02:18:50 +00:00
zwelch 1de959ca1c Remove redundant declarations to allow building with -Wredundant-decls.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1560 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-29 01:43:01 +00:00
zwelch 55c39bae67 Add missing header files to fix C99 compatibility.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1559 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-29 00:33:35 +00:00
oharboe 18b5a88a8a more docs on jtag_add_pathmove()
git-svn-id: svn://svn.berlios.de/openocd/trunk@1558 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-28 20:59:52 +00:00
oharboe abeee8b4c2 Dick Hollenbeck <dick@softplc.com> and Jeff Williams tap_get_tms_path_len()
git-svn-id: svn://svn.berlios.de/openocd/trunk@1557 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-28 19:02:29 +00:00
mlu f1864e3e92 Correctedout buffer size and missing jlink_tap_init() call.
Expanded JLink adapter info at startup.


git-svn-id: svn://svn.berlios.de/openocd/trunk@1556 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-28 17:40:02 +00:00
ntfreak 154d8241c9 - fix win32 build
git-svn-id: svn://svn.berlios.de/openocd/trunk@1555 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-28 13:40:06 +00:00
oharboe c5ad875a79 fix checksum memory. By failing the fallback code will handle checksum calculation
git-svn-id: svn://svn.berlios.de/openocd/trunk@1554 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-28 08:42:09 +00:00
oharboe de6d69cc60 Zach Welch <zw@superlucidity.net> fix gw16012 with --enable-parport_ppdev
git-svn-id: svn://svn.berlios.de/openocd/trunk@1553 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-28 07:34:43 +00:00
oharboe e8240209fe convert some LOG_INFO()'s during stepping into LOG_DEBUG()
git-svn-id: svn://svn.berlios.de/openocd/trunk@1552 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-28 07:33:50 +00:00
oharboe 9ba80f08f4 Michael Bruck <mbruck@digenius.de> macros for error handling
git-svn-id: svn://svn.berlios.de/openocd/trunk@1551 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-28 07:29:18 +00:00
oharboe adbe3ac817 eol-style native
git-svn-id: svn://svn.berlios.de/openocd/trunk@1549 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-28 06:28:39 +00:00
oharboe b2a13907a8 SimonQian <simonqian@simonqian.com> fix warnings(which stops compilation) and some bugs
git-svn-id: svn://svn.berlios.de/openocd/trunk@1548 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-27 19:35:31 +00:00
mlu a644bc11a5 Added dap baseaddr and dap apid commands
git-svn-id: svn://svn.berlios.de/openocd/trunk@1547 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-27 16:08:25 +00:00
oharboe c4ac70570a Dick Hollenbeck <dick@softplc.com> Collect some macros, add DIM()
git-svn-id: svn://svn.berlios.de/openocd/trunk@1546 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-27 16:03:39 +00:00
oharboe 9d5921443c SimonQian <simonqian@simonqian.com> patch for error compiling vsllink if --enable-verbose-jtag-io is set
git-svn-id: svn://svn.berlios.de/openocd/trunk@1545 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-27 13:00:29 +00:00
oharboe 88c91b4663 clean up debug/info output to be in line with other targets
git-svn-id: svn://svn.berlios.de/openocd/trunk@1544 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-27 12:12:44 +00:00
oharboe bd7d019b56 more error handling
git-svn-id: svn://svn.berlios.de/openocd/trunk@1543 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-27 12:02:07 +00:00
oharboe 4866c8ed25 a little bit more error handling in ARM11
git-svn-id: svn://svn.berlios.de/openocd/trunk@1542 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-27 11:24:01 +00:00
oharboe e784db4fdd SimonQian <simonqian@simonqian.com> AVR wip
git-svn-id: svn://svn.berlios.de/openocd/trunk@1540 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-27 10:32:13 +00:00
oharboe 18fd79e578 SimonQian <simonqian@simonqian.com> AVR support
git-svn-id: svn://svn.berlios.de/openocd/trunk@1539 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-27 10:16:16 +00:00
mlu 510ad74ea9 Deleted depreciated files ( new versions are arm_adi_v5.c/h )
git-svn-id: svn://svn.berlios.de/openocd/trunk@1538 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-27 10:05:15 +00:00
oharboe 1c28cbab02 Some devices such as AVR will return 0xffffffff instead of the TDI
data at the end of the chain. Added kludge to handle this. 

git-svn-id: svn://svn.berlios.de/openocd/trunk@1537 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-27 09:12:18 +00:00
mlu b0d04ab6c6 Changed armv7m and cortexm3 to use nev arm_adi_v5 instead of cortex_swjdp.
Added support for accessport ROM table identification, dap command. 

git-svn-id: svn://svn.berlios.de/openocd/trunk@1536 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-27 08:29:28 +00:00
mlu 573d9a0368 Added arm_adi_v5.c/h, to replace cortex_swjdp.c/h. Better conformance to ARM Debug Interface rev 5 documentation and remoed code specific to the Cortex-M3 targets.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1535 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-27 08:21:35 +00:00
oharboe c34a854465 Philippe Vachon <philippe@cowpig.ca> 64 bit host fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@1534 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-27 05:40:52 +00:00
oharboe 70d80bba5a Zach Welch <zw@superlucidity.net> wrap _GNU_SOURCE defines
git-svn-id: svn://svn.berlios.de/openocd/trunk@1532 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-27 05:29:30 +00:00
oharboe b0acd78511 Zach Welch <zw@superlucidity.net> fix typo
git-svn-id: svn://svn.berlios.de/openocd/trunk@1531 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-26 20:05:08 +00:00
oharboe dd91692fee R.Doss <doss@gmx.de> AT91SAM9260
git-svn-id: svn://svn.berlios.de/openocd/trunk@1530 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-26 20:03:41 +00:00
oharboe 8f56912fc2 Zach Welch <zw@superlucidity.net> add TAP_SCAN_BYTES macro
git-svn-id: svn://svn.berlios.de/openocd/trunk@1529 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-26 20:02:15 +00:00
mlu 39f76220a8 Corrected statement order
git-svn-id: svn://svn.berlios.de/openocd/trunk@1528 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-25 02:53:07 +00:00
mlu 773ebb6bba Fix ft2232 TX buffer overflow
git-svn-id: svn://svn.berlios.de/openocd/trunk@1527 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-25 00:58:49 +00:00
mlu 4b9f6fcdb7 Break ft2232_execute_quie into smaller functions, follows restructure of jlink.c
git-svn-id: svn://svn.berlios.de/openocd/trunk@1526 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-25 00:54:21 +00:00
oharboe 479a65e946 add jtag_debug_state_machine
git-svn-id: svn://svn.berlios.de/openocd/trunk@1525 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-24 18:10:04 +00:00
oharboe 447a615dc3 Zach Welch <zw@superlucidity.net> add TAP_SCAN_BYTES macro (1 of 2)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1524 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-24 16:24:55 +00:00
oharboe caf214935a Zach Welch <zw@superlucidity.net> use memcpy
git-svn-id: svn://svn.berlios.de/openocd/trunk@1521 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-24 11:05:21 +00:00
oharboe fa2fcbe416 Nicolas Pitre <nico@cam.org> update SheevaPlug interface cfg file
git-svn-id: svn://svn.berlios.de/openocd/trunk@1520 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-24 06:04:40 +00:00
oharboe 666167138f Uwe Hermann <uwe@hermann-uwe.de> drop unecessary BSTAPIDs
git-svn-id: svn://svn.berlios.de/openocd/trunk@1519 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-24 06:02:02 +00:00
duane 7372da95be Remove warning
git-svn-id: svn://svn.berlios.de/openocd/trunk@1518 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-24 02:13:02 +00:00
oharboe 2fb843773b Michael Bruck <mbruck@digenius.de> include file fix
git-svn-id: svn://svn.berlios.de/openocd/trunk@1517 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-23 18:55:13 +00:00
oharboe 9b7bd65883 stm32.cfg can expect one of 4 id's.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1516 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-23 14:03:42 +00:00
oharboe 90ff84a2dd unbreak zy1000
git-svn-id: svn://svn.berlios.de/openocd/trunk@1515 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-23 13:24:56 +00:00
oharboe ee8a080cea Laurentiu Cocanu - fix typo
git-svn-id: svn://svn.berlios.de/openocd/trunk@1514 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-23 12:21:39 +00:00
ntfreak 5fbfbec86b - fix win32 build after svn 1511 changes
git-svn-id: svn://svn.berlios.de/openocd/trunk@1513 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-22 19:54:03 +00:00
oharboe 23de60e6bd Michael Bruck <mbruck@digenius.de> ARM11 various updates + fix formatting.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1512 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-22 18:39:59 +00:00
oharboe a247833a5a Michael Bruck <mbruck@digenius.de> signed/unsigned incompatibility warning
git-svn-id: svn://svn.berlios.de/openocd/trunk@1511 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-22 17:36:00 +00:00
oharboe 779c44125a Zach Welch <zw@superlucidity.net> do not pad TMS
git-svn-id: svn://svn.berlios.de/openocd/trunk@1509 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-22 13:54:04 +00:00
oharboe f6fd9bc823 Zach Welch <zw@superlucidity.net> set speed in init
git-svn-id: svn://svn.berlios.de/openocd/trunk@1508 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-22 11:37:27 +00:00
oharboe 7395ca92d4 Zach Welch <zw@superlucidity.net> fix jlink reset
git-svn-id: svn://svn.berlios.de/openocd/trunk@1507 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-22 10:59:23 +00:00
oharboe efa79144f3 Zach Welch <zw@superlucidity.net> reorder enum tap_state
git-svn-id: svn://svn.berlios.de/openocd/trunk@1506 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-22 10:46:37 +00:00
mlu f29b2da658 Fix str_to_buf problem, thanks Andy Chenee
git-svn-id: svn://svn.berlios.de/openocd/trunk@1505 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-22 10:09:15 +00:00
kc8apf 2b90372b79 Shrink JLink buffer sizes to specified 2KB courtesy of Jeff Williams <jeffw@gadgetworks.com> and Zach Welch <zw@superlucidity.net>
git-svn-id: svn://svn.berlios.de/openocd/trunk@1504 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-22 07:34:47 +00:00
kc8apf 0f3ab30087 Fix use of wrong format conversion for size_t (%zu instead of %u)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1502 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-22 07:31:16 +00:00
kc8apf d35a4b005e fix jtag run/idle state name courtesy of Jeff Williams <jeffw@gadgetworks.com> and Zach Welch <zw@superlucidity.net>
git-svn-id: svn://svn.berlios.de/openocd/trunk@1501 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-22 06:56:59 +00:00
kc8apf f13f52d303 refactor jlink_execute_queue courtesy of Zach Welch <zw@superlucidity.net>
git-svn-id: svn://svn.berlios.de/openocd/trunk@1500 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-22 06:55:34 +00:00
oharboe 5376bfd21c Uwe Hermann <uwe@hermann-uwe.de> Drop non-A variants of ft2232 targets
git-svn-id: svn://svn.berlios.de/openocd/trunk@1499 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-22 06:16:53 +00:00
oharboe 66db8e7bb4 Zach Welch <zw@superlucidity.net> refactor
git-svn-id: svn://svn.berlios.de/openocd/trunk@1498 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-21 15:39:49 +00:00
oharboe 97a5e7a608 Zach Welch <zw@superlucidity.net> fix ft2232 usb io format warning
git-svn-id: svn://svn.berlios.de/openocd/trunk@1497 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-21 12:10:29 +00:00
oharboe 16d497449a Zach Welch <zw@superlucidity.net> add --enable-verbose* options
git-svn-id: svn://svn.berlios.de/openocd/trunk@1496 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-21 12:09:35 +00:00
oharboe 5b4679618a Zach Welch <zw@superlucidity.net> add --enable-verbose* options
git-svn-id: svn://svn.berlios.de/openocd/trunk@1495 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-21 11:37:15 +00:00
oharboe 837555ab24 Nico Coesel <ncoesel@dealogic.nl> MIPS32 speedup patches
git-svn-id: svn://svn.berlios.de/openocd/trunk@1494 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-21 11:35:58 +00:00
oharboe 48d9f3bbde Zach Welch <zw@superlucidity.net> fix jlink format warning
git-svn-id: svn://svn.berlios.de/openocd/trunk@1493 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-21 11:33:29 +00:00
oharboe 2c89a1ec5f Zach Welch <zw@superlucidity.net> factor jlink usb_bulk_*_ex functions
git-svn-id: svn://svn.berlios.de/openocd/trunk@1492 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-21 09:41:41 +00:00
ntfreak e5afb14241 - vsllink update from SimonQian [simonqian@SimonQian.com]
git-svn-id: svn://svn.berlios.de/openocd/trunk@1491 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-21 09:08:43 +00:00
ntfreak dcdf71c21b - fix signed/unsigned build errors under win32. Thanks Zach Welch <zw@superlucidity.net>
git-svn-id: svn://svn.berlios.de/openocd/trunk@1489 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-21 09:02:42 +00:00
ntfreak 9997362a2a - remove environ warning under win32 build
git-svn-id: svn://svn.berlios.de/openocd/trunk@1488 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-21 08:51:07 +00:00
oharboe 09a3cc0980 Zach Welch <zw@superlucidity.net> add static keywords to at91rm9200
git-svn-id: svn://svn.berlios.de/openocd/trunk@1487 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-21 06:23:47 +00:00
oharboe 24243b2b7a Zach Welch <zw@superlucidity.net> fix unused return value warnings (2 of 4)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1486 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-21 05:42:18 +00:00
oharboe 6f7d3c9d5b Zach Welch <zw@superlucidity.net> fix at91sam7 uninitialized variable warnings
git-svn-id: svn://svn.berlios.de/openocd/trunk@1485 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-21 05:39:36 +00:00
oharboe 40b806bfe7 Zach Welch <zw@superlucidity.net> fix str9x type-punned pointer
git-svn-id: svn://svn.berlios.de/openocd/trunk@1484 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-21 05:36:53 +00:00
oharboe 5dbf973910 Zach Welch <zw@superlucidity.net>fix unused return value warnings (3 of 4)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1482 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-21 05:35:10 +00:00
oharboe 4f0bd8e8e1 Zach Welch <zw@superlucidity.net> fix -Wformat-security warnings (1 of 4)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1481 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-21 05:33:47 +00:00
oharboe 55ebb067d1 Michael Schwingen <rincewind@discworld.dascon.de> add non-CFI SST flashs
git-svn-id: svn://svn.berlios.de/openocd/trunk@1480 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-21 05:31:18 +00:00
oharboe d2d75efb39 Zach Welch <zw@superlucidity.net> use static keyword in jtag layer and drivers
git-svn-id: svn://svn.berlios.de/openocd/trunk@1479 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-21 05:29:23 +00:00
ntfreak 81f9e0a0bc - fix at91rm9200 warning. Thanks Zach Welch <zw@superlucidity.net>
- add missing svn props from previous commit

git-svn-id: svn://svn.berlios.de/openocd/trunk@1478 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-20 22:38:27 +00:00
oharboe e6b164c685 Holger Freyther <zecke@selfish.org> Attempt to fix arm7_9 breakpoint handling
git-svn-id: svn://svn.berlios.de/openocd/trunk@1477 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-20 10:52:08 +00:00
oharboe 2710aba701 Zach Welch <zw@superlucidity.net> fix ft2232/presto warnings
git-svn-id: svn://svn.berlios.de/openocd/trunk@1476 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-20 06:40:45 +00:00
oharboe c401b8dd4f Nikolay Shadrin whoney at gmail.com, Zach Welch <zw@superlucidity.net> unstable USB J-Link in OpenOCD (revised patch provided)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1475 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-19 23:30:15 +00:00
oharboe d1ab0a9698 Zach Welch <zw@superlucidity.net> use ARM4_5_MODE_ANY instead of -1
git-svn-id: svn://svn.berlios.de/openocd/trunk@1474 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-19 23:27:17 +00:00
oharboe 40580e2d71 Zach Welch <zw@superlucidity.net> fix -Werror warnings
git-svn-id: svn://svn.berlios.de/openocd/trunk@1472 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-19 20:51:16 +00:00
mifi 7989000e09 Partially fix USBprog and JLink adapters on XScale target
Thanks to Peter Denison <openwrt(at)marshadder.org> 

git-svn-id: svn://svn.berlios.de/openocd/trunk@1471 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-19 19:15:09 +00:00
mifi 486799e65b Added functionality to support jtag_khz for the jlink.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1470 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-19 14:51:51 +00:00
oharboe f1bca5898c Michael Schwingen <rincewind@discworld.dascon.de> enhanced non-CFI flash support
git-svn-id: svn://svn.berlios.de/openocd/trunk@1469 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-19 12:06:49 +00:00
oharboe 8ac5bd7030 Zach Welch <zw@superlucidity.net> add missing initializers in nand.c
git-svn-id: svn://svn.berlios.de/openocd/trunk@1468 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-19 08:18:46 +00:00
oharboe a6f953babc Zach Welch <zw@superlucidity.net> trim logic in tms470.c
git-svn-id: svn://svn.berlios.de/openocd/trunk@1467 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-19 08:18:01 +00:00
oharboe a88532bc60 Zach Welch <zw@superlucidity.net> fix signed/unsigned comparisons
git-svn-id: svn://svn.berlios.de/openocd/trunk@1466 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-19 08:16:58 +00:00
oharboe 7d6b4b42f6 Zach Welch <zw@superlucidity.net> fix warnings in usbprog
git-svn-id: svn://svn.berlios.de/openocd/trunk@1465 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-19 08:15:32 +00:00
oharboe dd6912b1e5 Zach Welch <zw@superlucidity.net> use tap_state_t
git-svn-id: svn://svn.berlios.de/openocd/trunk@1464 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-19 08:05:54 +00:00
mifi 0bba832713 The following patches was applied:
- openocd-flash-static-keyword-v3.patch
- openocd-lpc2000-fix-erase-obo.patch
- openocd-jlink-fix-sign-ptr-warn.patch
- openocd-wextra-etm.patch
- openocd-wextra-jtag.patch
- openocd-add-new-tap-symbols-v6.patch

Many thanks to  Zach Welch <zw(at)superlucidity.net>

git-svn-id: svn://svn.berlios.de/openocd/trunk@1462 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-18 10:08:13 +00:00
oharboe 13de2d2fef Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
git-svn-id: svn://svn.berlios.de/openocd/trunk@1461 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-15 15:44:26 +00:00
oharboe cfd1227e34 Piotr Esden-Tempski <piotr@esden.net> Corrected olimex_stm32_h103 board config
git-svn-id: svn://svn.berlios.de/openocd/trunk@1460 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-15 15:19:35 +00:00
oharboe c257228048 Nico Coesel <ncoesel@dealogic.nl> Chip width / bus width bug in cfi driver
git-svn-id: svn://svn.berlios.de/openocd/trunk@1459 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-15 15:17:44 +00:00
oharboe 0bc7d2c692 Freddie Chopin <freddie_chopin@op.pl> LPC2378 config file
git-svn-id: svn://svn.berlios.de/openocd/trunk@1458 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-15 15:13:36 +00:00
oharboe 1552562b3a Dick Hollenbeck <dick@softplc.com> work in progress
git-svn-id: svn://svn.berlios.de/openocd/trunk@1457 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-14 19:17:17 +00:00
mlu ba4e2c43fb Improved (for humans) error reporting for flash programming errors.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1456 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-14 17:17:38 +00:00
mlu 699d246b1c Solve problem with single stepping.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1455 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-14 16:33:52 +00:00
mlu 47a81338a5 Slight improvement in run_algorithm register restore.
More debug info for cortex swjdp errors.


git-svn-id: svn://svn.berlios.de/openocd/trunk@1453 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-03 10:10:12 +00:00
ntfreak 9646f21ad8 - add svn props from previous commit
git-svn-id: svn://svn.berlios.de/openocd/trunk@1452 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-03 08:16:47 +00:00
oharboe 3723558cbd Uwe Hermann <uwe@hermann-uwe.de> oocdlink file
git-svn-id: svn://svn.berlios.de/openocd/trunk@1451 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-03 05:36:54 +00:00
oharboe d94163afc7 Piotr Esden-Tempski <piotr@esden.net> added a board file for the Olimex STM32-H103 eval board.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1450 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-03 05:36:00 +00:00
oharboe 8813a9ec16 Freddie Chopin <freddie_chopin@op.pl> I attach a config file for LPC2103
git-svn-id: svn://svn.berlios.de/openocd/trunk@1449 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-03 05:33:42 +00:00
oharboe ffb73fe1d6 Nicolas Pitre nico at cam.org list the new flag in the "nand write" help line.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1448 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-03 05:32:28 +00:00
oharboe bf41e298c5 Nicolas Pitre nico at cam.org write ECC data when reflashing u-Boot on the SheevaPlug
git-svn-id: svn://svn.berlios.de/openocd/trunk@1447 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-02 21:24:56 +00:00
oharboe 3725fded17 Nicolas Pitre nico at cam.org The ECC data is automatically computed and written to the OOB area
when the oob_softecc option is passed to the "nand write" command.


git-svn-id: svn://svn.berlios.de/openocd/trunk@1446 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-02 21:24:08 +00:00
oharboe c3d96a3a6e Nicolas Pitre nico at cam.org software ECC computation for NAND flash
git-svn-id: svn://svn.berlios.de/openocd/trunk@1445 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-02 21:23:16 +00:00
oharboe f481deb58f Nicolas Pitre nico at cam.org software ECC computation for NAND flash
git-svn-id: svn://svn.berlios.de/openocd/trunk@1444 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-02 21:23:05 +00:00
oharboe 3f427b90e0 Nicolas Pitre nico at cam.org This at least should make the "nand info" command a little more useful.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1443 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-02 21:22:14 +00:00
oharboe 9a6c3cc87f Nicolas Pitre nico at cam.org Allocating a 6-byte memory location with malloc() is rather silly
when this can be allocated on the stack.


git-svn-id: svn://svn.berlios.de/openocd/trunk@1442 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-02 21:20:35 +00:00
oharboe 25047d4980 Uwe Hermann <uwe@hermann-uwe.de> Add missing STM32 "0x06412041, Revision A" BSTAPID to list of available ones.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1441 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-02 21:17:27 +00:00
oharboe 1262735a0c Uwe Hermann <uwe@hermann-uwe.de> URL references
git-svn-id: svn://svn.berlios.de/openocd/trunk@1439 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-02 17:44:28 +00:00
mlu c008618be9 Cortex-M3 cleanup and performance patch
git-svn-id: svn://svn.berlios.de/openocd/trunk@1438 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-02 12:16:19 +00:00
oharboe 923293928a fix keyword expansion
git-svn-id: svn://svn.berlios.de/openocd/trunk@1437 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-02 10:22:22 +00:00
oharboe 2b05549d59 zy1000 1.50 snapshot. fix problem with empty file names.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1436 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-02 10:17:36 +00:00
ntfreak 231b882022 - add missing usbprog config. patch from Uwe Hermann
https://lists.berlios.de/pipermail/openocd-development/2009-March/005145.html

git-svn-id: svn://svn.berlios.de/openocd/trunk@1435 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-30 19:52:30 +00:00
oharboe f7f37ea289 Hiroshi Ito <ito@mlb.co.jp> Linux for arm has arm generic debug option which send debug messages via
DCC channel.


git-svn-id: svn://svn.berlios.de/openocd/trunk@1432 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-24 11:27:49 +00:00
ntfreak 9d3d3297ae - update str9 and stm32 comstick configs
- add missing svn props

git-svn-id: svn://svn.berlios.de/openocd/trunk@1431 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-24 09:40:03 +00:00
oharboe 8a7a9bd17a Hiroshi Ito <ito@mlb.co.jp> disassemble Arm926ejs clz instruction
git-svn-id: svn://svn.berlios.de/openocd/trunk@1430 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-24 07:44:47 +00:00
oharboe ea4b83332e Uwe Hermann <uwe@hermann-uwe.de> Add new board configs: Olimex LPC-H2148, Keil MCB2140.
Both boards use an LPC2148, no external flash or RAM.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1429 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-24 06:24:23 +00:00
oharboe 4729bae363 Uwe Hermann <uwe@hermann-uwe.de> spelling fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@1428 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-24 06:23:00 +00:00
oharboe bda849d033 Uwe Hermann <uwe@hermann-uwe.de> eal _CPUTAPID entry for the LPC2148. I don't know
if they're the same for all LPC214x, this number is from an Olimex
LPC-H2148. The chip on that board is LPC2148FBD64.

Also fix a few cosmetic issues and comments in the file and add
more docs and pointers to the datasheet.


git-svn-id: svn://svn.berlios.de/openocd/trunk@1427 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-23 19:12:42 +00:00
oharboe 2b8aa1d058 Uwe Hermann <uwe@hermann-uwe.de> typo
git-svn-id: svn://svn.berlios.de/openocd/trunk@1425 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-23 07:38:38 +00:00
ntfreak ec0303be34 - fix another typo in str9comstick.cfg
git-svn-id: svn://svn.berlios.de/openocd/trunk@1424 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-20 14:30:41 +00:00
ntfreak 8b7cd9322a - add missing svn props from previous commit
git-svn-id: svn://svn.berlios.de/openocd/trunk@1423 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-20 14:08:03 +00:00
oharboe 1297f6750d Alan Carvalho de Assis <acassis@gmail.com> adds support to i.MX35 processor.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1421 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-20 12:32:17 +00:00
ntfreak 5af8bc1ac4 - fix incorrect str9comstick cfg
git-svn-id: svn://svn.berlios.de/openocd/trunk@1419 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-19 22:27:43 +00:00
oharboe af6d1db2fb Thomas Kindler <mail+ocd@t-kindler.de> typos
git-svn-id: svn://svn.berlios.de/openocd/trunk@1418 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-19 15:51:28 +00:00
oharboe 9f2a76e7b6 Hiroshi Ito <ito@mlb.co.jp> typos
git-svn-id: svn://svn.berlios.de/openocd/trunk@1417 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-18 11:59:31 +00:00
oharboe cf10427caa Hiroshi Ito <ito@mlb.co.jp> fix division by 0
git-svn-id: svn://svn.berlios.de/openocd/trunk@1416 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-18 11:43:09 +00:00
ntfreak c13924e32c - remove build warnings
git-svn-id: svn://svn.berlios.de/openocd/trunk@1415 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-17 10:22:26 +00:00
ntfreak ae62743a4c - fix incorrect stm32stick.cfg
git-svn-id: svn://svn.berlios.de/openocd/trunk@1414 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-17 09:48:46 +00:00
ntfreak 8ea1bc666d - fix issue with cortex_m3 reset run. Thanks Perry Hung
- https://lists.berlios.de/pipermail/openocd-development/2009-March/005028.html

git-svn-id: svn://svn.berlios.de/openocd/trunk@1413 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-16 22:42:29 +00:00
oharboe 90815705d7 Uwe Hermann <uwe@hermann-uwe.de> clean out stuff that doesn't belong in interface(telnet/gdb port).
git-svn-id: svn://svn.berlios.de/openocd/trunk@1412 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-14 18:39:05 +00:00
oharboe cbc1f23758 Uwe Hermann <uwe@hermann-uwe.de> typos
git-svn-id: svn://svn.berlios.de/openocd/trunk@1411 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-12 14:48:51 +00:00
ntfreak 96413087dc - add support for standalone rlink
https://lists.berlios.de/pipermail/openocd-development/2009-March/004965.html

git-svn-id: svn://svn.berlios.de/openocd/trunk@1410 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-11 22:42:35 +00:00
duane f593dad542 Commit OMAP3530 and TI_BEAGLEBOARD config files from Kees, Dick, Derk, and others
git-svn-id: svn://svn.berlios.de/openocd/trunk@1408 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-11 01:48:54 +00:00
duane 9833ef8580 Added -endstate to irscan and drscan to support beagleboard (omap3530)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1407 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-11 01:42:05 +00:00
duane fb59d0fa55 Commands: reg, profile, ocd_mem2array, ocd_array2mem, fast_load, etc only work *IF* there is an actual target
git-svn-id: svn://svn.berlios.de/openocd/trunk@1404 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-08 21:14:35 +00:00
duane b28d1cf0e4 Added VID/PID pair to olimex-jtag-tiny-a the non-a version already has the vid pid
git-svn-id: svn://svn.berlios.de/openocd/trunk@1403 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-08 20:29:54 +00:00
duane e211e4c6d2 Patch from Dimitar Dimitrov adding support for Olimex ARM-JTAG-EW
git-svn-id: svn://svn.berlios.de/openocd/trunk@1402 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-08 15:14:18 +00:00
duane 0a85c3426b Accept/create both A and Non-A ft2232 based descriptions
git-svn-id: svn://svn.berlios.de/openocd/trunk@1401 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-07 15:51:26 +00:00
duane 7a731eb637 Added HostOS variable
git-svn-id: svn://svn.berlios.de/openocd/trunk@1400 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-07 15:19:21 +00:00
oharboe 0f3c9f8f06 Audrius Urmanavičius <didele.deze@gmail.com> cleanup flash fill
git-svn-id: svn://svn.berlios.de/openocd/trunk@1399 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-05 07:41:04 +00:00
oharboe 86c0f4cafc Nicolas Pitre <nico@cam.org> fix "halt 0" to only halt and not to poll/wait afterwards. This follows the intention in the docs.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1398 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-05 06:55:35 +00:00
oharboe a8bd749d4e Nicolas Pitre <nico@cam.org> making reset+halt on the
SheevaPlug 100% reliable (needs patch in target.c to fix "halt 0").

git-svn-id: svn://svn.berlios.de/openocd/trunk@1397 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-04 21:28:50 +00:00
oharboe 8d772cad7a test code for elf parsing.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1396 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-03 12:05:49 +00:00
ntfreak 2f184a5008 - add missing svn props from previous commit
git-svn-id: svn://svn.berlios.de/openocd/trunk@1395 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-02 12:51:42 +00:00
oharboe 623100d59d Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> Cosmetic OpenOCD patch for Flyswatter
git-svn-id: svn://svn.berlios.de/openocd/trunk@1394 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-01 21:07:44 +00:00
oharboe 260daf9d59 Kees Jongenburger <kees.jongenburger@gmail.com> rename description field of the jtag-tiny.cfg
git-svn-id: svn://svn.berlios.de/openocd/trunk@1393 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-01 21:06:06 +00:00
oharboe 6853abeb90 Nicolas Pitre nico at cam.org fix feroceon_bulk_write_memory() wrt uploaded code
git-svn-id: svn://svn.berlios.de/openocd/trunk@1392 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-01 21:04:00 +00:00
oharboe 9f1ba4b34b Nicolas Pitre nico at cam.org SheevaPlug board configuration
git-svn-id: svn://svn.berlios.de/openocd/trunk@1391 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-01 21:02:13 +00:00
oharboe 3822831792 Nicolas Pitre nico at cam.org add ft2232 layout for the Marvell SheevaPlug
git-svn-id: svn://svn.berlios.de/openocd/trunk@1390 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-01 21:01:11 +00:00
oharboe f8c97a5d2e Nicolas Pitre nico at cam.org add Feroceon target config file
git-svn-id: svn://svn.berlios.de/openocd/trunk@1389 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-01 21:00:07 +00:00
oharboe 19ce96746d Nicolas Pitre nico at cam.org support for NAND flash used with Marvell Orion and Kirkwood SOCs
git-svn-id: svn://svn.berlios.de/openocd/trunk@1388 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-01 20:59:06 +00:00
oharboe 10edfff05a Nicolas Pitre nico at cam.org support for NAND controllers without explicit busy signal
git-svn-id: svn://svn.berlios.de/openocd/trunk@1387 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-01 20:57:34 +00:00
oharboe 2e8f1911d6 Nicolas Pitre nico at cam.org don't ignore bad options passed to the "nand write" command
git-svn-id: svn://svn.berlios.de/openocd/trunk@1386 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-01 20:56:18 +00:00
oharboe 857e9cb076 Nicolas Pitre nico at cam.org The code unconditionally writes into the oob area all the time.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1385 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-01 20:54:22 +00:00
oharboe 630af1be56 Nicolas Pitre nico at cam.org spelling
git-svn-id: svn://svn.berlios.de/openocd/trunk@1384 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-03-01 20:53:17 +00:00
ntfreak 58f4bd4a3c - stm32x flash driver - add support for stm32105/107 (connectivity line)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1383 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-02-26 10:06:00 +00:00
oharboe 39d80bad9b tinkered a bit with performance for Cortex flash programming. Mainly make it easier to profile as a start.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1380 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-02-23 21:26:11 +00:00
oharboe ba9d608df3 Sergey Lapin <slapinid@gmail.com> fix typo
git-svn-id: svn://svn.berlios.de/openocd/trunk@1379 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-02-23 06:30:15 +00:00
oharboe bde750291a John Woods <johnrw@gmail.com> fix newtap gaffe + rename
git-svn-id: svn://svn.berlios.de/openocd/trunk@1378 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-02-22 17:01:16 +00:00
oharboe bb0d7ab12a John Woods <johnrw@gmail.com> fix checks for addresses at upper end of the universe
git-svn-id: svn://svn.berlios.de/openocd/trunk@1377 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-02-19 18:52:46 +00:00
oharboe b7593457bc Holger Schurig <hs4233@mail.mn-solutions.de> fix warnings
git-svn-id: svn://svn.berlios.de/openocd/trunk@1375 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-02-18 07:39:20 +00:00
oharboe 2136238908 zy1000 1.49 snapshot
git-svn-id: svn://svn.berlios.de/openocd/trunk@1374 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-02-17 11:54:30 +00:00
oharboe 3fb2c6a6dd zy1000 1.49 snapshot
git-svn-id: svn://svn.berlios.de/openocd/trunk@1373 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-02-17 09:28:39 +00:00
ntfreak ca8c6cf430 - guess-rev.sh now works as expected when build_dir is not the same as src_dir
git-svn-id: svn://svn.berlios.de/openocd/trunk@1372 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-02-13 09:56:51 +00:00
ntfreak 2e160c6bad - issue warning when flash image exceeds configured flash size.
- see https://lists.berlios.de/pipermail/openocd-development/2009-February/004680.html

git-svn-id: svn://svn.berlios.de/openocd/trunk@1371 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-02-12 15:35:03 +00:00
kc8apf e77ae9096a Use C89/C99/C++ compliant boolean types
git-svn-id: svn://svn.berlios.de/openocd/trunk@1370 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-02-10 18:21:17 +00:00
kc8apf 725749de20 A few more usages of TRUE and FALSE to remove
git-svn-id: svn://svn.berlios.de/openocd/trunk@1369 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-02-10 16:11:07 +00:00
ntfreak 5a90a66aa3 - fix native win32 build issues
git-svn-id: svn://svn.berlios.de/openocd/trunk@1368 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-02-09 14:47:34 +00:00
oharboe 6d06c893d1 Andi <opencode@gmx.net> - better dram setup
git-svn-id: svn://svn.berlios.de/openocd/trunk@1367 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-02-09 10:01:09 +00:00
kc8apf ab9dfffdb5 - Cable driver helper API courtesy of Dick Hollenbeck <dick@softplc.com>
- Formatting changes from uncrustify


git-svn-id: svn://svn.berlios.de/openocd/trunk@1366 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-02-03 05:59:17 +00:00
oharboe ce1a29725f chain position is now required when creating a target
git-svn-id: svn://svn.berlios.de/openocd/trunk@1363 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-28 13:08:06 +00:00
kc8apf d5209daeb1 xvsf player fixes by Dick Hollenbeck <dick@softplc.com>
git-svn-id: svn://svn.berlios.de/openocd/trunk@1360 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-23 07:10:11 +00:00
kc8apf 6f612fb959 Fixes for svf player by Simon Qian <simonqian@SimonQian.com>
git-svn-id: svn://svn.berlios.de/openocd/trunk@1359 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-23 07:08:18 +00:00
kc8apf a79adf1383 Search path fixes for MinGW builds. Courtesy of Dimitar Dimitrov <dinuxbg@gmail.com>
git-svn-id: svn://svn.berlios.de/openocd/trunk@1358 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-23 07:07:02 +00:00
kc8apf 44a7b25487 vsllink support for stable clocks by Simon Qian <simonqian@SimonQian.com>
git-svn-id: svn://svn.berlios.de/openocd/trunk@1356 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-23 07:02:47 +00:00
kc8apf 99100ce2a4 Fix for incorrect filename in include for at91sam9260 in unknown-board-atmel-at91sam9260.cfg
git-svn-id: svn://svn.berlios.de/openocd/trunk@1353 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-20 16:07:10 +00:00
kc8apf 48c8589513 AT91SAM9260 and Olimex changes by Dean Glazeski <dnglaze@gmail.com>
git-svn-id: svn://svn.berlios.de/openocd/trunk@1350 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-20 04:29:46 +00:00
kc8apf 967bac332f Add axm0432 interface config courtesy of Alan Carvalho de Assis <acassis@gmail.com>
git-svn-id: svn://svn.berlios.de/openocd/trunk@1349 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-20 04:14:00 +00:00
kc8apf 15b4be1c9c Fixes for handling release versions
git-svn-id: svn://svn.berlios.de/openocd/trunk@1347 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-20 04:03:31 +00:00
kc8apf 93180753be Fix 'make maintainer-clean' courtesy of Zach Welch <zw@superlucidity.net>
git-svn-id: svn://svn.berlios.de/openocd/trunk@1345 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-20 03:55:38 +00:00
kc8apf 8f513f039a Fix support for ADuC702x flash. Courtesy of Michael Ashton <data@gtf.org>
git-svn-id: svn://svn.berlios.de/openocd/trunk@1343 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-20 03:49:31 +00:00
kc8apf 07749dbdec imx21 config provided by Alan Carvalho de Assis <acassis@gmail.com>
git-svn-id: svn://svn.berlios.de/openocd/trunk@1342 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-20 03:42:24 +00:00
ntfreak 0bcbff348b - remove unused includes, fixes build issues under FreeBSD
git-svn-id: svn://svn.berlios.de/openocd/trunk@1341 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-19 19:54:44 +00:00
ntfreak ae76a671b5 - revert guess-rev.sh to using bash
- remove generated files from svn

git-svn-id: svn://svn.berlios.de/openocd/trunk@1340 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-19 09:41:59 +00:00
kc8apf c8bc0bb1ae SVF player courtesy of Simon Qian <simonqian@SimonQian.com>
git-svn-id: svn://svn.berlios.de/openocd/trunk@1339 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-19 07:13:02 +00:00
kc8apf 2aed5dd40b Fix handling of thumb disassembly in armv4_5 disassemble. Courtesy of Adam Dybkowski <adybkows@wp.pl>
git-svn-id: svn://svn.berlios.de/openocd/trunk@1338 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-19 07:08:28 +00:00
ntfreak a021735db4 - add missing bitq and rlink files to distribution
git-svn-id: svn://svn.berlios.de/openocd/trunk@1331 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-16 10:48:55 +00:00
kc8apf 8f111ee313 Fix distcheck failure
git-svn-id: svn://svn.berlios.de/openocd/trunk@1329 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-16 07:31:55 +00:00
ntfreak cb3f970b6c - add missing svn props from 1323 commit
git-svn-id: svn://svn.berlios.de/openocd/trunk@1324 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-15 20:58:17 +00:00
oharboe 8fc9bcb7f5 Alan Carvalho de Assis <acassis@gmail.com> imx31pdk.cfg reset init event
git-svn-id: svn://svn.berlios.de/openocd/trunk@1322 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-15 13:09:20 +00:00
ntfreak 9094500ba6 - add missing svn props and fix incorrect line endings from last commit
git-svn-id: svn://svn.berlios.de/openocd/trunk@1321 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-14 21:26:47 +00:00
oharboe bea9789cc6 Alan Carvalho de Assis <acassis@gmail.com> cfg file to initialize the iMX27ADS board.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1318 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-14 18:41:09 +00:00
oharboe c01e095d03 arm11 wip
git-svn-id: svn://svn.berlios.de/openocd/trunk@1317 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-14 15:25:45 +00:00
oharboe 882a271205 Alan Carvalho de Assis <acassis@gmail.com> small fix to move us in the right direction.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1316 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-14 14:10:36 +00:00
ntfreak 75f078b392 - fix mips issues with newer versions of gdb
- we simply add more dummy registers

git-svn-id: svn://svn.berlios.de/openocd/trunk@1314 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-13 13:45:08 +00:00
ntfreak 6fda870766 - added mips software breakpoint support
- 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
2009-01-13 11:33:19 +00:00
oharboe 1af16acdd2 wip
git-svn-id: svn://svn.berlios.de/openocd/trunk@1312 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-09 13:04:37 +00:00
oharboe 59ff8d24d8 moved ioutil init to the right spot: before config scripts
git-svn-id: svn://svn.berlios.de/openocd/trunk@1311 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-09 11:44:01 +00:00
oharboe 5bbf2ae519 allow issuing reset_config on the fly. Faster turnaround times in testing.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1310 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-09 11:43:15 +00:00
oharboe 42532ddeaa fixed warnings + added zy1000 jtag_add_clocks support.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1309 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-09 10:12:43 +00:00
oharboe 9324e6280e Dick Hollenbeck <dick@softplc.com> adds jtag_add_clocks() and implements 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
2009-01-09 07:42:45 +00:00
ntfreak 6935e703c0 - add missing svn props from r1299 commit
git-svn-id: svn://svn.berlios.de/openocd/trunk@1302 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-05 13:45:16 +00:00
oharboe a8e12a95fa John McCarthy <jgmcc@magma.ca> pic32mx flash fixups and speedups
git-svn-id: svn://svn.berlios.de/openocd/trunk@1301 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-05 09:32:23 +00:00
oharboe 22421a9657 John McCarthy <jgmcc@magma.ca> formatting fix of debug output
git-svn-id: svn://svn.berlios.de/openocd/trunk@1300 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-05 09:26:25 +00:00
oharboe b25574e16a Andi <opencode@gmx.net> basic support for the MIPS based SMP8634 SoC.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1299 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-05 09:25:23 +00:00
oharboe 9e34b16b74 eol-style native
git-svn-id: svn://svn.berlios.de/openocd/trunk@1298 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-04 08:51:48 +00:00
oharboe a31e738fda eol-style native
git-svn-id: svn://svn.berlios.de/openocd/trunk@1297 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-03 08:56:52 +00:00
oharboe ad751bb7a4 John McCarthy <jgmcc@magma.ca> pic32mx flash wip
git-svn-id: svn://svn.berlios.de/openocd/trunk@1296 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-02 23:58:16 +00:00
oharboe 9d75343e45 John McCarthy <jgmcc@magma.ca> keep_alive() fix
git-svn-id: svn://svn.berlios.de/openocd/trunk@1295 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-02 23:52:46 +00:00
ntfreak ab87627c5c - add gdb pipe support to native win32 (--pipe option)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1294 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-01 16:06:46 +00:00
oharboe f4d82deb36 Uwe Hermann <uwe@hermann-uwe.de> One of them is fixing a few compiler warnings (see attached patch) and
likely also one (non-cosmetic) bug (the 'id_buff' change, which seems to
be a buffer overflow).

git-svn-id: svn://svn.berlios.de/openocd/trunk@1293 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-28 21:40:39 +00:00
duane 38e51eb4fb Updates from SimonQian
git-svn-id: svn://svn.berlios.de/openocd/trunk@1291 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-28 01:08:56 +00:00
duane dd2d2ad767 Warnings cleanup ... finish up earlier commit
git-svn-id: svn://svn.berlios.de/openocd/trunk@1289 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-27 22:43:56 +00:00
duane 8939333f51 Missed the svn add on earlier commit, duh
git-svn-id: svn://svn.berlios.de/openocd/trunk@1288 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-27 22:40:51 +00:00
duane cd05476e6d Tweaks - old crusty code with some warnings & errors - minor stuff
git-svn-id: svn://svn.berlios.de/openocd/trunk@1287 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-27 22:35:35 +00:00
duane 274b3a56ef From Lou.openocd012@fixit.nospammail.net
git-svn-id: svn://svn.berlios.de/openocd/trunk@1282 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-27 03:13:50 +00:00
duane 45e44118a8 Quoteify the FT2232 description list, and a missed fix from Dirk Behme about jtag tapisenabled
git-svn-id: svn://svn.berlios.de/openocd/trunk@1281 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-27 03:07:32 +00:00
duane 21eff7095c Added dongle VSLLINK - from Simon Qian
git-svn-id: svn://svn.berlios.de/openocd/trunk@1280 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-27 02:56:55 +00:00
duane 9b2e467545 Warning removal from lou.openocd012@fixit.nospammail.net
git-svn-id: svn://svn.berlios.de/openocd/trunk@1279 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-27 02:21:38 +00:00
duane f7274784a2 Build Permutations with ftd2xx and libftdi addressed. Also added a new se of regression makefiles to build openocd in multiple ways
git-svn-id: svn://svn.berlios.de/openocd/trunk@1275 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-27 01:15:50 +00:00
duane 437a981878 Typos found by miceal catudal
git-svn-id: svn://svn.berlios.de/openocd/trunk@1274 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-24 23:22:22 +00:00
ntfreak ec7a984b42 - add missing svn props from r1270 commit
- change mime-type for png files to image/png

git-svn-id: svn://svn.berlios.de/openocd/trunk@1273 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-23 12:52:14 +00:00
oharboe fb86d0e76d httpd wip
git-svn-id: svn://svn.berlios.de/openocd/trunk@1272 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-23 08:52:02 +00:00
oharboe 6e1184dcff httpd wip
git-svn-id: svn://svn.berlios.de/openocd/trunk@1271 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-22 15:24:35 +00:00
oharboe e7485b930a httpd wip
git-svn-id: svn://svn.berlios.de/openocd/trunk@1269 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-22 15:10:18 +00:00
oharboe 6d3c1cd972 httpd wip
git-svn-id: svn://svn.berlios.de/openocd/trunk@1268 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-22 15:02:09 +00:00
oharboe ee94947ffe cygwin fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@1266 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-22 10:28:11 +00:00
oharboe 99fe9c819c bumped a LOG_INFO to LOG_DEBUG level to reduce excessive output for normal execution
git-svn-id: svn://svn.berlios.de/openocd/trunk@1265 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-22 10:27:53 +00:00
oharboe 3805e53fd8 Dick Hollenbeck <dick@softplc.com> better logging
git-svn-id: svn://svn.berlios.de/openocd/trunk@1264 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-19 19:45:01 +00:00
oharboe 46c1cb25a9 Dick Hollenbeck <dick@softplc.com> - This patch adds JTAG state tracking to dummy.c
git-svn-id: svn://svn.berlios.de/openocd/trunk@1263 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-19 19:41:58 +00:00
oharboe ca805a472c Dick Hollenbeck <dick@softplc.com> better logging
git-svn-id: svn://svn.berlios.de/openocd/trunk@1262 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-19 19:40:38 +00:00
oharboe 865c5dcc2a Dick Hollenbeck <dick@softplc.com> better comments
git-svn-id: svn://svn.berlios.de/openocd/trunk@1261 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-19 14:48:00 +00:00
ntfreak 9d1f95e01a - fix rlink build under native win32 (mingw)
- remove rlink build warnings
- add usb_set_configuration to rlink_init, win32 requires this
- add win32 ETIMEDOUT define

git-svn-id: svn://svn.berlios.de/openocd/trunk@1260 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-19 13:58:15 +00:00
oharboe e2c2b2d926 Dick Hollenbeck <dick@softplc.com> convert macros to inline fn's.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1259 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-19 06:49:34 +00:00
kc8apf 063f4c182c - rlink interface support from Lou Deluxe <lou.openocd012@fixit.nospammail.net>
git-svn-id: svn://svn.berlios.de/openocd/trunk@1258 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-19 04:25:22 +00:00
oharboe e873a6d27c check syntax for init/version
git-svn-id: svn://svn.berlios.de/openocd/trunk@1257 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-17 14:55:12 +00:00
oharboe 3160f4a48d more houskeeping
git-svn-id: svn://svn.berlios.de/openocd/trunk@1256 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-17 14:07:03 +00:00
oharboe bb56339761 houskeeping
git-svn-id: svn://svn.berlios.de/openocd/trunk@1255 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-17 13:39:40 +00:00
oharboe ff2cb7714f fixed gaffe in post handling
git-svn-id: svn://svn.berlios.de/openocd/trunk@1254 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-17 12:50:07 +00:00
oharboe 0fc19255c3 work in progress to hook up libmicrohttpd + tcl integration
git-svn-id: svn://svn.berlios.de/openocd/trunk@1251 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-16 22:20:10 +00:00
oharboe 439a187ea1 sync up to latest jim tcl
git-svn-id: svn://svn.berlios.de/openocd/trunk@1250 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-16 21:10:06 +00:00
oharboe f34248eb05 jtag_khz simulation
git-svn-id: svn://svn.berlios.de/openocd/trunk@1248 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-16 11:49:14 +00:00
oharboe 2a781c0346 allow setting/reading gdb_port at any time
git-svn-id: svn://svn.berlios.de/openocd/trunk@1247 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-16 10:55:08 +00:00
oharboe 498c87bf02 fix broken -c/f options where it would silently terminate for scripts that did not set the return value.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1246 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-16 10:22:24 +00:00
ntfreak 0748b5ad4c - add missing svn props from r1243 commit
git-svn-id: svn://svn.berlios.de/openocd/trunk@1245 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-15 16:10:18 +00:00
oharboe a98e1094a0 sync up to tap_xxx rename + add with-ioutil for standalone openocd implemetnations
git-svn-id: svn://svn.berlios.de/openocd/trunk@1243 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-15 11:32:22 +00:00
ntfreak 47d0449347 - add ability for openocd to communicate to gdb using pipes (stdin/stdout).
- this is enabled by new command line option option --pipe.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1242 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-15 09:43:26 +00:00
oharboe 459d03e3bb fast_load profiling tool moved to target.c
git-svn-id: svn://svn.berlios.de/openocd/trunk@1241 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-15 09:05:16 +00:00
kc8apf 508ed7a7c6 - Update tap_state_strings to correspond to SVF state names
- 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
2008-12-14 20:33:01 +00:00
duane 4238dd5053 Updates and fixes from Kees Jongenburger
git-svn-id: svn://svn.berlios.de/openocd/trunk@1239 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-13 13:11:15 +00:00
ntfreak 0cba0d4df3 - remove target specific variant and use target->variant member
- 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
2008-12-13 12:44:39 +00:00
kc8apf 846a2589a4 Add JTAG tap events for enable/disable
git-svn-id: svn://svn.berlios.de/openocd/trunk@1237 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-13 07:05:38 +00:00
kc8apf bcde5b3830 Clean up references to old tap_state names
git-svn-id: svn://svn.berlios.de/openocd/trunk@1235 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-13 06:59:24 +00:00
kc8apf c45de8073d Change tap_state naming to be consistent with SVF documentation.
Courtesy of Dick Hollenbeck <dick@softplc.com>


git-svn-id: svn://svn.berlios.de/openocd/trunk@1232 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-13 06:25:50 +00:00
ntfreak 6c27550f6e - check cortex_m3 FPB is enabled when setting hardware breakpoint
- Thanks Igor Skochinsky

git-svn-id: svn://svn.berlios.de/openocd/trunk@1231 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-12 22:14:21 +00:00
kc8apf d44c70a4b0 Allow -expected-id to be specified multiple times when creating a jtag tap
git-svn-id: svn://svn.berlios.de/openocd/trunk@1229 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-12 00:21:07 +00:00
ntfreak d6ed10a002 - added Axiom AXM-0432 to texi
- updated missing jtag dongle url's in texi
- reformat and remove whitespace from last commit

git-svn-id: svn://svn.berlios.de/openocd/trunk@1227 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-11 23:22:16 +00:00
kc8apf 9e67c0e423 AXM0432 layout for FDTI provided by Alan Carvalho de Assis (Freescale)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1226 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-11 19:03:17 +00:00
ntfreak a53c304319 - typo with flash bank help command
- typo with flash erase_sector in texi

git-svn-id: svn://svn.berlios.de/openocd/trunk@1225 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-11 15:53:45 +00:00
ntfreak 00b3eb5fed - fix illegal memory access in unregister_command function
git-svn-id: svn://svn.berlios.de/openocd/trunk@1224 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-10 17:47:16 +00:00
duane 40042df09d More fixes thanks to Kees Jongenburger
git-svn-id: svn://svn.berlios.de/openocd/trunk@1223 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-10 11:44:45 +00:00
duane fd336fac41 Fix from Kees Jongenburger (Part Duex)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1222 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-10 01:18:10 +00:00
duane 38bf6a103e Fix from Kees Jongenburger
git-svn-id: svn://svn.berlios.de/openocd/trunk@1221 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-10 01:15:27 +00:00
duane 39070c2994 Typos in config files found by Sergey Lapin
git-svn-id: svn://svn.berlios.de/openocd/trunk@1220 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-08 11:23:04 +00:00
oharboe d571e92aba Karl Beldan <karl.beldan@gmail.com> - The ibcr count for hw instruction breakpoint registers was decremented
with soft breakpoints and breakpoint length error.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1215 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-05 17:37:23 +00:00
oharboe dacf9095fb zy1000 1.48 snapshot
git-svn-id: svn://svn.berlios.de/openocd/trunk@1213 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-04 14:25:05 +00:00
oharboe 270f9aa021 Karl Beldan <karl.beldan@gmail.com> - fix vector_catch command
git-svn-id: svn://svn.berlios.de/openocd/trunk@1212 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-04 11:03:15 +00:00
oharboe 4231053a60 delete obsolete code
git-svn-id: svn://svn.berlios.de/openocd/trunk@1211 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-04 09:35:00 +00:00
duane 9689fa4802 Fix for Hiroshi Ito discovery of mis-aligned memory allocation
git-svn-id: svn://svn.berlios.de/openocd/trunk@1205 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-04 01:15:13 +00:00
ntfreak 051dcd9127 - str9xpec driver now working with new jtag tap config
git-svn-id: svn://svn.berlios.de/openocd/trunk@1204 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-03 17:38:37 +00:00
ntfreak 9ef76992b6 - incorrect str9 irmask used in config files
git-svn-id: svn://svn.berlios.de/openocd/trunk@1203 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-03 16:38:52 +00:00
ntfreak 855bd0ab62 - cleanup target config scripts
git-svn-id: svn://svn.berlios.de/openocd/trunk@1202 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-03 12:02:46 +00:00
oharboe 23aa223ec4 Hiroshi Ito <ito@mlb.co.jp> fixes to ep93xx.c
git-svn-id: svn://svn.berlios.de/openocd/trunk@1200 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-02 06:58:46 +00:00
oharboe b1cf5423ef "Theodore A. Roth" <taroth@gmail.com> fixes to distcheck
git-svn-id: svn://svn.berlios.de/openocd/trunk@1199 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-01 19:55:55 +00:00
ntfreak 503bb08f99 - fix incorrect svn props from last commit
git-svn-id: svn://svn.berlios.de/openocd/trunk@1198 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-01 15:52:56 +00:00
oharboe 1006986ab1 update zy1000 to svn head jtag api
git-svn-id: svn://svn.berlios.de/openocd/trunk@1197 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-01 14:21:24 +00:00
oharboe b8db7aa18b correct CPU ID
git-svn-id: svn://svn.berlios.de/openocd/trunk@1196 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-01 13:20:59 +00:00
oharboe 6e2dbdc3f7 wip
git-svn-id: svn://svn.berlios.de/openocd/trunk@1195 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-01 12:55:07 +00:00
duane a28eaa85f7 jtag newtap change & huge manual update
git-svn-id: svn://svn.berlios.de/openocd/trunk@1194 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-30 22:25:43 +00:00
ntfreak 27ad4524af - change mips registers to std names
git-svn-id: svn://svn.berlios.de/openocd/trunk@1192 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-28 16:51:23 +00:00
ntfreak b992f7ba10 - fix issue with luminary flash driver and tail bytes
git-svn-id: svn://svn.berlios.de/openocd/trunk@1191 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-27 17:19:12 +00:00
oharboe 3a636951eb Rick Altherr <kc8apf@kc8apf.net> retire obsolete syntax
git-svn-id: svn://svn.berlios.de/openocd/trunk@1190 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-27 14:58:49 +00:00
ntfreak ab28153685 - stm32x flash driver: add support for low density devices
git-svn-id: svn://svn.berlios.de/openocd/trunk@1189 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-27 12:14:46 +00:00
oharboe d03e5d0ada Carlos Antunes <cmantunes@nowthor.com> fixes to get script to work.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1188 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-27 07:00:56 +00:00
ntfreak 271bb81d6d - fixes segfault using the targets cmd if multiple targets defined
git-svn-id: svn://svn.berlios.de/openocd/trunk@1187 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-26 16:43:01 +00:00
ntfreak 9a7bbada94 - correct corrupt target configs
git-svn-id: svn://svn.berlios.de/openocd/trunk@1186 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-26 16:00:47 +00:00
oharboe 6e2e706d7e friendlier error messages
git-svn-id: svn://svn.berlios.de/openocd/trunk@1185 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-26 13:42:02 +00:00
oharboe 7765c63649 wip
git-svn-id: svn://svn.berlios.de/openocd/trunk@1184 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-26 13:31:26 +00:00
ntfreak 6d49edef7d - add new cortex_m3 maskisr cmd
git-svn-id: svn://svn.berlios.de/openocd/trunk@1181 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-21 14:27:47 +00:00
ntfreak b7d80ac0ab - fix issue with gdb_target_to_reg missing second byte
git-svn-id: svn://svn.berlios.de/openocd/trunk@1180 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-20 12:01:46 +00:00
ntfreak e507bfddb0 - preserve cortex_m3 C_MASKINTS during resume/step
git-svn-id: svn://svn.berlios.de/openocd/trunk@1179 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-20 11:17:47 +00:00
ntfreak cca10e6534 - fox small typo in handle_irscan_command
git-svn-id: svn://svn.berlios.de/openocd/trunk@1178 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-20 10:11:09 +00:00
oharboe e3462b228c jtag_get_device() now returns NULL and reports error instead of invoking exit()
git-svn-id: svn://svn.berlios.de/openocd/trunk@1176 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-19 08:22:47 +00:00
oharboe cb434c21af error checking - no reported errors, but catched a couple of exit()'s and converted them to errors.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1175 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-19 07:32:30 +00:00
oharboe 6c15861bd8 big endian fix for GDB. Probably fixes a memory corruption(not reported) as well.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1174 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-18 19:26:07 +00:00
ntfreak 5711203e20 - add support for hardware breakpoints to mips32 target
git-svn-id: svn://svn.berlios.de/openocd/trunk@1173 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-17 17:56:44 +00:00
ntfreak 76b3c6ece6 - stops multiple calls to examine from allocating the breakpoint arrays
git-svn-id: svn://svn.berlios.de/openocd/trunk@1171 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-14 10:48:17 +00:00
ntfreak c0787b6994 - correct the register hi/lo read - wrong way round
- all the register now can be written to, including the special CP0 regs.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1169 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-13 21:40:26 +00:00
oharboe 368daf44ff big endian software breakpoint bogus error messages fixed
git-svn-id: svn://svn.berlios.de/openocd/trunk@1167 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-13 15:25:03 +00:00
oharboe c6fe02930c krzysztof.dziuba Gazeta.pl <krzysztof.dziuba@gazeta.pl> - to add support for flashing of TMS470R1A384
git-svn-id: svn://svn.berlios.de/openocd/trunk@1166 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-13 08:09:40 +00:00
oharboe 1297aafb40 nios wip
git-svn-id: svn://svn.berlios.de/openocd/trunk@1165 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-13 08:03:15 +00:00
ntfreak 4b7e7eef3e - fix crash when variant for mips32 target not given
git-svn-id: svn://svn.berlios.de/openocd/trunk@1160 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-12 15:16:15 +00:00
ntfreak 8f2c1659cf - slight mips32 cleanup/reformat
- add missing svn props

git-svn-id: svn://svn.berlios.de/openocd/trunk@1159 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-12 14:53:19 +00:00
oharboe ded28546f8 Fixes (more or less) random SEGFAULT upon invoking script_command().
git-svn-id: svn://svn.berlios.de/openocd/trunk@1156 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-11 14:47:01 +00:00
oharboe 1360ae4487 sense srst
git-svn-id: svn://svn.berlios.de/openocd/trunk@1154 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-11 12:09:35 +00:00
oharboe 6707cf5b9a broadcast mac address in UDP hello message
git-svn-id: svn://svn.berlios.de/openocd/trunk@1152 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-10 10:58:20 +00:00
oharboe 3de3de0b37 execute reset init upon power restore / srst deassert
git-svn-id: svn://svn.berlios.de/openocd/trunk@1150 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-10 10:16:13 +00:00
oharboe 0bbe570882 minor cleanup
git-svn-id: svn://svn.berlios.de/openocd/trunk@1149 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-10 08:33:03 +00:00
oharboe d30b94d8df terminal forwarding available from GUI
git-svn-id: svn://svn.berlios.de/openocd/trunk@1148 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-09 20:36:53 +00:00
oharboe 2ded1b60e6 ocd_flash_banks now returns empty list when no flash banks are configured instead of failing. Allows more orthogonal implementations of tcl code.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1147 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-07 09:36:55 +00:00
oharboe 26095d6612 zy1000 1.47
git-svn-id: svn://svn.berlios.de/openocd/trunk@1145 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-07 09:19:06 +00:00
oharboe 05b3f94d72 ocd_flash_banks now returns empty list when no flash banks are configured instead of failing. Allows more orthogonal implementations of tcl code.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1144 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-07 09:05:12 +00:00
oharboe 21e25ea7ba typos
git-svn-id: svn://svn.berlios.de/openocd/trunk@1143 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-07 07:06:35 +00:00
ntfreak 5aa7985bc7 - remove build warnings
- added svn props for newly added files


git-svn-id: svn://svn.berlios.de/openocd/trunk@1142 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-06 21:59:35 +00:00
oharboe dddb561d25 added device discovery
git-svn-id: svn://svn.berlios.de/openocd/trunk@1141 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-06 11:05:19 +00:00
oharboe e9f2ecee6e s3c6410 chip
git-svn-id: svn://svn.berlios.de/openocd/trunk@1140 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-06 07:37:23 +00:00
oharboe 0e0d887cd6 MOE=0xc debug reason reset problems.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1139 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-05 14:36:59 +00:00
oharboe d4c1e82d8c 926ejs target uses rclk. Cleaned up jtag_khz output a bit.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1138 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-05 13:09:49 +00:00
oharboe 5be71c25ea zy1000 1.46
git-svn-id: svn://svn.berlios.de/openocd/trunk@1137 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-05 10:48:40 +00:00
oharboe 3dd0884989 wip
git-svn-id: svn://svn.berlios.de/openocd/trunk@1136 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-05 09:06:34 +00:00
oharboe 71c7306885 fix telnet async messages. retired telnet_async command - no user serviceable parts inside.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1135 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-05 08:48:50 +00:00
oharboe bbafcb3758 disable continous polling while srst is asserted and power dropout is detected
git-svn-id: svn://svn.berlios.de/openocd/trunk@1134 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-05 07:45:31 +00:00
oharboe 56a1fed309 arm7_9_execute_sys_speed error propagation. Found by code inspection, no observed problems as such.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1132 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-04 17:31:23 +00:00
oharboe c7e9d09e96 cpu help command wip
git-svn-id: svn://svn.berlios.de/openocd/trunk@1131 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-04 11:08:19 +00:00
oharboe fbbf6640ae Rick Alterr - The attached patch makes the target syntax parsing much more robust and makes the variant optional again.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1129 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-04 08:02:06 +00:00
ntfreak f809ee6935 - fix issue with jlink/libusb timeout under linux
- add missing svn props

git-svn-id: svn://svn.berlios.de/openocd/trunk@1128 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-03 14:27:57 +00:00
oharboe 8a7464df2d Peter Hettkamp <peter.hettkamp@htp-tel.de> fix some problems with xsvf. Still doesn't work.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1127 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-03 13:30:43 +00:00
oharboe 199ebae564 Rick Altherr <kc8apf@kc8apf.net> - fix warnings
git-svn-id: svn://svn.berlios.de/openocd/trunk@1126 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-03 07:22:14 +00:00
oharboe 9f58ef3a58 more error handling and removed force breakpoints as that is handled by a more generic gdb command
git-svn-id: svn://svn.berlios.de/openocd/trunk@1125 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-02 21:21:01 +00:00
oharboe e3eff88550 invoke target_create() once
git-svn-id: svn://svn.berlios.de/openocd/trunk@1124 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-02 21:16:41 +00:00
oharboe 7b78e59192 step command now propagates error
git-svn-id: svn://svn.berlios.de/openocd/trunk@1123 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-02 20:55:07 +00:00
oharboe d0b1e6ebaa Alan Carvalho de Assis <acassis@gmail.com> imx27 config file
git-svn-id: svn://svn.berlios.de/openocd/trunk@1122 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-02 18:59:31 +00:00
oharboe 4631fb2dc7 Øyvind Harboe and Rick Altherr <kc8apf@kc8apf.net> - handle failed run algorithms more gracefully
git-svn-id: svn://svn.berlios.de/openocd/trunk@1121 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-02 18:56:11 +00:00
oharboe b2164dd211 Rick Altherr <kc8apf@kc8apf.net> - fix flash write_bank output.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1120 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-02 18:52:48 +00:00
oharboe 95c3a1758f Rick Altherr <kc8apf@kc8apf.net> - In cortex_m3_resume if debug_execution is non-zero, the PRIMASK and xSPR are modified. The problem is that while the register value is changed, it isn't marked valid or dirty.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1119 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-02 18:50:26 +00:00
oharboe c2120ba28a Added telnet_async command to enable/disable asynchronous
messages.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1117 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-31 13:40:02 +00:00
oharboe e4218ebb8f Rick Altherr <kc8apf@kc8apf.net> switch to new syntax for target events
git-svn-id: svn://svn.berlios.de/openocd/trunk@1116 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-31 06:57:42 +00:00
oharboe be968a5400 Rick Altherr <kc8apf@kc8apf.net> - update syntax
git-svn-id: svn://svn.berlios.de/openocd/trunk@1114 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-30 08:04:11 +00:00
oharboe 069a04dca0 Hongtao Zheng single step fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@1113 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-30 07:49:13 +00:00
ntfreak b8f895deb6 - remove build warning
git-svn-id: svn://svn.berlios.de/openocd/trunk@1112 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-28 22:53:59 +00:00
oharboe 95fa1a3377 Kees Jongenburger <kees.jongenburger@gmail.com> update syntax
git-svn-id: svn://svn.berlios.de/openocd/trunk@1111 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-28 17:49:22 +00:00
oharboe 11ce572bbe Hongtao Zheng - more fixes to single stepping. Better hiding of details and fixes feroceon regression.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1110 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-28 14:55:25 +00:00
oharboe 5f993dc17c Hongtao Zheng - fix a simulation error for "BX PC"
git-svn-id: svn://svn.berlios.de/openocd/trunk@1109 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-28 13:44:55 +00:00
oharboe f8cd20e284 Rick Altherr <kc8apf@kc8apf.net> - fix support for old target syntax
git-svn-id: svn://svn.berlios.de/openocd/trunk@1108 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-28 08:06:07 +00:00
oharboe df77b45054 Kees Jongenburger <kees.jongenburger@gmail.com> old" syntax target command appears to be broken
this patch addresses this issue

git-svn-id: svn://svn.berlios.de/openocd/trunk@1107 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-27 20:57:17 +00:00
oharboe 63ac444ba9 Kees Jongenburger <kees.jongenburger@gmail.com> - fix typo
git-svn-id: svn://svn.berlios.de/openocd/trunk@1106 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-27 20:56:58 +00:00
oharboe ea361c3b7b Hongtao Zheng - add simulation because previous functions could not halt for instructions that next pc equal to the current pc.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1105 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-27 11:36:03 +00:00
oharboe d0626605ec fix working area address
git-svn-id: svn://svn.berlios.de/openocd/trunk@1104 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-27 10:17:50 +00:00
oharboe 3ddcbd6b58 added option to use ramdisk instead of flash jffs2
git-svn-id: svn://svn.berlios.de/openocd/trunk@1103 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-27 10:17:36 +00:00
oharboe edfca66467 now compiles under Cygwin and eCos again.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1102 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-27 07:32:09 +00:00
ntfreak 88c940c4b8 - fix native mingw build if gettimeofday not defined.
- reformat whitespace in startup.tcl

git-svn-id: svn://svn.berlios.de/openocd/trunk@1101 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-24 15:53:22 +00:00
oharboe fdb7a1705d gdb_report_data_abort now ignores all target read errors, including address space wraps. Hopefully works around problems in 6.8
git-svn-id: svn://svn.berlios.de/openocd/trunk@1099 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-24 07:18:13 +00:00
oharboe 74bb0cd244 fix working memory location
git-svn-id: svn://svn.berlios.de/openocd/trunk@1098 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-23 14:14:34 +00:00
oharboe 5df88ed3a1 hontor <hontor@126.com> - fix simulation step errors
git-svn-id: svn://svn.berlios.de/openocd/trunk@1097 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-23 12:55:10 +00:00
oharboe c3e213a6e1 only log BUG: (do not return error) in the case of unknown debug reason(0xc)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1096 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-23 12:52:30 +00:00
oharboe 9f558dfac3 whitespace trouble....
git-svn-id: svn://svn.berlios.de/openocd/trunk@1094 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-23 06:04:40 +00:00
oharboe 150651559e load and verify are now synonymous to load/verify_image
git-svn-id: svn://svn.berlios.de/openocd/trunk@1092 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-22 18:20:42 +00:00
oharboe bfd7a227b0 updated docs a bit.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1091 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-22 18:10:21 +00:00
oharboe bf45445b5b produce syntax error
git-svn-id: svn://svn.berlios.de/openocd/trunk@1090 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-22 13:45:46 +00:00
oharboe ed9c257551 Laurentiu Cocanu - more help text
git-svn-id: svn://svn.berlios.de/openocd/trunk@1087 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-22 09:30:33 +00:00
oharboe d740e66ccd version number keyword expansion handling
git-svn-id: svn://svn.berlios.de/openocd/trunk@1086 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-22 07:55:45 +00:00
oharboe 6eeab625cd fix warnings when building for eCos
git-svn-id: svn://svn.berlios.de/openocd/trunk@1085 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-22 07:37:40 +00:00
oharboe 9b1ddfc1eb remove duplicate target
git-svn-id: svn://svn.berlios.de/openocd/trunk@1084 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-21 20:21:32 +00:00
oharboe eaea7552ac try to get struct timezone def right w.r.t. config.h. Now compiles under Cygwin and eCos
git-svn-id: svn://svn.berlios.de/openocd/trunk@1080 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-17 12:55:27 +00:00
ntfreak 04fb21b28d - update docs deprecated section to include links to new commands (if any)
- added missing svn props

git-svn-id: svn://svn.berlios.de/openocd/trunk@1077 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-16 21:02:44 +00:00
oharboe 358b472ab8 sleep command now prints out target debugmsgs w/anything like usable performance
git-svn-id: svn://svn.berlios.de/openocd/trunk@1076 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-16 19:44:05 +00:00
oharboe 824c270142 fix error handling in flash fill
git-svn-id: svn://svn.berlios.de/openocd/trunk@1074 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-16 13:37:59 +00:00
oharboe ba02ce97a4 added help on production proc's
git-svn-id: svn://svn.berlios.de/openocd/trunk@1072 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-16 13:02:36 +00:00
oharboe bd50535b0b adding concept of production script
git-svn-id: svn://svn.berlios.de/openocd/trunk@1071 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-16 12:52:32 +00:00
oharboe 3884c7505f removed autoerase from flash fillX
git-svn-id: svn://svn.berlios.de/openocd/trunk@1070 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-16 12:21:24 +00:00
oharboe cd9e0e3115 added capture command to capture log output. Useful when wanting to capture log output from tcl procedures that invoke openocd commands
git-svn-id: svn://svn.berlios.de/openocd/trunk@1069 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-16 12:21:02 +00:00
oharboe 09614074b7 more robust error reporting for DCC
git-svn-id: svn://svn.berlios.de/openocd/trunk@1068 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-16 12:20:11 +00:00
oharboe a3035243dc unsik Kim <donari75@gmail.com> - mflash support
git-svn-id: svn://svn.berlios.de/openocd/trunk@1067 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-16 06:15:03 +00:00
ntfreak 4457800afe - fix tcl_port typo in docs
- remove build warning from openocd.c
- add missing svn props


git-svn-id: svn://svn.berlios.de/openocd/trunk@1065 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-15 15:11:36 +00:00
oharboe ccc2e3fe76 Laurentiu Cocanu - memory read/write and exit() error path fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@1064 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-15 11:44:36 +00:00
oharboe af41e6aac8 김운식 <donari75@gmail.com> spotted a bug in target_write_u8
git-svn-id: svn://svn.berlios.de/openocd/trunk@1063 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-15 07:08:18 +00:00
ntfreak d58229e73b - remove build warnings
- add missing svn props

git-svn-id: svn://svn.berlios.de/openocd/trunk@1062 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-14 20:58:28 +00:00
oharboe 347db1b736 Laurentiu Cocanu - fix error handling
git-svn-id: svn://svn.berlios.de/openocd/trunk@1061 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-14 18:02:36 +00:00
oharboe c40d652546 fixed a few crashes in syntax handling
git-svn-id: svn://svn.berlios.de/openocd/trunk@1060 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-14 13:35:38 +00:00
oharboe 2de5a007d1 Laurentiu Cocanu - more error handling fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@1059 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-14 13:14:52 +00:00
oharboe 257d238e61 Laurentiu Cocanu - add error handling
git-svn-id: svn://svn.berlios.de/openocd/trunk@1057 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-14 11:06:30 +00:00
oharboe ba29b4dc6b testing of syntax error in reset and at startup
git-svn-id: svn://svn.berlios.de/openocd/trunk@1054 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-14 08:38:36 +00:00
oharboe 08058e72d9 reset cleanup. Remove obsolete events that are not needed for compatibility.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1053 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-14 07:30:45 +00:00
oharboe 254bde2a23 Ben Bodley TEKNIQUE <ben@teknique.com> - support for the 1Mb Spansion Flash S29AL008D.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1051 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-14 06:27:46 +00:00
oharboe 4fa359b53d John McCarthy <jgmcc@magma.ca> two patches add a mips_m4k target option (ejtag_reset) to cause a reset command to use the EJTAG Peripheral and System Reset in addition to srst. This is for targets like the wrt54gl which do not connect the
srst to a system reset (I believe it just goes to a GPIO).

git-svn-id: svn://svn.berlios.de/openocd/trunk@1050 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-14 06:26:33 +00:00
oharboe 539527ab74 John McCarthy <jgmcc@magma.ca> cleans up the usage of the
ejtag_info->ejtag_ctrl variable.  It was being overwritten by the value read back from the EJTAG CONTROL register.  Because of the way this register works you do not want to use the value returned to write the register, you always want to write the bits explicitly.

The second patch just reduces the DMA retries to 0 in anticipation of removing the retry code altogether.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1049 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-14 06:21:17 +00:00
oharboe 3600e7c6e0 reset cleanup
git-svn-id: svn://svn.berlios.de/openocd/trunk@1048 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-14 06:21:02 +00:00
oharboe fe41e273e3 Retired old reset code according to plan.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1047 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-13 20:38:58 +00:00
oharboe 6bc51d7135 SEGFAULT gaffe in dummy register handling
git-svn-id: svn://svn.berlios.de/openocd/trunk@1046 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-13 13:11:44 +00:00
oharboe a7ae35e798 hontor <hontor@126.com> - ARMV7_GDB_HACKS compilation error fix
git-svn-id: svn://svn.berlios.de/openocd/trunk@1045 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-13 12:17:11 +00:00
oharboe b6caf057eb fix crash when connecting GDB to powered down target
git-svn-id: svn://svn.berlios.de/openocd/trunk@1044 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-13 12:16:44 +00:00
oharboe f7458c6b19 fix crash when connecting GDB to powered down target
git-svn-id: svn://svn.berlios.de/openocd/trunk@1043 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-13 12:04:05 +00:00
oharboe bc25d4fa5e Fixed gaffes in reset script handling + improved error
messages a bit. The file and line # of the syntax error
in a reset script is now printed.


git-svn-id: svn://svn.berlios.de/openocd/trunk@1042 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-13 10:30:33 +00:00
oharboe 0a3b6213bb Laurentiu Cocanu <laurentiu.cocanu@zylin.com> - Added additional error checks mostly to src/target/target.c
git-svn-id: svn://svn.berlios.de/openocd/trunk@1041 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-13 06:52:05 +00:00
oharboe 809a796209 Fix problems with DCC downloads routine crashing silently.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1040 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-12 17:28:12 +00:00
oharboe 0689815716 Duane Ellis: addresses protocol problems with GDB.
https://lists.berlios.de/pipermail/openocd-development/2008-October/003326.html

git-svn-id: svn://svn.berlios.de/openocd/trunk@1039 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-11 06:13:21 +00:00
oharboe 28f7fb41c3 John McCarthy <jgmcc@magma.ca> openocd-usb.cfg added
git-svn-id: svn://svn.berlios.de/openocd/trunk@1038 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-10 15:21:24 +00:00
oharboe c497006430 abort writing algorithm to target upon failure
git-svn-id: svn://svn.berlios.de/openocd/trunk@1037 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-09 16:12:44 +00:00
oharboe fbdc87effc enumeration of threads for testing purposes.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1035 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-09 12:05:57 +00:00
oharboe a5dd5a45f3 zy1000 1.44 snapshot
git-svn-id: svn://svn.berlios.de/openocd/trunk@1034 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-09 11:23:54 +00:00
oharboe d798871a99 added busy sleep (for testing purposes)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1033 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-09 08:08:29 +00:00
ntfreak a5806d21d2 - remove build warnings from mips_m4k.c and arm11.c
- reformat whitespace arm11.c[ch]
- add missing svn props from mips32_dmaacc.[ch]

git-svn-id: svn://svn.berlios.de/openocd/trunk@1032 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-08 20:16:51 +00:00
oharboe 30e5bff4b8 Richard Missenden exit now works during startup script
git-svn-id: svn://svn.berlios.de/openocd/trunk@1031 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-08 13:07:21 +00:00
oharboe 4eadb146c1 file not found SEGFAULT fix
git-svn-id: svn://svn.berlios.de/openocd/trunk@1030 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-08 11:06:44 +00:00
oharboe 76be215ee1 John McCarthy <jgmcc@magma.ca> adds support for DMA mode access as supported by EJTAG 1.0/2.0 processors
git-svn-id: svn://svn.berlios.de/openocd/trunk@1029 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-08 05:09:59 +00:00
oharboe 9d4f9dbd0b reduce patch problems by moving $xxx expansion into seperate fn
git-svn-id: svn://svn.berlios.de/openocd/trunk@1027 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-07 18:12:07 +00:00
oharboe 3aef2f0858 Fixes SEGFAULT when setting registers from GDB.
set $cpsr=1234 

git-svn-id: svn://svn.berlios.de/openocd/trunk@1026 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-07 18:04:14 +00:00
oharboe 2babd87916 Frederik Kriewitz <frederik at kriewitz.eu> Segmentation fault fix.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1025 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-07 17:45:26 +00:00
oharboe e8e5995160 fixed crash in dummy register handling
git-svn-id: svn://svn.berlios.de/openocd/trunk@1024 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-07 12:08:00 +00:00
oharboe 3b2518bd73 Georg Acher <acher@in.tum.de> - arm11 wip. run algorithm + small init bugfix.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1023 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-07 11:08:57 +00:00
ntfreak ab362fb528 - remove build warnings
- add missing svn props

git-svn-id: svn://svn.berlios.de/openocd/trunk@1022 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-06 18:28:56 +00:00
oharboe 5ec6a48a4b basic smoketest on lm3s3748.elf
git-svn-id: svn://svn.berlios.de/openocd/trunk@1020 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-06 12:14:52 +00:00
oharboe 7fd9ba22ba Centralize error handling for buggy register handling
git-svn-id: svn://svn.berlios.de/openocd/trunk@1019 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-06 12:09:27 +00:00
oharboe 7b369df52c better keep_alive() handling
git-svn-id: svn://svn.berlios.de/openocd/trunk@1018 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-06 11:16:10 +00:00
oharboe 333499a962 Georg Acher <acher@in.tum.de> implements the buffer flash mode for Spansion flashes. It's basically a clone of the Intel version, just a few details differ
git-svn-id: svn://svn.berlios.de/openocd/trunk@1017 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-06 06:22:58 +00:00
oharboe 9807a00206 Georg Acher <acher@in.tum.de> corrected TDO sampling
git-svn-id: svn://svn.berlios.de/openocd/trunk@1016 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-05 19:44:41 +00:00
oharboe 4eda44db36 timeout is now 1000ms instead of trying 100 times.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1015 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-04 07:56:13 +00:00
oharboe 316c9b9698 GDB alive fixes for verify_image
git-svn-id: svn://svn.berlios.de/openocd/trunk@1014 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-03 13:25:33 +00:00
oharboe aef29d913f Duane Ellis: added missing invocation of reset-init
git-svn-id: svn://svn.berlios.de/openocd/trunk@1013 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-01 09:53:32 +00:00
oharboe ebbd959aee fixed gaffe: disable interrupts reset init script
git-svn-id: svn://svn.berlios.de/openocd/trunk@1012 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-01 08:39:25 +00:00
oharboe 5ea46227b0 fixed gaffe: disable interrupts reset init script
git-svn-id: svn://svn.berlios.de/openocd/trunk@1011 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-01 08:18:27 +00:00
ntfreak a48ac31dff - at91sam7.c remove build warnings
git-svn-id: svn://svn.berlios.de/openocd/trunk@1010 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-29 08:45:52 +00:00
ntfreak 279affdb98 - convert spaces to tabs in at91sam7.[ch]
- add missing svn props

git-svn-id: svn://svn.berlios.de/openocd/trunk@1009 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-27 13:00:01 +00:00
oharboe c90c48b00b I do not know why this is necessary, but it fixes strange effects
(step/resume cause a NMI after reset) on LM3S6918 -- Michael Schwingen 

git-svn-id: svn://svn.berlios.de/openocd/trunk@1008 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-26 18:00:10 +00:00
oharboe e5408ce0b6 Gheorghe Guran <roatlasro@yahoo.com> redone at91sam7 driver. Old driver source file renamed. The old driver is still invoked by default and the new driver is invoked by using at91sam7_new
git-svn-id: svn://svn.berlios.de/openocd/trunk@1007 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-26 17:55:28 +00:00
oharboe fb7189761d wip
git-svn-id: svn://svn.berlios.de/openocd/trunk@1006 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-26 07:58:36 +00:00
oharboe e127fb3a5a ZY1000 code
git-svn-id: svn://svn.berlios.de/openocd/trunk@1005 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-25 14:31:10 +00:00
ntfreak bdb5fd8c98 - renamed x7926 driver to aduc702x to match other flash drivers
- removed c99 types (mingw issues) from aduc driver and cleanup
- updated docs for aduc702x flash driver

git-svn-id: svn://svn.berlios.de/openocd/trunk@995 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-24 22:15:22 +00:00
oharboe f9a3c36cf2 fix noise in gdb console when single stepping. Remove printing of log before processing halted event.
git-svn-id: svn://svn.berlios.de/openocd/trunk@994 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-24 09:43:31 +00:00
oharboe 7442b26d45 fixed false positives for keep_alive() not being invoked.
git-svn-id: svn://svn.berlios.de/openocd/trunk@993 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-24 08:42:13 +00:00
oharboe a8c2507dbf "marcel" <M.W.Wijlaars@tue.nl>,
I have the ADuC702x flashdriver working again (see attachment). It adds the option to erase and write the ADuC702x flash

git-svn-id: svn://svn.berlios.de/openocd/trunk@992 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-24 08:21:34 +00:00
oharboe 1b84df5be5 put instructions on how to report bugs onto the users radar
git-svn-id: svn://svn.berlios.de/openocd/trunk@988 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-21 08:24:23 +00:00
ntfreak 68c598e88d - added myself to copyright on files i remember adding large contributions 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
2008-09-20 10:50:53 +00:00
oharboe d28931c2d4 follow up to keep_alive() fix. process target events before returning from reset procedure.
git-svn-id: svn://svn.berlios.de/openocd/trunk@986 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-12 10:53:10 +00:00
oharboe 9b6853bc4c - Fixed regression introduced in 890 when "fixing warnings" for target_call_timer_callbacks_now().
target_call_timer_callbacks_now() did the same as target_call_timer_callbacks().

- Reduced keep_alive()'s job to only deal with GDB keep  alive problems.

git-svn-id: svn://svn.berlios.de/openocd/trunk@985 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-12 07:09:38 +00:00
oharboe 0ae7f962f8 Duane Ellis: target_process_reset is now implemented in tcl. This allows better control from target configuration scripts.
git-svn-id: svn://svn.berlios.de/openocd/trunk@984 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-12 06:56:00 +00:00
oharboe 2ccb9ed44c fixed keep_alive fix gaffe introduce in previous commit.
git-svn-id: svn://svn.berlios.de/openocd/trunk@983 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-08 12:14:33 +00:00
oharboe 1e8bf255fb typo fixed.
git-svn-id: svn://svn.berlios.de/openocd/trunk@982 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-08 09:21:33 +00:00
oharboe bc3474b65d keep_alive now invokes target_call_timer_callbacks_now
git-svn-id: svn://svn.berlios.de/openocd/trunk@981 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-08 07:17:48 +00:00
oharboe 3f57d41114 Duane Ellis, added clock command.
git-svn-id: svn://svn.berlios.de/openocd/trunk@980 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-08 07:07:16 +00:00
oharboe fa9bbd3828 workaround and comment for problems identified by Michael Schwingen.
git-svn-id: svn://svn.berlios.de/openocd/trunk@979 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-05 06:52:07 +00:00
oharboe a0eace708d s3c2440 OpenMoko target script
git-svn-id: svn://svn.berlios.de/openocd/trunk@978 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-04 12:04:47 +00:00
oharboe a5c4ef92b0 Duane Ellis has made highly non-trivial changes to both the target handling and command system.
git-svn-id: svn://svn.berlios.de/openocd/trunk@977 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-01 21:22:20 +00:00
oharboe 5ac8036b7f Removed target->reset_mode, no longer used
git-svn-id: svn://svn.berlios.de/openocd/trunk@976 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-01 07:24:14 +00:00
oharboe ef1cfb2394 Duane Ellis: "target as an [tcl] object" feature.
git-svn-id: svn://svn.berlios.de/openocd/trunk@975 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-01 07:20:21 +00:00
oharboe a5cbe5bd85 comment about slow RTCK
git-svn-id: svn://svn.berlios.de/openocd/trunk@972 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-27 06:05:27 +00:00
oharboe 113436df6f ooops... fixed commit gaffe in previous commit.
git-svn-id: svn://svn.berlios.de/openocd/trunk@971 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-26 11:40:59 +00:00
oharboe e5181df1d4 added 1000ms timeout
git-svn-id: svn://svn.berlios.de/openocd/trunk@970 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-26 11:30:34 +00:00
oharboe f5507d8929 do not check checksums in noack case
git-svn-id: svn://svn.berlios.de/openocd/trunk@969 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-26 11:29:59 +00:00
oharboe 34d3bfbcf2 RCLK is not supported, return error instead of crashing.
git-svn-id: svn://svn.berlios.de/openocd/trunk@968 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-25 16:16:00 +00:00
oharboe 52c0037c4f STR912 uses RCLK if available
git-svn-id: svn://svn.berlios.de/openocd/trunk@967 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-25 13:18:55 +00:00
oharboe 8044656bf8 fixed bug in arm11 examine code.
git-svn-id: svn://svn.berlios.de/openocd/trunk@966 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-25 12:20:50 +00:00
oharboe 7df08fc385 fixed gaffe in last release w/target number.
git-svn-id: svn://svn.berlios.de/openocd/trunk@965 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-25 11:30:46 +00:00
oharboe e9926c60bc sync with Jim Tcl repository.
git-svn-id: svn://svn.berlios.de/openocd/trunk@964 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-25 06:50:30 +00:00
oharboe 5506f71625 duane ellis - errno ansi fix
git-svn-id: svn://svn.berlios.de/openocd/trunk@963 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-24 18:57:38 +00:00
oharboe 8d73c2a9b0 duan ellis target tcl work in progress
converts a number of 'simple string lookup tables' into NVP tables.
  These NVP tables will be used by various commands coming in the next patch.


git-svn-id: svn://svn.berlios.de/openocd/trunk@962 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-24 18:20:49 +00:00
oharboe 6abf942bab Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> fix end of address space flash sector comparision
git-svn-id: svn://svn.berlios.de/openocd/trunk@961 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-24 18:09:37 +00:00
ntfreak a7144a759c - clear any existing breakpoints/watchpoints when restarting in gdb extended remote mode
git-svn-id: svn://svn.berlios.de/openocd/trunk@960 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-23 18:47:42 +00:00
ntfreak 9f6857ae0b - add support for new gdb QStartNoAckMode, which disables sending of ack's between remote packets
git-svn-id: svn://svn.berlios.de/openocd/trunk@959 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-22 19:58:19 +00:00
ntfreak 8abe4c57fa - fix win32 build issues from previous jim patch
git-svn-id: svn://svn.berlios.de/openocd/trunk@958 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-22 12:51:48 +00:00
drath 2feac34e3f - fix a off-by-one error in the buffer read/write code that checks for a address wrap
git-svn-id: svn://svn.berlios.de/openocd/trunk@957 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-22 12:08:47 +00:00
oharboe daa58ab296 added gdb timeout handling + error propagation
git-svn-id: svn://svn.berlios.de/openocd/trunk@956 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-20 12:21:53 +00:00
oharboe 906e30248c lm3s3748 config file
git-svn-id: svn://svn.berlios.de/openocd/trunk@955 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-20 12:20:30 +00:00
oharboe 7155e8067f lm3s3748 config file
git-svn-id: svn://svn.berlios.de/openocd/trunk@954 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-20 12:20:19 +00:00
oharboe fe1f475e64 continue execution even if chain can't be validated. This will, hopefully, give us some more feedback on what's wrong.
git-svn-id: svn://svn.berlios.de/openocd/trunk@953 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-20 11:51:52 +00:00
oharboe ae86e921eb sharpen error propagation a wee bit.
git-svn-id: svn://svn.berlios.de/openocd/trunk@952 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-20 11:23:49 +00:00
ntfreak a3325f1dc4 - added missing parport configs to texi
- remove spaces from last patch

git-svn-id: svn://svn.berlios.de/openocd/trunk@951 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-20 10:51:45 +00:00
oharboe 7e94e2e8b1 Daniel Gimpelevich fix reset halt on feroceon
git-svn-id: svn://svn.berlios.de/openocd/trunk@950 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-20 07:27:24 +00:00
oharboe c4567145ae fix BUG: keep_alive() error messages
git-svn-id: svn://svn.berlios.de/openocd/trunk@949 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-20 07:14:45 +00:00
oharboe e5415575bd duane ellis: fix warning
git-svn-id: svn://svn.berlios.de/openocd/trunk@948 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-20 06:50:00 +00:00
ntfreak 1b500fe12c - added svn props for newly added files
git-svn-id: svn://svn.berlios.de/openocd/trunk@947 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-19 20:34:36 +00:00
oharboe b8387ea272 fixed warning
git-svn-id: svn://svn.berlios.de/openocd/trunk@946 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-19 17:25:21 +00:00
oharboe d8057f6db1 switch to alive_sleep() to avoid gdb timeouts
git-svn-id: svn://svn.berlios.de/openocd/trunk@945 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-19 16:43:30 +00:00
oharboe ea0270e38e make target_wait_state() usable from other places, made LOG_USER() output LOG_DEBUG() output. Avoids flooding logs in certain cases and OpenOCD will output error message if the halt fails.
git-svn-id: svn://svn.berlios.de/openocd/trunk@944 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-19 16:42:58 +00:00
oharboe 6af4a22689 better polling debug_level 3 handling
git-svn-id: svn://svn.berlios.de/openocd/trunk@943 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-19 16:41:59 +00:00
oharboe d34e01f51d search and replace usleep(1000) with alive_sleep(1) to avoid GDB timeouts.
git-svn-id: svn://svn.berlios.de/openocd/trunk@942 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-19 16:40:35 +00:00
oharboe dc33cb668d DANGER: committed work-in-progress to handle examination of jtag devices 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
2008-08-19 13:55:14 +00:00
oharboe 0960cbeedd added some alive_sleep()'s
git-svn-id: svn://svn.berlios.de/openocd/trunk@940 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-19 13:53:43 +00:00
oharboe 000f17c137 use alive_sleep() from sleep command
git-svn-id: svn://svn.berlios.de/openocd/trunk@939 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-19 12:18:00 +00:00
oharboe 8d0e3395a0 added alive_sleep() function to let GDB alive packets be sent
git-svn-id: svn://svn.berlios.de/openocd/trunk@938 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-19 12:17:31 +00:00
oharboe 91b6460671 tinker with Xscale performance, anti-log spamming is now only for debug_level 3 or more. Otherwise polling is done continously for 1 second.
git-svn-id: svn://svn.berlios.de/openocd/trunk@937 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-19 11:56:45 +00:00
oharboe bbe7110f42 duane ellis: (A) a new concept called "Name Value Pair" or NVP, in simple terms: Think: "String" and "Value". There can be many strings - all related to a single value, for examle: "T", "t", "y", "1", "yes", all can represent "truth", the reverse mapping is more simplistic - the first matching number wins.
(B) a new "getopt" like feature for Jim - that simplifies argument parsing in complex functions, normally this would be used in conjunction with either an NVP table of options, or a more simpler Enumeration  table.  In contrast to the GNU "getopt" package, this is more of a "object model or code oriented" solution then a pure data structure used by GNU getopt, or the main stream Tcl/Tk option processing.

git-svn-id: svn://svn.berlios.de/openocd/trunk@936 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-19 11:49:48 +00:00