summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-04-30 18:59:39 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-04-30 18:59:39 +0000
commit1231443b593cd8ea1e91aa476dfe4403f0402e2f (patch)
treeeb1bf4dbce01d2df9b145efaaec1f90db1db0bec /src
parentf8a117258a7f8df85a37b64ea687fa3dfdc48f1c (diff)
downloadopenocd_libswd-1231443b593cd8ea1e91aa476dfe4403f0402e2f.tar.gz
openocd_libswd-1231443b593cd8ea1e91aa476dfe4403f0402e2f.tar.bz2
openocd_libswd-1231443b593cd8ea1e91aa476dfe4403f0402e2f.tar.xz
openocd_libswd-1231443b593cd8ea1e91aa476dfe4403f0402e2f.zip
lpc2148 fixes from Edgar Grimberg
git-svn-id: svn://svn.berlios.de/openocd/trunk@631 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src')
-rw-r--r--src/target/Makefile.am2
-rw-r--r--src/target/event/lpc2148_reset.script2
-rw-r--r--src/target/target/lpc2148.cfg2
3 files changed, 4 insertions, 2 deletions
diff --git a/src/target/Makefile.am b/src/target/Makefile.am
index 18fefbe2..05a395ef 100644
--- a/src/target/Makefile.am
+++ b/src/target/Makefile.am
@@ -31,4 +31,4 @@ nobase_dist_pkglib_DATA = xscale/debug_handler.bin event/at91eb40a_reset.script
target/str730.cfg target/stm32stick.cfg event/str912_reset.script event/str710_program.script \
target/lm3s811.cfg interface/luminary.cfg interface/luminary-lm3s811.cfg interface/stm32-stick.cfg \
interface/calao-usb-a9260-c01.cfg interface/calao-usb-a9260-c02.cfg \
- interface/calao-usb-a9260.cfg target/at91sam9260minimal.cfg
+ interface/calao-usb-a9260.cfg target/at91sam9260minimal.cfg event/lpc2148_reset.script
diff --git a/src/target/event/lpc2148_reset.script b/src/target/event/lpc2148_reset.script
new file mode 100644
index 00000000..1bf3aacf
--- /dev/null
+++ b/src/target/event/lpc2148_reset.script
@@ -0,0 +1,2 @@
+#do not remap 0x0000-0x0020 to anything but the flash
+mwb 0xE01FC040 0x01
diff --git a/src/target/target/lpc2148.cfg b/src/target/target/lpc2148.cfg
index 01fd32a9..68652b18 100644
--- a/src/target/target/lpc2148.cfg
+++ b/src/target/target/lpc2148.cfg
@@ -21,7 +21,7 @@ run_and_halt_time 0 30
working_area 0 0x40000000 0x4000 nobackup
#flash bank lpc2000 <base> <size> 0 0 <target#> <variant>
-flash bank lpc2000 0x0 0x7d000 0 0 0 lpc2000_v2 14765 calc_checksum
+flash bank lpc2000 0x0 0x7d000 0 0 0 lpc2000_v2 14765
# For more information about the configuration files, take a look at:
# http://openfacts.berlios.de/index-en.phtml?title=Open+On-Chip+Debugger