summaryrefslogtreecommitdiffstats
path: root/uc_str912/scripts/str91x-configs/str91x_flashprogram.ocd
diff options
context:
space:
mode:
Diffstat (limited to 'uc_str912/scripts/str91x-configs/str91x_flashprogram.ocd')
-rw-r--r--uc_str912/scripts/str91x-configs/str91x_flashprogram.ocd7
1 files changed, 7 insertions, 0 deletions
diff --git a/uc_str912/scripts/str91x-configs/str91x_flashprogram.ocd b/uc_str912/scripts/str91x-configs/str91x_flashprogram.ocd
new file mode 100644
index 0000000..ad854e1
--- /dev/null
+++ b/uc_str912/scripts/str91x-configs/str91x_flashprogram.ocd
@@ -0,0 +1,7 @@
+wait_halt
+str9x flash_config 4 2 0 0x80000
+flash protect 0 0 10 off
+flash erase 0 0 10
+flash write 0 main.bin 0
+reset
+shutdown
OpenPOWER on IntegriCloud