projects
/
openocd-rpi2-stm32
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15228ce
)
dump flash bank0 and bank1 along with eeprom
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Wed, 31 Mar 2021 14:12:00 +0000
(16:12 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Wed, 31 Mar 2021 14:12:00 +0000
(16:12 +0200)
zc-dump.sh
[new file with mode: 0755]
patch
|
blob
diff --git a/zc-dump.sh
b/zc-dump.sh
new file mode 100755
(executable)
index 0000000..
298c23c
--- /dev/null
+++ b/
zc-dump.sh
@@ -0,0
+1,6
@@
+#!/bin/sh -xe
+
+id=$1
+test -z "$id" && id=$$
+
+/bin/echo -e "flash read_bank 0 $id.bank0\nflash read_bank 1 $id.bank1\nmdw 0x08080000 1536\nexit\n" | nc localhost 4444 | tee $id.eeprom