summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-10-23 14:14:34 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-10-23 14:14:34 +0000
commit74bb0cd2440947a35a158ec8c52cb829f68eed60 (patch)
treead8a69db6f30f61edc1c6028428f951a335e7eb6 /src
parent5df88ed3a1afb0334318a15d46474016b6e6d837 (diff)
downloadopenocd+libswd-74bb0cd2440947a35a158ec8c52cb829f68eed60.tar.gz
openocd+libswd-74bb0cd2440947a35a158ec8c52cb829f68eed60.tar.bz2
openocd+libswd-74bb0cd2440947a35a158ec8c52cb829f68eed60.tar.xz
openocd+libswd-74bb0cd2440947a35a158ec8c52cb829f68eed60.zip
fix working memory location
git-svn-id: svn://svn.berlios.de/openocd/trunk@1098 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src')
-rw-r--r--src/target/target/at91eb40a.cfg16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/target/target/at91eb40a.cfg b/src/target/target/at91eb40a.cfg
index 42ce2f3f..60153be9 100644
--- a/src/target/target/at91eb40a.cfg
+++ b/src/target/target/at91eb40a.cfg
@@ -25,16 +25,11 @@ flash bank ecosflash 0x01000000 0x200000 2 2 0 ecos/at91eb40a.elf
# required for usable performance. Used for lots of
# other things than flash programming.
-working_area 0 0x00000000 0x20000 nobackup
+working_area 0 0x00030000 0x10000 nobackup
-
-global reset_count
-set reset_count 0
-
[new_target_name] configure -event reset-init {
puts "Running reset init script for AT91EB40A"
- global reset_count
# Reset script for AT91EB40a
reg cpsr 0x000000D3
mww 0xFFE00020 0x1
@@ -43,13 +38,4 @@ set reset_count 0
mww 0xFFFFF124 0xFFFFFFFF
mww 0xffff0010 0x100
mww 0xffff0034 0x100
- set reset_count [expr $reset_count+1]
- echo "Testing reset $reset_count !"
-
-}
-
-[new_target_name] configure -event reset-start {
- global reset_count
- set reset_count [expr $reset_count+1]
- echo "Testing pre_reset $reset_count !"
}