# 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
        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 !"
 }