fix working memory location
git-svn-id: svn://svn.berlios.de/openocd/trunk@1098 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
parent
5df88ed3a1
commit
74bb0cd244
|
@ -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 !"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue