Commit Graph

64 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
66ef0cee51 added wip imx31.cfg file
git-svn-id: svn://svn.berlios.de/openocd/trunk@931 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-19 09:20:36 +00:00
oharboe
c1683a55bc deleted superfluous sam7s256 which was identical to sam7x256
git-svn-id: svn://svn.berlios.de/openocd/trunk@924 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-17 19:32:44 +00:00
oharboe
b565b391bc updated syntax for post_reset scripts
git-svn-id: svn://svn.berlios.de/openocd/trunk@907 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-11 12:28:38 +00:00
oharboe
c76b0618d7 David Kuehling <dvdkhlng@gmx.de> - added jim-eventloop.c
git-svn-id: svn://svn.berlios.de/openocd/trunk@898 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-07 16:37:20 +00:00
oharboe
2cec23fc37 lpc2148 2MHz, RCLK and clockless config script versions
git-svn-id: svn://svn.berlios.de/openocd/trunk@897 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-07 16:35:26 +00:00
ntfreak
53590217ee - merged mips target into svn trunk
git-svn-id: svn://svn.berlios.de/openocd/trunk@874 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-26 10:32:11 +00:00
oharboe
dfbb9f3e89 - jtag_khz/speed are now single parameter only. These are used
from pre/post_reset event scripts. Adding the second parameter was
a mistake seen in retrospect. this gives precise control in post_reset
for *when* the post reset speed is set. The pre_reset event was
added *after* the second parameter to jtag_khz/speed
- the target implementations no longer gets involved in the reset mode
scheme. Either they reset a target into a halted mode or not.
target_process_reset()
detects if the reset halt failed or not.
- tcl target event names are now target_N_name.  Mainly internal
at this early stage, but best to get the naming right now.
- added hardcoded reset modes from gdb_server.c. I don't know precisely what
these defaults should be or if it should be made configurable. Perhaps some
hardcoded defaults will do for now and it can be made configurable later.
- bugfix in cortex_m3.c for reset_run_and_xxx?
- issue syntax error upon obsolete argument in target command instead of
printing message that will surely drown in the log

git-svn-id: svn://svn.berlios.de/openocd/trunk@849 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-21 15:59:41 +00:00
oharboe
7648d6b287 Duane Ellis <openocd@duaneellis.com> more interface files.
git-svn-id: svn://svn.berlios.de/openocd/trunk@825 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-18 06:32:08 +00:00
oharboe
44928321e6 Charles Hardin <ckhardin@gmail.com> and Øyvind Harboe
This patch just uses the command.c interface to create tcl commands for the root level commands and avoids a bit of the "TCL" bleed into the rest of the openocd code.

Multilevel commands also supported.


git-svn-id: svn://svn.berlios.de/openocd/trunk@818 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-17 08:34:14 +00:00
ntfreak
0edbe9145c - adding missing install entry for luminary-libftdi.cfg
git-svn-id: svn://svn.berlios.de/openocd/trunk@780 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-09 19:52:03 +00:00
ntfreak
b36248beb9 - added event scripts for str73x and str75x targets
git-svn-id: svn://svn.berlios.de/openocd/trunk@751 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-04 17:46:41 +00:00
oharboe
ef268c96bb tcl config script example
git-svn-id: svn://svn.berlios.de/openocd/trunk@744 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-04 08:08:29 +00:00
oharboe
586f8db90f Valentin Longchamp target script for mx31.cfg
git-svn-id: svn://svn.berlios.de/openocd/trunk@740 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-04 07:09:02 +00:00
oharboe
a61fe67b78 David Anders more target lib scripts contributed by
git-svn-id: svn://svn.berlios.de/openocd/trunk@731 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-27 06:19:37 +00:00
ntfreak
681981cc0b - added missing install entries for eir-sam7se512 target
git-svn-id: svn://svn.berlios.de/openocd/trunk@713 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-16 21:22:39 +00:00
mifi
4e05fd6792 - added arm-usb-ocd.cfg and signalyzer.cfg to the interface
git-svn-id: svn://svn.berlios.de/openocd/trunk@659 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-16 18:09:03 +00:00
ntfreak
548bb19aa2 - added jlink support, based on Jürgen Stuber patch
git-svn-id: svn://svn.berlios.de/openocd/trunk@658 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-14 14:13:38 +00:00
ntfreak
f1e72cf029 - restored tabs and formatting
git-svn-id: svn://svn.berlios.de/openocd/trunk@657 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-12 09:01:38 +00:00
mifi
342d77e881 - added patch from uwe hermann, thanks for the hint.
git-svn-id: svn://svn.berlios.de/openocd/trunk@656 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-11 18:42:09 +00:00
oharboe
483ed5da4d The target library is now the authorotative source of config examples
git-svn-id: svn://svn.berlios.de/openocd/trunk@642 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-06 09:12:00 +00:00
oharboe
1231443b59 lpc2148 fixes from Edgar Grimberg
git-svn-id: svn://svn.berlios.de/openocd/trunk@631 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-30 18:59:39 +00:00
oharboe
f8701ea700 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
2008-04-23 09:53:23 +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
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
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
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
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
30cda620cb lm3s6965.cfg contributed by Edwin Olson
git-svn-id: svn://svn.berlios.de/openocd/trunk@549 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-08 16:37:01 +00:00
oharboe
35b3c95299 - 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
2008-04-04 13:47:38 +00:00
oharboe
32eea2a254 more target scripts wip.
git-svn-id: svn://svn.berlios.de/openocd/trunk@488 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-10 20:12:35 +00:00
oharboe
ecb227f10c added stm32.cfg to install list
git-svn-id: svn://svn.berlios.de/openocd/trunk@480 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-10 10:20:26 +00:00
ntfreak
ddd987502a - added more TARGET_HALTED checks for the read/write_memory handlers
- added new commands arm11 mrc and arm11 mcr to generate these instructions during debug
Thanks Michael Bruck

git-svn-id: svn://svn.berlios.de/openocd/trunk@477 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-08 17:28:28 +00:00
oharboe
c9f1b34077 minor corrections for target scripts.
git-svn-id: svn://svn.berlios.de/openocd/trunk@468 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-07 11:42:03 +00:00
oharboe
75e69503b9 added at91sam9260.cfg, nslu2.cfg, pxa255.cfg, pxa255_sst.cfg
zy1000.cfg
 

git-svn-id: svn://svn.berlios.de/openocd/trunk@435 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-03 13:29:29 +00:00
oharboe
72abcddbeb target scripts for test suite.
git-svn-id: svn://svn.berlios.de/openocd/trunk@429 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-01 22:00:13 +00:00
oharboe
4febcd8313 Michael Bruck:
arm11

--- Added burst memory transfer mode

This does not explicitly query command execution but rather uses a small
delay produced by the FT2232 on certain TAP commands.

A potential failure of this process is detected afterwards and the
program terminates with an error.

'arm11 memwrite burst disable'
  can be used to switch this feature off.

'arm11 memwrite error_fatal disable'
  can be used to prevent the program to exit on an memory write error


--- Added support for interrupt breaking via VCR register

Use 'arm11 vcr' command to set.


--- Cleaned up the handling of

halt/resume/step/poll, target->state, target->debug_reason,
target_call_event_callbacks() at least as far as I could guess the
intended behaviour from other targets.

Did some overall positive tests with GDB.


--- Added support for breakpoints

Hardware breakpoints only. All breakpoints will be treated as hardware
breakpoints.

All ARM11's seem to have at least 6 hardware breakpoints.

--- Stepping over BKPT added

Modification to PC without touching the target.

--- Stepping over a B or BL to self will do nothing


git-svn-id: svn://svn.berlios.de/openocd/trunk@385 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-29 07:03:28 +00:00
ntfreak
9e5a6679ca - added svn props
- fixed mixed line endings on flash.c, log.c, gdb_server.c

git-svn-id: svn://svn.berlios.de/openocd/trunk@371 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-28 10:07:54 +00:00
oharboe
90697ca389 - added -c option that will execute an openocd command
- added at91eb40a target library example.

git-svn-id: svn://svn.berlios.de/openocd/trunk@333 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-24 20:10:48 +00:00