oharboe
ccc2e3fe76
Laurentiu Cocanu - memory read/write and exit() error path fixes
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1064 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-15 11:44:36 +00:00
oharboe
af41e6aac8
김운식 <donari75@gmail.com> spotted a bug in target_write_u8
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1063 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-15 07:08:18 +00:00
ntfreak
d58229e73b
- remove build warnings
...
- add missing svn props
git-svn-id: svn://svn.berlios.de/openocd/trunk@1062 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-14 20:58:28 +00:00
oharboe
347db1b736
Laurentiu Cocanu - fix error handling
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1061 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-14 18:02:36 +00:00
oharboe
c40d652546
fixed a few crashes in syntax handling
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1060 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-14 13:35:38 +00:00
oharboe
2de5a007d1
Laurentiu Cocanu - more error handling fixes
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1059 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-14 13:14:52 +00:00
oharboe
257d238e61
Laurentiu Cocanu - add error handling
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1057 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-14 11:06:30 +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
08058e72d9
reset cleanup. Remove obsolete events that are not needed for compatibility.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1053 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-14 07:30:45 +00:00
oharboe
254bde2a23
Ben Bodley TEKNIQUE <ben@teknique.com> - support for the 1Mb Spansion Flash S29AL008D.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1051 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-14 06:27:46 +00:00
oharboe
4fa359b53d
John McCarthy <jgmcc@magma.ca> two patches add a mips_m4k target option (ejtag_reset) to cause a reset command to use the EJTAG Peripheral and System Reset in addition to srst. This is for targets like the wrt54gl which do not connect the
...
srst to a system reset (I believe it just goes to a GPIO).
git-svn-id: svn://svn.berlios.de/openocd/trunk@1050 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-14 06:26:33 +00:00
oharboe
539527ab74
John McCarthy <jgmcc@magma.ca> cleans up the usage of the
...
ejtag_info->ejtag_ctrl variable. It was being overwritten by the value read back from the EJTAG CONTROL register. Because of the way this register works you do not want to use the value returned to write the register, you always want to write the bits explicitly.
The second patch just reduces the DMA retries to 0 in anticipation of removing the retry code altogether.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1049 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-14 06:21:17 +00:00
oharboe
3600e7c6e0
reset cleanup
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1048 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-14 06:21:02 +00:00
oharboe
fe41e273e3
Retired old reset code according to plan.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1047 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-13 20:38:58 +00:00
oharboe
6bc51d7135
SEGFAULT gaffe in dummy register handling
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1046 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-13 13:11:44 +00:00
oharboe
a7ae35e798
hontor <hontor@126.com> - ARMV7_GDB_HACKS compilation error fix
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1045 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-13 12:17:11 +00:00
oharboe
b6caf057eb
fix crash when connecting GDB to powered down target
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1044 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-13 12:16:44 +00:00
oharboe
f7458c6b19
fix crash when connecting GDB to powered down target
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1043 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-13 12:04:05 +00:00
oharboe
bc25d4fa5e
Fixed gaffes in reset script handling + improved error
...
messages a bit. The file and line # of the syntax error
in a reset script is now printed.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1042 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-13 10:30:33 +00:00
oharboe
0a3b6213bb
Laurentiu Cocanu <laurentiu.cocanu@zylin.com> - Added additional error checks mostly to src/target/target.c
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1041 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-13 06:52:05 +00:00
oharboe
809a796209
Fix problems with DCC downloads routine crashing silently.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1040 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-12 17:28:12 +00:00
oharboe
0689815716
Duane Ellis: addresses protocol problems with GDB.
...
https://lists.berlios.de/pipermail/openocd-development/2008-October/003326.html
git-svn-id: svn://svn.berlios.de/openocd/trunk@1039 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-11 06:13:21 +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
c497006430
abort writing algorithm to target upon failure
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1037 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-09 16:12:44 +00:00
oharboe
fbdc87effc
enumeration of threads for testing purposes.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1035 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-09 12:05:57 +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
d798871a99
added busy sleep (for testing purposes)
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1033 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-09 08:08:29 +00:00
ntfreak
a5806d21d2
- remove build warnings from mips_m4k.c and arm11.c
...
- reformat whitespace arm11.c[ch]
- add missing svn props from mips32_dmaacc.[ch]
git-svn-id: svn://svn.berlios.de/openocd/trunk@1032 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-08 20:16:51 +00:00
oharboe
30e5bff4b8
Richard Missenden exit now works during startup script
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1031 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-08 13:07:21 +00:00
oharboe
4eadb146c1
file not found SEGFAULT fix
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1030 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-08 11:06:44 +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
9d4f9dbd0b
reduce patch problems by moving $xxx expansion into seperate fn
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1027 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-07 18:12:07 +00:00
oharboe
3aef2f0858
Fixes SEGFAULT when setting registers from GDB.
...
set $cpsr=1234
git-svn-id: svn://svn.berlios.de/openocd/trunk@1026 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-07 18:04:14 +00:00
oharboe
2babd87916
Frederik Kriewitz <frederik at kriewitz.eu> Segmentation fault fix.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1025 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-07 17:45:26 +00:00
oharboe
e8e5995160
fixed crash in dummy register handling
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1024 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-07 12:08:00 +00:00
oharboe
3b2518bd73
Georg Acher <acher@in.tum.de> - arm11 wip. run algorithm + small init bugfix.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1023 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-07 11:08:57 +00:00
ntfreak
ab362fb528
- remove build warnings
...
- add missing svn props
git-svn-id: svn://svn.berlios.de/openocd/trunk@1022 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-06 18:28:56 +00:00
oharboe
5ec6a48a4b
basic smoketest on lm3s3748.elf
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1020 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-06 12:14:52 +00:00
oharboe
7fd9ba22ba
Centralize error handling for buggy register handling
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1019 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-06 12:09:27 +00:00
oharboe
7b369df52c
better keep_alive() handling
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1018 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-06 11:16:10 +00:00
oharboe
333499a962
Georg Acher <acher@in.tum.de> implements the buffer flash mode for Spansion flashes. It's basically a clone of the Intel version, just a few details differ
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1017 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-06 06:22:58 +00:00
oharboe
9807a00206
Georg Acher <acher@in.tum.de> corrected TDO sampling
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1016 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-05 19:44:41 +00:00
oharboe
4eda44db36
timeout is now 1000ms instead of trying 100 times.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1015 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-04 07:56:13 +00:00
oharboe
316c9b9698
GDB alive fixes for verify_image
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1014 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-03 13:25:33 +00:00
oharboe
aef29d913f
Duane Ellis: added missing invocation of reset-init
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1013 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-01 09:53:32 +00:00
oharboe
ebbd959aee
fixed gaffe: disable interrupts reset init script
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1012 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-01 08:39:25 +00:00
oharboe
5ea46227b0
fixed gaffe: disable interrupts reset init script
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1011 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-01 08:18:27 +00:00
ntfreak
a48ac31dff
- at91sam7.c remove build warnings
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1010 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-29 08:45:52 +00:00
ntfreak
279affdb98
- convert spaces to tabs in at91sam7.[ch]
...
- add missing svn props
git-svn-id: svn://svn.berlios.de/openocd/trunk@1009 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-27 13:00:01 +00:00
oharboe
c90c48b00b
I do not know why this is necessary, but it fixes strange effects
...
(step/resume cause a NMI after reset) on LM3S6918 -- Michael Schwingen
git-svn-id: svn://svn.berlios.de/openocd/trunk@1008 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-26 18:00:10 +00:00