openocd {mww 0xffff0010 0x100}\r
openocd {mww 0xffff0034 0x100}\r
set reset_count [expr $reset_count+1]\r
- puts "Testing reset $reset_count !"\r
+ echo "Testing reset $reset_count !"\r
+}\r
+\r
+proc target_pre_reset_0 {} {\r
+ global reset_count\r
+ set reset_count [expr $reset_count+1]\r
+ echo "Testing pre_reset $reset_count !"\r
}\r
}\r
\r
# Production command\r
+# FIX!!! need to figure out how to feed back relevant output\r
+# from e.g. "flash banks" command...\r
proc board_produce {filename serialnumber} {\r
openocd "reset init"\r
openocd "flash write_image erase $filename [flash] bin"]]\r