]> git.sur5r.net Git - openocd/log
openocd
16 years agoChanged at91sam7_ecr working area to a valid SRAM adress for the AT91SAM7S/X target...
mlu [Wed, 30 Apr 2008 20:49:53 +0000 (20:49 +0000)]
Changed  at91sam7_ecr working area to a valid SRAM adress for the AT91SAM7S/X target family

git-svn-id: svn://svn.berlios.de/openocd/trunk@633 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years agonow compiles again.
oharboe [Wed, 30 Apr 2008 19:26:05 +0000 (19:26 +0000)]
now compiles again.

git-svn-id: svn://svn.berlios.de/openocd/trunk@632 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years agolpc2148 fixes from Edgar Grimberg
oharboe [Wed, 30 Apr 2008 18:59:39 +0000 (18:59 +0000)]
lpc2148 fixes from Edgar Grimberg

git-svn-id: svn://svn.berlios.de/openocd/trunk@631 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years ago- added new device to luminary flash driver
ntfreak [Wed, 30 Apr 2008 18:33:21 +0000 (18:33 +0000)]
- added new device to luminary flash driver
- only use SYSRESETREQ on affected luminary parts

git-svn-id: svn://svn.berlios.de/openocd/trunk@630 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years agoEdgar's naming convention fixes.
oharboe [Wed, 30 Apr 2008 09:34:31 +0000 (09:34 +0000)]
Edgar's naming convention fixes.

git-svn-id: svn://svn.berlios.de/openocd/trunk@629 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years agoEdgar's added support for printing jtag_khz
oharboe [Wed, 30 Apr 2008 09:13:54 +0000 (09:13 +0000)]
Edgar's added support for printing jtag_khz

git-svn-id: svn://svn.berlios.de/openocd/trunk@628 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years ago- stm32x default to 128k if flash size failed.
ntfreak [Tue, 29 Apr 2008 17:07:23 +0000 (17:07 +0000)]
- stm32x default to 128k if flash size failed.

git-svn-id: svn://svn.berlios.de/openocd/trunk@627 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years agoEdgar Grimberg added a new rule for target scripts. Flash + verify must succeed.
oharboe [Tue, 29 Apr 2008 10:22:20 +0000 (10:22 +0000)]
Edgar Grimberg added a new rule for target scripts. Flash + verify must succeed.

git-svn-id: svn://svn.berlios.de/openocd/trunk@626 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years ago- updated cortex_m3 docs regarding luminary reset behaviour
ntfreak [Tue, 29 Apr 2008 06:56:03 +0000 (06:56 +0000)]
- updated cortex_m3 docs regarding luminary reset behaviour

git-svn-id: svn://svn.berlios.de/openocd/trunk@625 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years ago- add cortex_m3 variant luminary to fix reset issue with asserting SRST
ntfreak [Mon, 28 Apr 2008 20:05:17 +0000 (20:05 +0000)]
- add cortex_m3 variant luminary to fix reset issue with asserting SRST
- https://lists.berlios.de/pipermail/openocd-development/2008-April/002022.html for details

git-svn-id: svn://svn.berlios.de/openocd/trunk@624 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years ago- added ARMV7_GDB_HACKS define to armv7m.h, enabling all gdb hacks to be enabled...
ntfreak [Sat, 26 Apr 2008 16:40:54 +0000 (16:40 +0000)]
- added ARMV7_GDB_HACKS define to armv7m.h, enabling all gdb hacks to be enabled/disabled for testing
- added armv7m dummy cpsr register to stop gdb setting thumb bit

git-svn-id: svn://svn.berlios.de/openocd/trunk@623 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years ago- luminary flash now loader polls when finished
ntfreak [Sat, 26 Apr 2008 15:24:15 +0000 (15:24 +0000)]
- luminary flash now loader polls when finished

git-svn-id: svn://svn.berlios.de/openocd/trunk@622 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years agoset communication speeds
oharboe [Sat, 26 Apr 2008 14:53:06 +0000 (14:53 +0000)]
set communication speeds

git-svn-id: svn://svn.berlios.de/openocd/trunk@621 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years ago- incorrect ram size for lm3s811 target script
ntfreak [Sat, 26 Apr 2008 14:16:31 +0000 (14:16 +0000)]
- incorrect ram size for lm3s811 target script

git-svn-id: svn://svn.berlios.de/openocd/trunk@620 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years ago- change str9 flash controller to read array after a level 1 protect
ntfreak [Sat, 26 Apr 2008 12:50:03 +0000 (12:50 +0000)]
- change str9 flash controller to read array after a level 1 protect

git-svn-id: svn://svn.berlios.de/openocd/trunk@619 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years agowip instructions for building Cortex toolchain
oharboe [Sat, 26 Apr 2008 07:38:36 +0000 (07:38 +0000)]
wip instructions for building Cortex toolchain

git-svn-id: svn://svn.berlios.de/openocd/trunk@618 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years agomake debug_level 3 useful again... the log just drowns. perhaps introduce debug_level 4?
oharboe [Fri, 25 Apr 2008 13:31:40 +0000 (13:31 +0000)]
make debug_level 3 useful again... the log just drowns. perhaps introduce debug_level 4?

git-svn-id: svn://svn.berlios.de/openocd/trunk@617 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years agoClose dangling file handle
oharboe [Thu, 24 Apr 2008 20:40:52 +0000 (20:40 +0000)]
Close dangling file handle

git-svn-id: svn://svn.berlios.de/openocd/trunk@616 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years ago- added svn props for newly added files
ntfreak [Thu, 24 Apr 2008 11:09:28 +0000 (11:09 +0000)]
- added svn props for newly added files

git-svn-id: svn://svn.berlios.de/openocd/trunk@615 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years agoEdgar's new test cases.
oharboe [Thu, 24 Apr 2008 09:26:50 +0000 (09:26 +0000)]
Edgar's new test cases.

git-svn-id: svn://svn.berlios.de/openocd/trunk@614 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years agoEdgar's new test cases.
oharboe [Thu, 24 Apr 2008 09:21:42 +0000 (09:21 +0000)]
Edgar's new test cases.

git-svn-id: svn://svn.berlios.de/openocd/trunk@613 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years agoPavel Chromy's on chip flash loader
oharboe [Wed, 23 Apr 2008 16:36:02 +0000 (16:36 +0000)]
Pavel Chromy's on chip flash loader

git-svn-id: svn://svn.berlios.de/openocd/trunk@612 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years ago- added svn props for newly added files
ntfreak [Wed, 23 Apr 2008 13:13:38 +0000 (13:13 +0000)]
- added svn props for newly added files

git-svn-id: svn://svn.berlios.de/openocd/trunk@611 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years ago- added svn props for newly added files
ntfreak [Wed, 23 Apr 2008 13:10:27 +0000 (13:10 +0000)]
- added svn props for newly added files

git-svn-id: svn://svn.berlios.de/openocd/trunk@610 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years agoTim Hudson contributed at91sam9260 target config files + some interface definitions.
oharboe [Wed, 23 Apr 2008 09:53:23 +0000 (09:53 +0000)]
Tim Hudson contributed at91sam9260 target config files + some interface definitions.

git-svn-id: svn://svn.berlios.de/openocd/trunk@609 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years ago- fix typo in openocd.texi
ntfreak [Wed, 23 Apr 2008 09:53:04 +0000 (09:53 +0000)]
- fix typo in openocd.texi

git-svn-id: svn://svn.berlios.de/openocd/trunk@608 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years agoregions outside flash are now read/write nocache by default. GDB 6.8 would mark non...
oharboe [Wed, 23 Apr 2008 08:07:39 +0000 (08:07 +0000)]
regions outside flash are now read/write nocache by default. GDB 6.8 would mark non-flash areas as inacessible by default.

git-svn-id: svn://svn.berlios.de/openocd/trunk@607 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years agoTim Hudson: removed setting jtag_speed directly (which should not be done).
oharboe [Wed, 23 Apr 2008 07:19:25 +0000 (07:19 +0000)]
Tim Hudson: removed setting jtag_speed directly (which should not be done).

git-svn-id: svn://svn.berlios.de/openocd/trunk@606 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years agofixed doc for GDB memory map and flash program defaults to follow code
oharboe [Wed, 23 Apr 2008 05:46:26 +0000 (05:46 +0000)]
fixed doc for GDB memory map and flash program defaults to follow code

git-svn-id: svn://svn.berlios.de/openocd/trunk@605 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years agoadded fast option.
oharboe [Wed, 23 Apr 2008 05:42:42 +0000 (05:42 +0000)]
added fast option.

git-svn-id: svn://svn.berlios.de/openocd/trunk@604 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years agoAndre Renaud support for the am29sl800db CFI flash chip (id: 0x0004, 0x226b).
oharboe [Wed, 23 Apr 2008 05:27:45 +0000 (05:27 +0000)]
Andre Renaud support for the am29sl800db CFI flash chip (id: 0x0004, 0x226b).

git-svn-id: svn://svn.berlios.de/openocd/trunk@603 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years agowip on reporting bugs.
oharboe [Tue, 22 Apr 2008 14:15:45 +0000 (14:15 +0000)]
wip on reporting bugs.

git-svn-id: svn://svn.berlios.de/openocd/trunk@602 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years agodeleted obsolete stuff.
oharboe [Tue, 22 Apr 2008 06:44:05 +0000 (06:44 +0000)]
deleted obsolete stuff.

git-svn-id: svn://svn.berlios.de/openocd/trunk@601 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years ago- added stm32 stick and luminary eval boards interface configs
ntfreak [Mon, 21 Apr 2008 08:52:52 +0000 (08:52 +0000)]
- 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

16 years ago- set lpc288x[ch] svn file props
ntfreak [Mon, 21 Apr 2008 08:18:19 +0000 (08:18 +0000)]
- set lpc288x[ch] svn file props

git-svn-id: svn://svn.berlios.de/openocd/trunk@599 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years ago- set erase flag on sector
ntfreak [Sun, 20 Apr 2008 21:37:23 +0000 (21:37 +0000)]
- set erase flag on sector

git-svn-id: svn://svn.berlios.de/openocd/trunk@598 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years agoKarl RobinSod <karl.robinsod@gmail.com> added lpc288x support. Some work remaining...
oharboe [Sun, 20 Apr 2008 19:21:27 +0000 (19:21 +0000)]
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

16 years ago- update docs for flash write_image command
ntfreak [Sun, 20 Apr 2008 10:35:29 +0000 (10:35 +0000)]
- 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

16 years ago- flash.c change stricmp to strcmp
ntfreak [Sat, 19 Apr 2008 17:39:52 +0000 (17:39 +0000)]
- flash.c change stricmp to strcmp

git-svn-id: svn://svn.berlios.de/openocd/trunk@595 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years ago- added test results for r592
mifi [Sat, 19 Apr 2008 14:08:22 +0000 (14:08 +0000)]
- added test results for r592

git-svn-id: svn://svn.berlios.de/openocd/trunk@594 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years agoretired auto_erase, added optional erase arg to flash write_image.
oharboe [Sat, 19 Apr 2008 07:15:27 +0000 (07:15 +0000)]
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

16 years ago- Flash auto-erase is disabled by default
drath [Fri, 18 Apr 2008 16:23:21 +0000 (16:23 +0000)]
- Flash auto-erase is disabled by default

git-svn-id: svn://svn.berlios.de/openocd/trunk@592 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years agoEnabled auto erase, gdb memory map and gdb flash programming by default.
oharboe [Fri, 18 Apr 2008 07:33:03 +0000 (07:33 +0000)]
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

16 years agoNicolas Pitre fixed regression.
oharboe [Fri, 18 Apr 2008 06:29:30 +0000 (06:29 +0000)]
Nicolas Pitre fixed regression.

git-svn-id: svn://svn.berlios.de/openocd/trunk@590 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years agoEdwin Olsen: improves breakpoint handling on cortex-m3 parts. Specifically, this...
oharboe [Thu, 17 Apr 2008 21:03:19 +0000 (21:03 +0000)]
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

16 years agofix for gaffe in 555 that stopped JTAG chain examine + validate from running.
oharboe [Wed, 16 Apr 2008 19:17:15 +0000 (19:17 +0000)]
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

16 years ago- added testing binaries
mifi [Wed, 16 Apr 2008 18:04:40 +0000 (18:04 +0000)]
- added testing binaries

git-svn-id: svn://svn.berlios.de/openocd/trunk@587 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years ago- correct stm32stick config script
ntfreak [Wed, 16 Apr 2008 09:22:52 +0000 (09:22 +0000)]
- correct stm32stick config script

git-svn-id: svn://svn.berlios.de/openocd/trunk@586 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years agoUpdate Embedded ICE registers explicitly during target->type->examine() instead
oharboe [Wed, 16 Apr 2008 09:17:22 +0000 (09:17 +0000)]
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

16 years agoEdgar Grimberg added some missing scripts from the install
oharboe [Wed, 16 Apr 2008 07:59:02 +0000 (07:59 +0000)]
Edgar Grimberg added some missing scripts from the install

git-svn-id: svn://svn.berlios.de/openocd/trunk@584 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years agofix SEGFAULT regression in cortex after TRST fixes
oharboe [Wed, 16 Apr 2008 07:34:22 +0000 (07:34 +0000)]
fix SEGFAULT regression in cortex after TRST fixes

git-svn-id: svn://svn.berlios.de/openocd/trunk@583 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years ago- sw_bkpts fails if the target is not halted. The side effect is
oharboe [Tue, 15 Apr 2008 19:08:25 +0000 (19:08 +0000)]
- 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

16 years agoAdded checks for target->type->read/write_memory, soft_reset_halt and run_algorithm...
oharboe [Tue, 15 Apr 2008 18:08:36 +0000 (18:08 +0000)]
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

16 years agotarget read/write is no longer attempted for target_xxx() functions when the target...
oharboe [Tue, 15 Apr 2008 17:03:13 +0000 (17:03 +0000)]
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

16 years ago- added new and missing target scripts - stm32stick and str730
ntfreak [Mon, 14 Apr 2008 08:15:23 +0000 (08:15 +0000)]
- added new and missing target scripts - stm32stick and str730

git-svn-id: svn://svn.berlios.de/openocd/trunk@579 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years agoretired fast_memory_access. It's always fast now.
oharboe [Mon, 14 Apr 2008 07:57:01 +0000 (07:57 +0000)]
retired fast_memory_access. It's always fast now.

git-svn-id: svn://svn.berlios.de/openocd/trunk@578 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years ago- split str71x driver into banks
ntfreak [Mon, 14 Apr 2008 07:26:13 +0000 (07:26 +0000)]
- 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

16 years agomoved out stuff that wasn't already moved from openocd.pdf to the target library.
oharboe [Mon, 14 Apr 2008 06:26:53 +0000 (06:26 +0000)]
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

16 years agoAdded a few tweaks while playing with texi.
oharboe [Mon, 14 Apr 2008 06:02:11 +0000 (06:02 +0000)]
Added a few tweaks while playing with texi.

git-svn-id: svn://svn.berlios.de/openocd/trunk@575 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years agoTRST is asserted *before* target->type->assert_reset() is invoked. Removed old code.
oharboe [Mon, 14 Apr 2008 01:34:45 +0000 (01:34 +0000)]
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

16 years agoMore robust handling of unknown target state for step/continue packet.
oharboe [Sun, 13 Apr 2008 13:29:33 +0000 (13:29 +0000)]
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

16 years agoA dummy driver to test codepath w/no contact w/target.
oharboe [Sun, 13 Apr 2008 13:21:49 +0000 (13:21 +0000)]
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

16 years agoallows launching OpenOCD w/telnet+gdb server w/the
oharboe [Sun, 13 Apr 2008 12:08:06 +0000 (12:08 +0000)]
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

16 years agoallows launching OpenOCD w/telnet+gdb server w/the
oharboe [Sun, 13 Apr 2008 11:42:49 +0000 (11:42 +0000)]
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

16 years ago- Set up ICE registers after TRST
oharboe [Sun, 13 Apr 2008 10:09:27 +0000 (10:09 +0000)]
- 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

16 years agofound two more gaffes for reset wip
oharboe [Fri, 11 Apr 2008 15:56:57 +0000 (15:56 +0000)]
found two more gaffes for reset wip

git-svn-id: svn://svn.berlios.de/openocd/trunk@568 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years agofixed gaffe for default examine implementation
oharboe [Fri, 11 Apr 2008 15:49:31 +0000 (15:49 +0000)]
fixed gaffe for default examine implementation

git-svn-id: svn://svn.berlios.de/openocd/trunk@567 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years agoReset wip. Just adding hooks. This is just to reduce the size of the actual change...
oharboe [Fri, 11 Apr 2008 14:11:16 +0000 (14:11 +0000)]
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

16 years agoReset wip. Just adding hooks. This is just to reduce the size of the actual change...
oharboe [Fri, 11 Apr 2008 14:06:42 +0000 (14:06 +0000)]
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

16 years agoWip - split target setup and target examination
oharboe [Fri, 11 Apr 2008 11:19:17 +0000 (11:19 +0000)]
Wip - split target setup and target examination

git-svn-id: svn://svn.berlios.de/openocd/trunk@564 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years agoadded target->type->examine(). Eventually this will allow for bringing up telnet...
oharboe [Fri, 11 Apr 2008 06:52:52 +0000 (06:52 +0000)]
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

16 years agoImproved XScale performance for embedded hosted OpenOCD
oharboe [Fri, 11 Apr 2008 06:45:27 +0000 (06:45 +0000)]
Improved XScale performance for embedded hosted OpenOCD

git-svn-id: svn://svn.berlios.de/openocd/trunk@562 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years ago- remove AC_C_VARARRAYS and set check of autoconf back to 2.59
mifi [Thu, 10 Apr 2008 19:49:47 +0000 (19:49 +0000)]
- 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

16 years agostop using variable sized arrays. That's something that belongs to C++ and not C.
oharboe [Thu, 10 Apr 2008 19:44:56 +0000 (19:44 +0000)]
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

16 years ago- added svn props for newly added parport.cfg
ntfreak [Thu, 10 Apr 2008 11:45:54 +0000 (11:45 +0000)]
- added svn props for newly added parport.cfg

git-svn-id: svn://svn.berlios.de/openocd/trunk@559 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years ago- single core context used, removed debug context as thought unnecessary.
ntfreak [Thu, 10 Apr 2008 11:43:48 +0000 (11:43 +0000)]
- 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

16 years ago- due to previous patch adding AC_C_VARARRAYS, autoconf v2.61 min required
ntfreak [Thu, 10 Apr 2008 10:11:04 +0000 (10:11 +0000)]
- 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

16 years agotarget lib wip
oharboe [Wed, 9 Apr 2008 14:21:14 +0000 (14:21 +0000)]
target lib wip

git-svn-id: svn://svn.berlios.de/openocd/trunk@556 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years agoback out Don Porges workaround for some device with manufcaturer # 0x1a2
oharboe [Wed, 9 Apr 2008 12:58:19 +0000 (12:58 +0000)]
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

16 years ago- add missing svn props
ntfreak [Wed, 9 Apr 2008 07:31:24 +0000 (07:31 +0000)]
- add missing svn props

git-svn-id: svn://svn.berlios.de/openocd/trunk@554 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years agoDon Porges fixed c99 issues.
oharboe [Wed, 9 Apr 2008 05:55:23 +0000 (05:55 +0000)]
Don Porges fixed c99 issues.

git-svn-id: svn://svn.berlios.de/openocd/trunk@553 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years ago- added "init" command. "init" and "reset" at end of startup script is equivalent
oharboe [Wed, 9 Apr 2008 05:50:34 +0000 (05:50 +0000)]
- 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

16 years agouse jtag.c's cur/end_state global variables.
oharboe [Tue, 8 Apr 2008 19:23:50 +0000 (19:23 +0000)]
use jtag.c's cur/end_state global variables.

git-svn-id: svn://svn.berlios.de/openocd/trunk@551 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years agoEdwin Olson found bug & tested fix for flash write_image for stellaris.
oharboe [Tue, 8 Apr 2008 18:55:39 +0000 (18:55 +0000)]
Edwin Olson found bug & tested fix for flash write_image for stellaris.

git-svn-id: svn://svn.berlios.de/openocd/trunk@550 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years agolm3s6965.cfg contributed by Edwin Olson
oharboe [Tue, 8 Apr 2008 16:37:01 +0000 (16:37 +0000)]
lm3s6965.cfg contributed by Edwin Olson

git-svn-id: svn://svn.berlios.de/openocd/trunk@549 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years agoadded a couple of LOG_ERROR() messages to improve logfile.
oharboe [Tue, 8 Apr 2008 16:27:50 +0000 (16:27 +0000)]
added a couple of LOG_ERROR() messages to improve logfile.

git-svn-id: svn://svn.berlios.de/openocd/trunk@548 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years agoPavel pointed out that jtag_add_tlr() is better than jtag_add_tms().
oharboe [Tue, 8 Apr 2008 13:08:36 +0000 (13:08 +0000)]
Pavel pointed out that jtag_add_tlr() is better than jtag_add_tms().

git-svn-id: svn://svn.berlios.de/openocd/trunk@547 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years agoThe endstate now reports the endstate of the queue instead of
oharboe [Tue, 8 Apr 2008 09:03:49 +0000 (09:03 +0000)]
The endstate now reports the endstate of the queue instead of
reading endstate variable internal to the driver.

git-svn-id: svn://svn.berlios.de/openocd/trunk@546 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years agoSpen fixed various issues w.r.t. setting up the sockets for optimal performance.
oharboe [Mon, 7 Apr 2008 17:29:21 +0000 (17:29 +0000)]
Spen fixed various issues w.r.t. setting up the sockets for optimal performance.

git-svn-id: svn://svn.berlios.de/openocd/trunk@545 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years ago- only if "reset halt" or "reset init" are issued will the reset vector be set up
oharboe [Mon, 7 Apr 2008 10:48:44 +0000 (10:48 +0000)]
- only if "reset halt" or "reset init" are issued will the reset vector be set up
- If communication fails during assert between assert/deassert and during
assert, warnings are printed. The warning suggests using srst_only if the
clock locks up as that would allow the reset vector to be set up before
asserting reset.

git-svn-id: svn://svn.berlios.de/openocd/trunk@544 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years agoat91eb40a.elf moved to src/target/ecos
oharboe [Mon, 7 Apr 2008 05:42:28 +0000 (05:42 +0000)]
at91eb40a.elf moved to src/target/ecos

git-svn-id: svn://svn.berlios.de/openocd/trunk@543 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years agoavoid patch trouble by isolating troublesome line...
oharboe [Sun, 6 Apr 2008 19:59:32 +0000 (19:59 +0000)]
avoid patch trouble by isolating troublesome line...

git-svn-id: svn://svn.berlios.de/openocd/trunk@542 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years ago- added note to docs about gdb 6.8 and memory map support
ntfreak [Sat, 5 Apr 2008 10:07:12 +0000 (10:07 +0000)]
- added note to docs about gdb 6.8 and memory map support

git-svn-id: svn://svn.berlios.de/openocd/trunk@541 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years ago- the reset mode parameter is now DEPRECATED. It is implemented
oharboe [Fri, 4 Apr 2008 14:09:03 +0000 (14:09 +0000)]
- the reset mode parameter is now DEPRECATED. It is implemented
as an optional parameter with default reset_init. This is to streamline
things w.r.t. the target library.

git-svn-id: svn://svn.berlios.de/openocd/trunk@540 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years ago- reverted some of the changes that possibly broke arm926ejs. Waiting
oharboe [Fri, 4 Apr 2008 13:47:38 +0000 (13:47 +0000)]
- reverted some of the changes that possibly broke arm926ejs. Waiting
for a bit more info before I can tell with confidence whether or not
this would have any effect.
- worked on error propagation and output for flash

git-svn-id: svn://svn.berlios.de/openocd/trunk@539 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years agoadded query of reset speed
oharboe [Fri, 4 Apr 2008 07:43:04 +0000 (07:43 +0000)]
added query of reset speed

git-svn-id: svn://svn.berlios.de/openocd/trunk@538 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years ago- added test results
mifi [Thu, 3 Apr 2008 19:42:30 +0000 (19:42 +0000)]
- added test results

git-svn-id: svn://svn.berlios.de/openocd/trunk@537 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years ago- Work on fixing erase check. Many implementations are plain broken.
oharboe [Thu, 3 Apr 2008 14:00:17 +0000 (14:00 +0000)]
- Work on fixing erase check. Many implementations are plain broken.
Wrote a default flash erase check fn which uses CFI's target algorithm
w/fallback to memory reads.
- "flash info" no longer prints erase status as it is stale.
- "flash erase_check" now prints erase status. erase check can take a
*long* time. Work in progress
- arm7/9 with seperate srst & trst now supports reset init/halt
after a power outage. arm7/9 no longer makes any assumptions
about state of target when reset is asserted.
- fixes for srst & trst capable arm7/9 with reset init/halt
- prepare_reset_halt retired. This code needs to be inside
assert_reset anyway
- haven't been able to get stm32 write algorithm to work. Fallback
flash write does work. Haven't found a version of openocd trunk
where this works.
- added target_free_all_working_areas_restore() which can
let be of restoring backups. This is needed when asserting
reset as the target must be assumed to be an unknown state.
Added some comments to working areas API
- str9 reset script fixes
- some guidelines
- fixed dangling callbacks upon reset timeout

git-svn-id: svn://svn.berlios.de/openocd/trunk@536 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years agoEdgar Grimberg sharpened the str912 target script.
oharboe [Wed, 2 Apr 2008 14:47:21 +0000 (14:47 +0000)]
Edgar Grimberg sharpened the str912 target script.

git-svn-id: svn://svn.berlios.de/openocd/trunk@535 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years agofix flash info - now reports erased state properly
oharboe [Wed, 2 Apr 2008 14:40:35 +0000 (14:40 +0000)]
fix flash info - now reports erased state properly

git-svn-id: svn://svn.berlios.de/openocd/trunk@534 b42882b7-edfa-0310-969c-e2dbd0fdcd60