0689e3dd67
- Added TARGET_REQ_DEBUGCHAR target_request debugmsg. This provides a better impeadance match for debug output char fn's, e.g. eCos. - Line endings are now added at the caller site of command_print*(). command_print() still adds a line ending - echo of commands in scripts are now available via debug_level instead of forced echo - Added a USER_SAMELINE() for printing without a lineend.
oharboe
2008-02-28 08:11:18 +00:00
8ff85b62ef
Uwe Hermann Add @dircategory and @direntry to the info page -- they're used to add the openocd info page to the global index of info pages in the system (usually /usr/share/info/dir).
oharboe
2008-02-28 07:26:14 +00:00
f76cf27380
Uwe Hermann fixed some warnings.
oharboe
2008-02-28 07:25:06 +00:00
06b1bfed10
- correct line endings from previous commit
ntfreak
2008-02-27 18:59:38 +00:00
8eab9e7974
- fix typo in ep93xx jtag driver to allow OpenOCD compilation on ARM (thanks to Uwe Hermann for the patch)
drath
2008-02-27 17:25:33 +00:00
796fa81a2b
- fix bug in ft2232 pathmove (thanks to Michael Bruck for the patch)
drath
2008-02-27 06:59:35 +00:00
5a15c6d807
Nicolas Pitre listed some more devices.
oharboe
2008-02-27 06:44:45 +00:00
0686e944f3
- fix issue when target is already halted
ntfreak
2008-02-26 19:56:45 +00:00
4c7891eceb
Next step in the JTAG minidriver. This should be fairly close to the final thing, but I'm not calling it "done" quite yet.
oharboe
2008-02-26 11:53:54 +00:00
11fa148944
- jtag minidriver work in progress - svn:eol-style=native. Let's see how that works out :-)
oharboe
2008-02-26 06:25:22 +00:00
e482118106
- using ERROR_COMMAND_SYNTAX_ERROR to print syntax in a couple of places - some more flash cleanup of checking halted state - moved output handler into options.c - very slightly tweaked server.c to make it a bit more compatible with eCos - retired arch_state. Not quite sure how I managed to leave that out last time.
oharboe
2008-02-25 07:50:03 +00:00
815c3b3533
- "flash write_binary" is now "flash write_bank" to clarify the focus of the command and reduce confusion with "flash write_image". - retired deprecated "flash erase" & "flash write". - added flash_driver_protect/write/erase() that are wafer thin frontend functions to low level driver functions. They implement checks that were inconsistently handled by the drivers, e.g. check for target halted was done in a spotty fashion. - use return ERROR_COMMAND_SYNTAX_ERROR to print out syntax of command instead of having lots of inlined replicas of the command line syntax(some of which were wrong). - use logging instead of dubious translation of error values to human understandable explanations of why things failed. The lower levels log the precise reason and the higher levels can ammend context as the error propagates up the call stack. - simplified flash API slightly with logging instead of allocating and returning information that the caller then has to translate into print statements.
oharboe
2008-02-25 07:32:52 +00:00
d8456e4826
Michael Bruck spotted an omission in svn 322
oharboe
2008-02-25 06:44:46 +00:00
8529e7c21e
- added "xscale fast_memory_access" which speeds up memory access by disabling "unecessary" checks. - arm926ejs. Added missing type->mmu and type->virt2phys fn's. for now these are used by working_area when specifying mmu enabled and mmu not enabled address
oharboe
2008-02-24 21:54:09 +00:00
e258c6aeb6
move options handling to separate file to better support embedded implementations of OpenOCD
oharboe
2008-02-24 21:11:09 +00:00
90697ca389
- added -c option that will execute an openocd command - added at91eb40a target library example.
oharboe
2008-02-24 20:10:48 +00:00
1aa854684d
- fixed target->type->poll() return value - added arch_state to show status of currently selected target - simplified target->type->arch_state() api. - clean up telnet output a bit - fixed GDB output for arch_state - removed a couple of unecessary exit()'s - cleaned up error propagation a bit in a few places
oharboe
2008-02-24 18:52:45 +00:00
379f0b0b9b
disable cfi_write_words(). Broken for spansion, fallback is a slower codepath that is reported to work.
oharboe
2008-02-24 18:48:22 +00:00
2fe9bf1613
debug_level 3 now prints seconds since start of openocd
oharboe
2008-02-24 18:46:09 +00:00
db4fe03613
- concretize JTAG state transition rules (previously implied behaviour is now documented)
drath
2008-02-24 18:24:04 +00:00
3fe23f94fb
sharpend JTAG docs w.r.t. hw fifo implementations and retired jtag_cancel_queue() which is inheritely incompatible with a hw fifo concept.
oharboe
2008-02-24 17:33:00 +00:00
2f48cbf99c
added svn:ignore for files generated by bootstrap + build process.
oharboe
2008-02-24 17:18:03 +00:00
958f845f4b
cosmetic fixes to debug output + phasing out printf() in favour of logging system. From Pavel Chromy <chromy@asix.cz>
oharboe
2008-02-24 17:10:48 +00:00
885ae471ad
- fixes possible crash when GDB connection is closed while target is running due to log callback sending messages to connection which does not exist anymore (thanks to Pavel Chromy for this patch)
drath
2008-02-24 12:30:45 +00:00
11ef6e6485
- fix for feroceon CP15 register access (thanks to Niolas Pitre for this patch)
drath
2008-02-23 16:30:13 +00:00
88b767e3ec
- Use NAND extended geometry information (thanks to Ben Dooks for this patch)
drath
2008-02-23 13:39:06 +00:00
8603019609
- added a test document as a starting point - corrected URL information for the repro
mifi
2008-02-23 12:02:15 +00:00
b9bdac0251
- added time command - changed syntax of time measurements to seconds, e.g. 1.2324s
oharboe
2008-02-23 08:24:59 +00:00
c1eb1a3690
- added patch to remove count and time information from log_printf in case of debug_level is not set to LOG_DEBUG
mifi
2008-02-22 22:55:52 +00:00
34424b4bb5
- cosmetic changes to print out version without line number/time
mifi
2008-02-22 16:49:07 +00:00
3c58540e02
- fix read/write size for small unaligned accesses (thanks Michael Bruck)
vpalatin
2008-02-22 16:43:13 +00:00
34bc9457e9
- added patch to solve problem with AT91SAM7SE MCU have 3, rather than just 2 GPNVM bits. (Thanks to Pavel for the patch)
mifi
2008-02-22 16:13:07 +00:00
2ab0530301
- added patch to make single-stepping more resilient (thanks to Nicolas Pitre for the patch)
mifi
2008-02-22 15:30:19 +00:00
5cc4601c5f
- add support for Marvell Feroceon (thanks to Nicolas Pitre for this patch)
vpalatin
2008-02-21 11:43:04 +00:00
a5ab45af4e
- fix bug when using full paths to config files. Thanks Ted Roth
ntfreak
2008-02-20 08:32:40 +00:00
95df797b2e
- add search paths via new arg -s (-search). Thanks Ted Roth - updated docs for new command
ntfreak
2008-02-19 20:04:57 +00:00
ee340df841
- add support for the majority of the Samsung ARM SoC family, S3C2410, S3C2412, S3C2413, S3C2440 and S3C2443 (thanks to Ben Dooks for this patch)
drath
2008-02-19 19:52:09 +00:00
5c0e8efa05
- Fixed bug in pathmove for XScale - added virtual address to working_area. - Improved error messages in a number of places - Added ERROR_COMMAND_SYNTAX_ERROR that commands can return to have syntax printed - Added help for some config commands - Added verification of sw breakpoints with ERROR() message - Removed a couple of exit()'s and replaced with error message - cosmetic fix to armv4_5.c, easier to read - added polymorphic(with default) virt2phys and mmu enable query function to target.h - added virt2phys command that uses target->type->virt2phys() fn Thanks to Øyvind Harboe
ntfreak
2008-02-19 19:26:17 +00:00
b02d64a1bf
- reapply fix with telnet prompt while running/halting gdb
ntfreak
2008-02-18 18:48:04 +00:00
17b65ad9a1
- Fix problems with stuck telnet sessions. Thanks to Øyvind Harboe for this patch.
drath
2008-02-18 18:03:08 +00:00
48709fba0b
- ignore data aborts during gdb memory read packets by default, and return 0x0 instead - add configuration option "gdb_report_data_abort <enable|disable> to enable reporting of data aborts during gdb memory read packets - thanks to Øyvind Harboe for identifying the problem with GDB and data aborts - fix some warnings in gdb_server.c
drath
2008-02-18 17:59:06 +00:00
f2a5a1ce81
- arg list now correctly released on error. Thanks Øyvind Harboe
ntfreak
2008-02-18 16:54:18 +00:00
e7084a0c87
- fix broken JTAG error handling - Allow all commands to be executed during config stage - Help now works for config commands - make var args handling follow the rules more closely Thanks Øyvind Harboe
ntfreak
2008-02-18 15:41:38 +00:00
d36abc1cd6
- removed a raft of unecessary exit() calls. Issuing a reset will solve these ails. - now uses jtag_state_pathmove() instead of making assumptions about implementation of jtag_statemove(). - fixed a couple of bugs in timeout handling - removed megabytes of log output when communication is failing. - sleep is now 300ms as documented instead of 3000ms - fixed error path of bulk write - debug_handler can now be issued during normal operation + has help text. Thanks Øyvind Harboe
ntfreak
2008-02-18 15:11:01 +00:00
a92d27afb0
- Added a "User:" debug level. These are messages that are intended for the user and are part of normal operation. - Faster DEBUG/INFO() when they are disabled - target_read/write_buffer() now uses 16 and 32 bit access for single word aligned requests. Other requests are serviced as quickly as possible. - *much* faster read/write GDB packets, removing timeout problems. - GDB read/write packets w/single word aligned 32/16 bit access now use 32/16 bit word access. - working area can now be changed on the fly. Provides a way to move working area about as MMU is enabled/disabled. - cleaned up error messages for verify_image. Thanks Øyvind Harboe
ntfreak
2008-02-18 14:32:43 +00:00
cf9646bda6
- combine similar functions in telnet_server.c
ntfreak
2008-02-17 11:06:58 +00:00
e859281eb3
- solve lots of problems with stuck GDB connections, making it impossible to connect to GDB, handle timeout of acknowledgement, etc. - "monitor halt/resume" now works correctly - "monitor sleep 10000" no longer makes the GDB protocol lock up. There is an error message and the protocol recovers nicely afterwards. - it's now possible to connect to a target which needs a reset before halt works. - handle failed memory access more gracefully. Connection is now closed instead of OpenOCD quitting. - *much* improved handling of 2 second timeout on memory read packets. Especially important w/mouseover evaluation of variables in Eclipse. - fixed memory leak upon failed memory packet reply. - 'O' packets w/progress info is no longer sent out randomly. - faster packet reply code. - Thanks to Øyvind Harboe for this patch
ntfreak
2008-02-16 15:21:13 +00:00
70b2de2a63
- added synchronous wait/resume patch. Thanks Øyvind Harboe - updated docs for halt and wait_halt and resume commands
ntfreak
2008-02-09 11:44:17 +00:00
da2bbc90fc
- added synchronous reset patch, Thanks Øyvind Harboe - added target_init_reset which calls target_process_reset after all drivers have been initialised
ntfreak
2008-02-07 20:20:11 +00:00
dafa5aacbe
- added patch to access cp15 register (XScale) (thanks to Edgar Grimberg for the patch)
mifi
2008-02-06 19:59:55 +00:00
a34e4b39c4
- added patch to solve problem with AT91SAM9260 (dirty register) (thanks to Øyvind Harboe for the patch)
mifi
2008-02-06 19:25:42 +00:00
4d88f024a6
- fixes issue with reset and arm926ejs core. Thanks Øyvind Harboe
ntfreak
2008-02-04 20:12:46 +00:00
080b2e3f2f
- added patch to check some malloc problems. (thanks to Øyvind Harboe for the patch)
mifi
2008-01-24 21:04:09 +00:00
dd318a2c8d
Updated list of LMI partnames
mlu
2008-01-23 20:09:08 +00:00
651ba91465
- added patch to fix crash in load_image on corrupt elf file or out of memory. (thanks to Øyvind Harboe for the patch)
mifi
2008-01-23 19:28:10 +00:00
06f33996e8
- added patch to fix brocken STR9 line (thanks to oyvind Harboe for the patch)
mifi
2008-01-22 17:54:56 +00:00
7d9e292751
- Added example config and startup-script for a XScale IXP42x system
bodylove
2008-01-21 20:51:01 +00:00
d7aec2f1e3
[MERGE] Merged all remaining changes between trunk and xscale big-endian branch. They are now in sync.
bodylove
2008-01-21 20:34:58 +00:00
04c9ae76a7
- Synced code with branch
bodylove
2008-01-21 19:45:28 +00:00
db3d66f951
- Eleminated leading tabs/white space
bodylove
2008-01-21 19:34:45 +00:00
1b7b811d5d
- Eleminated leading tabs/white space
bodylove
2008-01-21 17:29:17 +00:00
4a070eb914
- Eleminated leading tabs/white space - Updated SVN property
bodylove
2008-01-21 17:09:12 +00:00