oharboe
349f62f74f
Edgar Grimberg sharpened the str912 target script.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@535 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-02 14:47:21 +00:00
oharboe
6549d376e4
fix flash info - now reports erased state properly
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@534 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-02 14:40:35 +00:00
oharboe
2a2935573e
Added timeout(instead of infinite loop) to soft_reset_halt
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@533 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-02 06:37:08 +00:00
oharboe
b174a5b6a3
optional count argument to mwX
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@532 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-02 06:21:24 +00:00
oharboe
ff53e47b54
- fixes for jtag_khz committed.
...
- wip, flash fillw/h/b. For testing purposes.
git-svn-id: svn://svn.berlios.de/openocd/trunk@531 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-04-01 17:48:09 +00:00
oharboe
afe5371bc8
Do not assert trst in srst_only case even if srst_pulls_trst.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@530 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-31 19:39:05 +00:00
oharboe
86d3e74464
target_call_timer_callbacks_now() now invokes periodic callbacks immediately
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@529 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-31 19:34:01 +00:00
oharboe
408e1d86a0
Removed exit()'s. A reset is usually enough to work around these, reducing cycle times
...
to get config scripts right.
git-svn-id: svn://svn.berlios.de/openocd/trunk@528 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-31 19:32:38 +00:00
oharboe
a3a3426e86
make jtag_add_statemove() internal to the driver.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@527 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-31 13:18:03 +00:00
oharboe
77d73b2523
Edgar Grimberg: added needed delays
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@526 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-28 11:28:54 +00:00
oharboe
4411c2643e
TAP_SD/SI are now forbidden end states.
...
jtag_add_reset() now returns void streamlining the API
git-svn-id: svn://svn.berlios.de/openocd/trunk@525 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-26 13:29:48 +00:00
oharboe
2df3ca97a7
hooks for multithreading. Disable nagle
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@524 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-26 13:18:23 +00:00
ntfreak
d47e1b8f36
- rename log functions to stop conflicts under win32 (wingdi)
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@523 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-25 15:45:17 +00:00
ntfreak
a96f96d1f0
- gdb server was incorrectly sending null terminator on qXfer:features:read: packet
...
- armv7m now sends correct gdb register packet
git-svn-id: svn://svn.berlios.de/openocd/trunk@522 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-22 14:19:46 +00:00
ntfreak
ae176daac8
- updated docs with new commands/features
...
- added deprecated/removed commands chapter
git-svn-id: svn://svn.berlios.de/openocd/trunk@521 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-22 14:09:27 +00:00
ntfreak
f669c50fc9
- changed jtag_add_reset errors to warnings
...
- removed extra jtag reset warnings from arm7_9 and cortex_m3
git-svn-id: svn://svn.berlios.de/openocd/trunk@520 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-22 10:30:00 +00:00
ntfreak
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
git-svn-id: svn://svn.berlios.de/openocd/trunk@519 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-21 12:53:29 +00:00
mifi
5a4525613d
- added new test results
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@518 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-21 11:27:42 +00:00
drath
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
- several CFI fixes (thanks to Michael Schwingen):
- buffer overflow when converting target code in cfi_intel_write_block -
cfi_fix_code_endian needs the number of words, not bytes, as size
argument.
- Spansion flash write was completely broken on big-endian targets - I
borrowed mechanisms from the intel driver, and moved some common code
into the cfi_command_val helper function. There is still more common code
that might be cleaned up.
- the buffer size check in cfi_write was broken for spansion flashes, where
cfi_write_words is not implemented. cfi_write_words is no only called if
the flash does have a buffer size >1.
- "flash info" printed CFI status information for non-CFI flashes, which is
confusing. It now only prints those when a real CFI flash is detected.
git-svn-id: svn://svn.berlios.de/openocd/trunk@517 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-17 21:39:18 +00:00
oharboe
3b2a068ea9
added profile command. It was added to simplify evaluation by testers.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@516 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-14 11:20:46 +00:00
oharboe
7e8892ca39
reset and post reset speed & jtag_khz command documented.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@515 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-13 20:09:33 +00:00
oharboe
6de8c33c38
Michael Bruck: fixed warnings
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@514 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-13 15:46:40 +00:00
oharboe
587dd1c392
clarified jtag_khz command.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@513 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-13 13:58:07 +00:00
oharboe
9bf081192f
added jtag_khz for use with target library
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@512 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-13 11:07:21 +00:00
oharboe
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.
git-svn-id: svn://svn.berlios.de/openocd/trunk@511 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-13 10:14:41 +00:00
oharboe
a3dbb9cee6
print ms in debug_level 3 logs. Seconds is not enough.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@510 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-13 08:17:01 +00:00
oharboe
b8dab6d056
XScale excessive waiting fix.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@509 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-13 08:16:34 +00:00
oharboe
979d6b7943
marked infinite loop in code w/TODO and fixed warning.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@508 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-13 08:05:10 +00:00
oharboe
cb0bc93c06
Dominic undid some of my damage. CLK should now be set as intended in all cases.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@507 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-12 18:05:07 +00:00
oharboe
65cfb21612
xscale now passes w/bitbang in 505
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@506 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-12 16:03:30 +00:00
oharboe
45af9d83c9
The bitbang driver leaves the TCK 0 when in idle
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@505 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-12 16:01:30 +00:00
oharboe
9bf8a4e48b
This 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.
git-svn-id: svn://svn.berlios.de/openocd/trunk@504 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-12 14:45:26 +00:00
oharboe
10c3b1c936
fixed regression in XScale introduce in 297
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@503 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-12 14:38:43 +00:00
oharboe
460894d51e
more info about latest working version
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@502 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-12 08:39:55 +00:00
oharboe
33c09a0127
Corrections from Dominic
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@501 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-12 08:04:24 +00:00
oharboe
691b4e0e01
tinkered a bit with testing matrix.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@500 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-12 07:34:10 +00:00
oharboe
0313c59555
reduce 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.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@499 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-11 21:32:03 +00:00
oharboe
b9162dcc8e
With the recent changes the TRST needs to happen for every reset.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@498 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-11 21:18:44 +00:00
oharboe
d1fe9bacbb
tidy up output a bit. No longer show "accepted connection" inside Telnet session.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@497 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-11 21:17:46 +00:00
oharboe
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
git-svn-id: svn://svn.berlios.de/openocd/trunk@496 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-11 21:16:57 +00:00
ntfreak
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
git-svn-id: svn://svn.berlios.de/openocd/trunk@495 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-11 18:39:43 +00:00
oharboe
09e303bb8e
retire unused code.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@494 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-11 11:19:15 +00:00
oharboe
ac5fb03521
JTAG_END_STATE is now retired. It is no longer queued.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@493 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-11 11:03:40 +00:00
oharboe
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.
git-svn-id: svn://svn.berlios.de/openocd/trunk@492 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-11 09:06:00 +00:00
oharboe
970e16603b
Pavel Chromy: telnet line buffer size checking, history does not store repeating lines, improved history printing, log callback tweak
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@491 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-11 08:15:54 +00:00
oharboe
7dc025321c
backed out changes from 483.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@490 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-10 20:19:52 +00:00
oharboe
088bba4391
more target scripts wip.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@489 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-10 20:12:46 +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
cce7512ca9
Pavel Chromy: hopefully perfection for async output and prompt/partially typed command line handling.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@487 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-10 20:05:48 +00:00
oharboe
e378eeec36
Pavel Chromy: the attached patch refines PRESTO support and makes it work with libftdi.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@486 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-10 17:24:44 +00:00