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 +0000
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 +0000
d8456e4826Michael Bruck spotted an omission in svn 322
oharboe
2008-02-25 06:44:46 +0000
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 +0000
e258c6aeb6move options handling to separate file to better support embedded implementations of OpenOCD
oharboe
2008-02-24 21:11:09 +0000
90697ca389- added -c option that will execute an openocd command - added at91eb40a target library example.
oharboe
2008-02-24 20:10:48 +0000
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 +0000
379f0b0b9bdisable cfi_write_words(). Broken for spansion, fallback is a slower codepath that is reported to work.
oharboe
2008-02-24 18:48:22 +0000
2fe9bf1613debug_level 3 now prints seconds since start of openocd
oharboe
2008-02-24 18:46:09 +0000
db4fe03613- concretize JTAG state transition rules (previously implied behaviour is now documented)
drath
2008-02-24 18:24:04 +0000
3fe23f94fbsharpend 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 +0000
2f48cbf99cadded svn:ignore for files generated by bootstrap + build process.
oharboe
2008-02-24 17:18:03 +0000
958f845f4bcosmetic 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 +0000
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 +0000
11ef6e6485- fix for feroceon CP15 register access (thanks to Niolas Pitre for this patch)
drath
2008-02-23 16:30:13 +0000
88b767e3ec- Use NAND extended geometry information (thanks to Ben Dooks for this patch)
drath
2008-02-23 13:39:06 +0000
8603019609- added a test document as a starting point - corrected URL information for the repro
mifi
2008-02-23 12:02:15 +0000
b9bdac0251- added time command - changed syntax of time measurements to seconds, e.g. 1.2324s
oharboe
2008-02-23 08:24:59 +0000
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 +0000
34424b4bb5- cosmetic changes to print out version without line number/time
mifi
2008-02-22 16:49:07 +0000
3c58540e02- fix read/write size for small unaligned accesses (thanks Michael Bruck)
vpalatin
2008-02-22 16:43:13 +0000
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 +0000
2ab0530301- added patch to make single-stepping more resilient (thanks to Nicolas Pitre for the patch)
mifi
2008-02-22 15:30:19 +0000
5cc4601c5f- add support for Marvell Feroceon (thanks to Nicolas Pitre for this patch)
vpalatin
2008-02-21 11:43:04 +0000
a5ab45af4e- fix bug when using full paths to config files. Thanks Ted Roth
ntfreak
2008-02-20 08:32:40 +0000
95df797b2e- add search paths via new arg -s (-search). Thanks Ted Roth - updated docs for new command
ntfreak
2008-02-19 20:04:57 +0000
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 +0000
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 +0000
b02d64a1bf- reapply fix with telnet prompt while running/halting gdb
ntfreak
2008-02-18 18:48:04 +0000
17b65ad9a1- Fix problems with stuck telnet sessions. Thanks to Øyvind Harboe for this patch.
drath
2008-02-18 18:03:08 +0000
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 +0000
f2a5a1ce81- arg list now correctly released on error. Thanks Øyvind Harboe
ntfreak
2008-02-18 16:54:18 +0000
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 +0000
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 +0000
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 +0000
cf9646bda6- combine similar functions in telnet_server.c
ntfreak
2008-02-17 11:06:58 +0000
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 +0000
a2595950c7- cleanup and remove time() warning
ntfreak
2008-02-16 15:10:26 +0000
a32de76d61- fix issue with telnet prompt while gdb running
ntfreak
2008-02-16 14:05:32 +0000
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 +0000
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 +0000
dafa5aacbe- added patch to access cp15 register (XScale) (thanks to Edgar Grimberg for the patch)
mifi
2008-02-06 19:59:55 +0000
a34e4b39c4- added patch to solve problem with AT91SAM9260 (dirty register) (thanks to Øyvind Harboe for the patch)
mifi
2008-02-06 19:25:42 +0000
4d88f024a6- fixes issue with reset and arm926ejs core. Thanks Øyvind Harboe
ntfreak
2008-02-04 20:12:46 +0000
c882cb0894- added autoprobe functionality - corrected blocksize handling from GDB "info mem" command (thanks to Øyvind and Spen for these patches)
mifi
2008-01-27 14:05:59 +0000
080b2e3f2f- added patch to check some malloc problems. (thanks to Øyvind Harboe for the patch)
mifi
2008-01-24 21:04:09 +0000
dd318a2c8dUpdated list of LMI partnames
mlu
2008-01-23 20:09:08 +0000
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 +0000
06f33996e8- added patch to fix brocken STR9 line (thanks to oyvind Harboe for the patch)
mifi
2008-01-22 17:54:56 +0000
7d9e292751- Added example config and startup-script for a XScale IXP42x system
bodylove
2008-01-21 20:51:01 +0000
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 +0000
04c9ae76a7- Synced code with branch
bodylove
2008-01-21 19:45:28 +0000
db3d66f951- Eleminated leading tabs/white space
bodylove
2008-01-21 19:34:45 +0000
1b7b811d5d- Eleminated leading tabs/white space
bodylove
2008-01-21 17:29:17 +0000
4a070eb914- Eleminated leading tabs/white space - Updated SVN property
bodylove
2008-01-21 17:09:12 +0000
68b97e4b5c- add support for cortex_m3 target_request debugmsgs - target request handler disabled by default until a target has been registered
ntfreak
2008-01-17 12:45:06 +0000
bc45295a40- fixed 'make distcheck' (thanks to Theodore A. Roth for this patch
drath
2008-01-17 07:24:05 +0000
f53b986559- added tms470 flash support (thanks to Chris Kilgour for this patch)
drath
2008-01-17 07:21:09 +0000
3041bb26ed- use correct SCAN_N check value (disabled by default) - add Øyvind Harboe to list of AUTHORS (thanks a lot to Øyvind for his hard work)
drath
2008-01-14 21:42:30 +0000
13eac429e1- debug handler file not closed - (thanks to oyvind harboe for the patch) - arm_simulate_step called incorrect arm_evaluate_opcode when in thumb mode
ntfreak
2008-01-11 20:38:43 +0000
2511b52159- _DEBUG_GDB_IO_ was left on by mistake
ntfreak
2008-01-10 19:34:33 +0000
5eedf3e1ce- added faster gdb packet handling (thanks to oyvind harboe for the patch) - code reformat
ntfreak
2008-01-10 19:29:52 +0000
64aac5f7e1- added patch for faster start of OpenOCD (thanks to oyvind harboe for the patch)
mifi
2008-01-10 19:10:55 +0000
0160320060- rename flash_init and flash_erase to flash_init_drivers and flash_erase_address_range - stops conflicts with redboot. Thanks Øyvind Harboe - gdb connection not dropped if we fail to allocate memory in query packets
ntfreak
2008-01-09 15:58:01 +0000
dfe1b3f314- add support for extended gdb packet R (restart), requires gdb to be started with target extended-remote
ntfreak
2007-12-29 17:41:43 +0000
6c9b804d61- minimum autoconf 2.59 is now required and verified - due to issues with AS_HELP_STRING - native win32 now handles WSAECONNRESET - no longer exits openocd - qCRC packet now works correctly under cygwin (gdb compare-sections command) - removed __USE_GNU define from gdbserver.c - gdb qSupported packet is now handled, with this we are able to tell gdb packet size, memory map of target - added new target script gdb_program_config - called before gdb flash programming - new gdb server command gdb_memory_map (enable|disable> - default is disable - new gdb server command gdb_flash_program (enable|disable> - default is disable - gdb flash programming supported - vFlash packets - image_elf_read_section now does not clear any remaining data, this was causing the gdb checksum to fail with certain files - reformat of usbprog.c - memory leak in command_print fixed - updated texi doc to include new commands - added gdb programming section to docs
ntfreak
2007-12-29 13:51:48 +0000
2ec5bd2864- corrected working_area of LPC2129 script - added LPC2148 script - corrected size of the working_area of the LPC2294 script
mifi
2007-12-21 16:21:05 +0000
fe02401252- fixed problem when write_image is called multiple times
ntfreak
2007-12-20 22:20:45 +0000
55f2fe830a- removed flash write_image - binary compare function has been moved to verify_image command - minor code reformat and cleanup - updated docs to include new commands
ntfreak
2007-12-20 16:19:10 +0000
79f25814fe- this patch allows OpenOCD running under eCos to access files via tftp (thanks to oyvind Harboe for this patch)
mifi
2007-12-19 21:14:50 +0000