summaryrefslogtreecommitdiff
path: root/bsp/tools
diff options
context:
space:
mode:
Diffstat (limited to 'bsp/tools')
-rwxr-xr-xbsp/tools/openocd_upload.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/tools/openocd_upload.sh b/bsp/tools/openocd_upload.sh
index afa9dad..ecbe3b4 100755
--- a/bsp/tools/openocd_upload.sh
+++ b/bsp/tools/openocd_upload.sh
@@ -1,5 +1,5 @@
#! /bin/bash -x
openocd -f ${2} \
- -c "flash protect 0 64 last off; program ${1}; resume 0x20400000; exit" \
+ -c "flash protect 0 64 last off; program ${1} verify; resume 0x20400000; exit" \
2>&1 | tee openocd_upload.log