mirror of
git://projects.qi-hardware.com/wernermisc.git
synced 2024-12-19 03:20:44 +02:00
m1rc3/norruption/2/dumpotp: quick and dirty script to dump the OTP memory
(Factory and user part.)
This commit is contained in:
parent
a6136bd027
commit
97af8ea057
22
m1rc3/norruption/2/dumpotp
Executable file
22
m1rc3/norruption/2/dumpotp
Executable file
@ -0,0 +1,22 @@
|
||||
#!/bin/sh
|
||||
|
||||
jtag -q <<EOF
|
||||
cable milkymist
|
||||
detect
|
||||
instruction CFG_OUT 000100 BYPASS
|
||||
instruction CFG_IN 000101 BYPASS
|
||||
pld load fjmem.bit
|
||||
initbus fjmem opcode=000010
|
||||
frequency 6000000
|
||||
detectflash 0
|
||||
poke 0 0x90
|
||||
peek 0x102
|
||||
peek 0x104
|
||||
peek 0x106
|
||||
peek 0x108
|
||||
peek 0x10a
|
||||
peek 0x10c
|
||||
peek 0x10e
|
||||
peek 0x110
|
||||
poke 0 0xff
|
||||
EOF
|
Loading…
Reference in New Issue
Block a user