4b2defe678The endstate now reports the endstate of the queue instead of reading endstate variable internal to the driver.
oharboe
2008-04-08 09:03:49 +0000
0d4f8fc824Spen fixed various issues w.r.t. setting up the sockets for optimal performance.
oharboe
2008-04-07 17:29:21 +0000
2b7504c279- 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.
oharboe
2008-04-07 10:48:44 +0000
a2c45daf78at91eb40a.elf moved to src/target/ecos
oharboe
2008-04-07 05:42:28 +0000
bb0830da6d- added note to docs about gdb 6.8 and memory map support
ntfreak
2008-04-05 10:07:12 +0000
381dc0efab- 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.
oharboe
2008-04-04 14:09:03 +0000
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
oharboe
2008-04-04 13:47:38 +0000
7abe97565eadded query of reset speed
oharboe
2008-04-04 07:43:04 +0000
32cc2202f0- added test results
mifi
2008-04-03 19:42:30 +0000
d3f0549f08- 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
oharboe
2008-04-03 14:00:17 +0000
6549d376e4fix flash info - now reports erased state properly
oharboe
2008-04-02 14:40:35 +0000
2a2935573eAdded timeout(instead of infinite loop) to soft_reset_halt
oharboe
2008-04-02 06:37:08 +0000
b174a5b6a3optional count argument to mwX
oharboe
2008-04-02 06:21:24 +0000
ff53e47b54- fixes for jtag_khz committed. - wip, flash fillw/h/b. For testing purposes.
oharboe
2008-04-01 17:48:09 +0000
afe5371bc8Do not assert trst in srst_only case even if srst_pulls_trst.
oharboe
2008-03-31 19:39:05 +0000
86d3e74464target_call_timer_callbacks_now() now invokes periodic callbacks immediately
oharboe
2008-03-31 19:34:01 +0000
408e1d86a0Removed exit()'s. A reset is usually enough to work around these, reducing cycle times to get config scripts right.
oharboe
2008-03-31 19:32:38 +0000
a3a3426e86make jtag_add_statemove() internal to the driver.
oharboe
2008-03-31 13:18:03 +0000
4411c2643eTAP_SD/SI are now forbidden end states. jtag_add_reset() now returns void streamlining the API
oharboe
2008-03-26 13:29:48 +0000
2df3ca97a7hooks for multithreading. Disable nagle
oharboe
2008-03-26 13:18:23 +0000
d47e1b8f36- rename log functions to stop conflicts under win32 (wingdi)
ntfreak
2008-03-25 15:45:17 +0000
a96f96d1f0- gdb server was incorrectly sending null terminator on qXfer:features:read: packet - armv7m now sends correct gdb register packet
ntfreak
2008-03-22 14:19:46 +0000
ae176daac8- updated docs with new commands/features - added deprecated/removed commands chapter
ntfreak
2008-03-22 14:09:27 +0000
f669c50fc9- changed jtag_add_reset errors to warnings - removed extra jtag reset warnings from arm7_9 and cortex_m3
ntfreak
2008-03-22 10:30:00 +0000
4622cb15a9- armv7m control register now set as dirty when switching context - armv7m added core_mode to cortex_m3_debug_entry DEBUG msg - cortex_m3 changed WARNINGS to DEBUG msg in cortex_m3_resume
ntfreak
2008-03-21 12:53:29 +0000
5a4525613d- added new test results
mifi
2008-03-21 11:27:42 +0000
87939e553d- fix warnings during configure cause by ecosboard. default to no, if host cpu isn't arm. - fix generic bitbang code to allow scans to end in Shift-[ID]R
drath
2008-03-17 21:39:18 +0000
3b2a068ea9added profile command. It was added to simplify evaluation by testers.
oharboe
2008-03-14 11:20:46 +0000
7e8892ca39reset and post reset speed & jtag_khz command documented.
oharboe
2008-03-13 20:09:33 +0000
9bf081192fadded jtag_khz for use with target library
oharboe
2008-03-13 11:07:21 +0000
7de7bc80fc- adds two speeds to jtag_speed. reset and post reset speed. Default is post reset = reset speed. - removed infinite loop's and exit()'s upon poor arm7/9 communication - cleaned up error messages a bit. Push ERROR() up into fn's that fail and can say something meaningful about what failed.
oharboe
2008-03-13 10:14:41 +0000
a3dbb9cee6print ms in debug_level 3 logs. Seconds is not enough.
oharboe
2008-03-13 08:17:01 +0000
979d6b7943marked infinite loop in code w/TODO and fixed warning.
oharboe
2008-03-13 08:05:10 +0000
cb0bc93c06Dominic undid some of my damage. CLK should now be set as intended in all cases.
oharboe
2008-03-12 18:05:07 +0000
65cfb21612xscale now passes w/bitbang in 505
oharboe
2008-03-12 16:03:30 +0000
45af9d83c9The bitbang driver leaves the TCK 0 when in idle
oharboe
2008-03-12 16:01:30 +0000
9bf8a4e48bThis moves common code into functions so as to make it clear that all the jtag_add_xxx() are indeed intended to do the same thing.
oharboe
2008-03-12 14:45:26 +0000
10c3b1c936fixed regression in XScale introduce in 297
oharboe
2008-03-12 14:38:43 +0000
460894d51emore info about latest working version
oharboe
2008-03-12 08:39:55 +0000
33c09a0127Corrections from Dominic
oharboe
2008-03-12 08:04:24 +0000
691b4e0e01tinkered a bit with testing matrix.
oharboe
2008-03-12 07:34:10 +0000
0313c59555reduce compare noise. If someone should be crazy enough to try to run OpenOCD under eCos, then they'v got some hooks to point them in the general direction.
oharboe
2008-03-11 21:32:03 +0000
b9162dcc8eWith the recent changes the TRST needs to happen for every reset.
oharboe
2008-03-11 21:18:44 +0000
d1fe9bacbbtidy up output a bit. No longer show "accepted connection" inside Telnet session.
oharboe
2008-03-11 21:17:46 +0000
1812a3535c- retired unused jtag events. The code was incorrect - hopefully clarified the difference between TRST and TMS reset. - added DEBUG() statements w.r.t. state changes - TRST released and moving out of TAP_TLR are completely different events. Only TRST released has a DEBUG() statement
oharboe
2008-03-11 21:16:57 +0000
0fe2a5435a- 16 and 32 bit unaligned accesses supported - uses packed transfers for 8/16bit read/writes greater than 4bytes - 8/16bit transfers now use address auto increment
ntfreak
2008-03-11 18:39:43 +0000
ac5fb03521JTAG_END_STATE is now retired. It is no longer queued.
oharboe
2008-03-11 11:03:40 +0000
9a9cc91bcb- fixed jtag_add_reset(). It no longer causes jtag_execute_queue() to fail for two of it's return codes. A little bit weird, but compatible with existing codebase. - tightend up error handling. Since the jtag_xxx() is a queue that is either executed as things are added(hw queue) or a software queue, then errors can only be caught during jtag_execute_queue(). No error code is therefore returned from the queuing fn's.
oharboe
2008-03-11 09:06:00 +0000
970e16603bPavel Chromy: telnet line buffer size checking, history does not store repeating lines, improved history printing, log callback tweak
oharboe
2008-03-11 08:15:54 +0000
7dc025321cbacked out changes from 483.
oharboe
2008-03-10 20:19:52 +0000
703dc714c8- fixed a problem with big endian XScale and GDB register packets. - hmm..... did I screw up? Was XScale and not gdb_server busted here? My thinking was that OpenOCD has a canonical internal representation of registers that match GDB's expectations
oharboe
2008-03-10 14:14:15 +0000
e6dac739cf- the jtag chain is examined and validated after GDB & telnet servers are up and running. The examination and validation is actually "optional" from the point of view of GDB + telnet servers. Multiple targets should work fine with this. - jtag_speed is dropped(divisor is increased), if jtag examination and validation fails. - the chain is validated 10x to catch the worst jtag_speed offences - added LOG_SILENT that can be used to shut up log. Feeble ersatz for try+catch. - GDB register packets are now always replied in order to make sure that GDB connect works. If the target is not halted, then these packets contain dummy values.
oharboe
2008-03-10 14:07:28 +0000
0424155dfc- Fixed various error handling when looking for memory leaks - Fixed memory leak in gdb_server.c - pushed "Error:" statements up into fn's that know something about what went wrong - load_image now fails if target_write_memory() fails - only issue an asynchronous halt() upon connect of GDB. Synchronous halt/reset doesn't really work as what's required to initialize the target might involve a special monitor sequence for the target in question - syntax error handling improved(fewer exit()'s)
oharboe
2008-03-10 12:11:07 +0000
0a34980f2b- LOG_SILENT can be used to silence the log(needed in upcoming patches) - ERROR_FAIL - added to emphasize that information about what went wrong is contained in Error: log statements and not in a 32 bit return value.
oharboe
2008-03-10 12:04:30 +0000
ecb227f10cadded stm32.cfg to install list
oharboe
2008-03-10 10:20:26 +0000
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
ntfreak
2008-03-08 17:28:28 +0000
c78b4fe426- Improves error handling upon GDB connect - switch to synchronous halt during connect. This fixes the bug where poll() was not invoked between halt() and servicing the 'g' register packet - halt() no longer returns error code when target is already halted, just logs a warning. Only the halt() implementation can say anything meaningful about why a halt() failed, so error messages are pushed up to halt() - fixed soft_reset_halt infinite loop bug in arm7_9_common.c. The rest of the implementations are still busted. - by using USER() instead of command_print() the log gets the source + line #. Nice. - no longer invoke exit() if soft_reset_halt fails. A reset can often fix the problem.
oharboe
2008-03-07 21:49:16 +0000
29fc9b2596Asynchronous output information from e.g. a halt is now displayed again.
oharboe
2008-03-07 21:41:34 +0000
984e9f0e44- The elf loader incorrectly assumed that the program header always follows the ELF header. (Thanks Michael Bruck)
ntfreak
2008-03-07 16:38:02 +0000
8bc200e1feAdded some timeout handling to XScale so OpenOCD doesn't get completely stuck when the target needs a reset.
oharboe
2008-03-07 11:44:46 +0000
c9f1b34077minor corrections for target scripts.
oharboe
2008-03-07 11:42:03 +0000
c317ffe243Removed code that inserted prompt after printing asynchronous information. Current implementation was broken beyond repair.
oharboe
2008-03-07 10:53:50 +0000
e66f9aaba9- added str912/str710_program.script - added test infos from r459
mifi
2008-03-07 08:46:24 +0000
e199d7bd2cremoved excessive debug output. Perhaps a debug_level 4 should be introduced? Hopefully it can be avoided as this was the only case where debug output was going through the roof.
oharboe
2008-03-07 08:07:07 +0000
55b4d9a984Cosmetic fixes from Uwe Hermann
oharboe
2008-03-07 06:58:31 +0000
d74d72c73aPavel Chromy: va_copy should always be paired with va_end.
oharboe
2008-03-06 17:13:33 +0000
652a5b18b4Pavel Chromy: performance tweak of gdb_put_packet_inner() removing malloc and avoiding memcpy of larger blocks of data,
oharboe
2008-03-06 12:04:27 +0000
209d7c0edcMichael Bruck: - force simulate_reset_on_next_halt when target state is initially detected - print out method of debug entry - fix VCR activation (didn't work before)
oharboe
2008-03-06 12:01:52 +0000
c6c6cd0ffdMichael Bruck: 64 bit va_list fix for crash
oharboe
2008-03-06 12:01:17 +0000
01a5d87d5f- This speeds up dcc arm7_9 bulk write a little bit and exercises the jtag_add_dr_out() codepath - added a check to jtag_add_pathmove() for legal path transitions - tweaked jtag.h docs a little bit - made some jtag bypass tests _DEBUG_JTAG_IO_
oharboe
2008-03-05 19:29:41 +0000
9b25f5eba2added jtag_add_dr_out(). Better for hw fifo, same for software fifo.
oharboe
2008-03-05 19:21:22 +0000