Return exit code 0 after using openocd script
Shutdown after catching halt
@@ -65,7 +65,6 @@ proc jtag_init {} {
#set scriptDir [ getScriptDirectory ]
fusing_image_all
reset
- shutdown
}
proc s5j_set_ft2232_serial { arg1 } {
@@ -304,3 +303,11 @@ proc fusing_image_wlan {} {
load_image $WLAN_PATH 0x60304000
echo "Done"
}
+
+proc s5jt200_shutdown {} {
+ init
+ catch {halt}
+ echo "s5jt200_shutdown"
+ shutdown
+}
+s5jt200_shutdown
