Commit Graph

589 Commits (04eecaac4aa6e8c39bf19bc46de5049f97c1bad5)

Author SHA1 Message Date
oharboe 45d94f6af9 deleted obsolete stuff.
git-svn-id: svn://svn.berlios.de/openocd/trunk@601 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-22 06:44:05 +00:00
ntfreak 41d070982c - added stm32 stick and luminary eval boards interface configs
- corrected target lm3s6965.cfg

git-svn-id: svn://svn.berlios.de/openocd/trunk@600 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-21 08:52:52 +00:00
ntfreak 435c4b6aa2 - set lpc288x[ch] svn file props
git-svn-id: svn://svn.berlios.de/openocd/trunk@599 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-21 08:18:19 +00:00
ntfreak ce8ed0e6e0 - set erase flag on sector
git-svn-id: svn://svn.berlios.de/openocd/trunk@598 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-20 21:37:23 +00:00
oharboe ae75056742 Karl RobinSod <karl.robinsod@gmail.com> added lpc288x support. Some work remaining, committing for test/collaboration purposes.
git-svn-id: svn://svn.berlios.de/openocd/trunk@597 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-20 19:21:27 +00:00
ntfreak 6cf3f38acf - update docs for flash write_image command
- remove info on flash auto_erase, added to removed commands section

git-svn-id: svn://svn.berlios.de/openocd/trunk@596 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-20 10:35:29 +00:00
ntfreak fddbc0c143 - flash.c change stricmp to strcmp
git-svn-id: svn://svn.berlios.de/openocd/trunk@595 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-19 17:39:52 +00:00
mifi a7d76a4428 - added test results for r592
git-svn-id: svn://svn.berlios.de/openocd/trunk@594 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-19 14:08:22 +00:00
oharboe fbad947731 retired auto_erase, added optional erase arg to flash write_image.
git-svn-id: svn://svn.berlios.de/openocd/trunk@593 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-19 07:15:27 +00:00
drath da742a2d1c - Flash auto-erase is disabled by default
git-svn-id: svn://svn.berlios.de/openocd/trunk@592 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-18 16:23:21 +00:00
oharboe fcf3b943d8 Enabled auto erase, gdb memory map and gdb flash programming by default.
git-svn-id: svn://svn.berlios.de/openocd/trunk@591 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-18 07:33:03 +00:00
oharboe 4b19617f33 Nicolas Pitre fixed regression.
git-svn-id: svn://svn.berlios.de/openocd/trunk@590 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-18 06:29:30 +00:00
oharboe dd5bc1f893 Edwin Olsen: improves breakpoint handling on cortex-m3 parts. Specifically, this patch allows expressions to be evaluated in GDB that contain function calls.
git-svn-id: svn://svn.berlios.de/openocd/trunk@589 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-17 21:03:19 +00:00
oharboe a13764b5d0 fix for gaffe in 555 that stopped JTAG chain examine + validate from running.
git-svn-id: svn://svn.berlios.de/openocd/trunk@588 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-16 19:17:15 +00:00
mifi 78489fb230 - added testing binaries
git-svn-id: svn://svn.berlios.de/openocd/trunk@587 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-16 18:04:40 +00:00
ntfreak 598042fc7b - correct stm32stick config script
git-svn-id: svn://svn.berlios.de/openocd/trunk@586 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-16 09:22:52 +00:00
oharboe c333611f2b Update Embedded ICE registers explicitly during target->type->examine() instead
of as a side effect of target->type->poll(). This makes it clearer when things
happen during reset/examine.

git-svn-id: svn://svn.berlios.de/openocd/trunk@585 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-16 09:17:22 +00:00
oharboe c9dfba1866 Edgar Grimberg added some missing scripts from the install
git-svn-id: svn://svn.berlios.de/openocd/trunk@584 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-16 07:59:02 +00:00
oharboe 3aa95240ec fix SEGFAULT regression in cortex after TRST fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@583 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-16 07:34:22 +00:00
oharboe 5295bb3121 - sw_bkpts fails if the target is not halted. The side effect is
that sw_bkpts also fails if the target is an unknown state(i.e.
not examined yet).
- feroceon embedded ICE registers are now set up after TRST
has been deasserted(not tested, but it was broken as is
anyway).

git-svn-id: svn://svn.berlios.de/openocd/trunk@582 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-15 19:08:25 +00:00
oharboe e18e23e1b6 Added checks for target->type->read/write_memory, soft_reset_halt and run_algorithm that the target has been examined.
git-svn-id: svn://svn.berlios.de/openocd/trunk@581 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-15 18:08:36 +00:00
oharboe 5aa93a5e8a target read/write is no longer attempted for target_xxx() functions when the target has not been examined(fails w/error).
git-svn-id: svn://svn.berlios.de/openocd/trunk@580 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-15 17:03:13 +00:00
ntfreak 9bd0116866 - added new and missing target scripts - stm32stick and str730
git-svn-id: svn://svn.berlios.de/openocd/trunk@579 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-14 08:15:23 +00:00
oharboe 6a775dff38 retired fast_memory_access. It's always fast now.
git-svn-id: svn://svn.berlios.de/openocd/trunk@578 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-14 07:57:01 +00:00
ntfreak 80d20326a7 - split str71x driver into banks
- support new str91x/str9xpec devices
- update target scripts and docs for changes

git-svn-id: svn://svn.berlios.de/openocd/trunk@577 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-14 07:26:13 +00:00
oharboe 53c41935cd moved out stuff that wasn't already moved from openocd.pdf to the target library.
git-svn-id: svn://svn.berlios.de/openocd/trunk@576 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-14 06:26:53 +00:00
oharboe f2047d4775 Added a few tweaks while playing with texi.
git-svn-id: svn://svn.berlios.de/openocd/trunk@575 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-14 06:02:11 +00:00
oharboe 61ab13f895 TRST is asserted *before* target->type->assert_reset() is invoked. Removed old code.
git-svn-id: svn://svn.berlios.de/openocd/trunk@574 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-14 01:34:45 +00:00
oharboe f62ba35507 More robust handling of unknown target state for step/continue packet.
git-svn-id: svn://svn.berlios.de/openocd/trunk@573 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-13 13:29:33 +00:00
oharboe 7280d4a2c7 A dummy driver to test codepath w/no contact w/target.
git-svn-id: svn://svn.berlios.de/openocd/trunk@572 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-13 13:21:49 +00:00
oharboe 23837f5a3a allows launching OpenOCD w/telnet+gdb server w/the
target powered down.

git-svn-id: svn://svn.berlios.de/openocd/trunk@571 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-13 12:08:06 +00:00
oharboe 7de51ceef9 allows launching OpenOCD w/telnet+gdb server w/the
target powered down.

git-svn-id: svn://svn.berlios.de/openocd/trunk@570 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-13 11:42:49 +00:00
oharboe d9f50cb7d6 - Set up ICE registers after TRST
- Work in progress to allow launching GDB/telnet server *before* jtag
chain enum, validate & examine


git-svn-id: svn://svn.berlios.de/openocd/trunk@569 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-13 10:09:27 +00:00
oharboe fdd5582f7e found two more gaffes for reset wip
git-svn-id: svn://svn.berlios.de/openocd/trunk@568 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-11 15:56:57 +00:00
oharboe d300ecfc8e fixed gaffe for default examine implementation
git-svn-id: svn://svn.berlios.de/openocd/trunk@567 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-11 15:49:31 +00:00
oharboe c688c1cf48 Reset wip. Just adding hooks. This is just to reduce the size of the actual change, no change in behaviour.
git-svn-id: svn://svn.berlios.de/openocd/trunk@566 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-11 14:11:16 +00:00
oharboe c4a2fdbc39 Reset wip. Just adding hooks. This is just to reduce the size of the actual change, no change in behaviour.
git-svn-id: svn://svn.berlios.de/openocd/trunk@565 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-11 14:06:42 +00:00
oharboe 0d7d64b5e9 Wip - split target setup and target examination
git-svn-id: svn://svn.berlios.de/openocd/trunk@564 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-11 11:19:17 +00:00
oharboe 7805be1b3a added target->type->examine(). Eventually this will allow for bringing up telnet/gdb *before* jtag chain has been validated + it might fix some reset halt problems seen as examine() needs to run after TRST has been asserted.
git-svn-id: svn://svn.berlios.de/openocd/trunk@563 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-11 06:52:52 +00:00
oharboe a7d3a4a7f8 Improved XScale performance for embedded hosted OpenOCD
git-svn-id: svn://svn.berlios.de/openocd/trunk@562 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-11 06:45:27 +00:00
mifi df9adb7b23 - remove AC_C_VARARRAYS and set check of autoconf back to 2.59
git-svn-id: svn://svn.berlios.de/openocd/trunk@561 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-10 19:49:47 +00:00
oharboe 2b16509675 stop using variable sized arrays. That's something that belongs to C++ and not C.
git-svn-id: svn://svn.berlios.de/openocd/trunk@560 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-10 19:44:56 +00:00
ntfreak 518bce6c08 - added svn props for newly added parport.cfg
git-svn-id: svn://svn.berlios.de/openocd/trunk@559 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-10 11:45:54 +00:00
ntfreak 9c3dec377e - single core context used, removed debug context as thought unnecessary.
- DCRDR now used to access special core registers - info is currently omitted from the cortex_m3 TRM ARM have told me this is the preferred access method and the docs will be updated soon.
- now checks for User Thread Mode and Thread mode when halted.
- removed repeated function declarations from command.c
- cortex_m3_prepare_reset_halt removed, updated cortex_m3_assert_reset to suit

git-svn-id: svn://svn.berlios.de/openocd/trunk@558 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-10 11:43:48 +00:00
ntfreak 1ade331ba9 - due to previous patch adding AC_C_VARARRAYS, autoconf v2.61 min required
git-svn-id: svn://svn.berlios.de/openocd/trunk@557 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-10 10:11:04 +00:00
oharboe 44fd861b75 target lib wip
git-svn-id: svn://svn.berlios.de/openocd/trunk@556 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-09 14:21:14 +00:00
oharboe b22ae9006b back out Don Porges workaround for some device with manufcaturer # 0x1a2
git-svn-id: svn://svn.berlios.de/openocd/trunk@555 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-09 12:58:19 +00:00
ntfreak 23939e4fc3 - add missing svn props
git-svn-id: svn://svn.berlios.de/openocd/trunk@554 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-09 07:31:24 +00:00
oharboe 2585fc3420 Don Porges fixed c99 issues.
git-svn-id: svn://svn.berlios.de/openocd/trunk@553 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-09 05:55:23 +00:00
oharboe a064722743 - added "init" command. "init" and "reset" at end of startup script is equivalent
to daemon_startup(still supported).
- print warning if srst and trst change state at the same time when srst_and_trst
is seperate
- reset now performs a trst, examines and validates the jtag chain before targets
assert reset
- if startup fails to examine and validate the jtag chain, try a reset before
trying again


git-svn-id: svn://svn.berlios.de/openocd/trunk@552 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-09 05:50:34 +00:00