summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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