Werner's Miscellanea
Sign in or create your account | Project List | Help
Werner's Miscellanea Commit Details
Date: | 2011-10-14 16:46:19 (12 years 1 month ago) |
---|---|
Author: | Werner Almesberger |
Commit: | 97af8ea05702087ba502a72146987812347061b9 |
Message: | m1rc3/norruption/2/dumpotp: quick and dirty script to dump the OTP
memory (Factory and user part.) |
Files: |
m1rc3/norruption/2/dumpotp (1 diff) |
Change Details
m1rc3/norruption/2/dumpotp | ||
---|---|---|
1 | #!/bin/sh | |
2 | ||
3 | jtag -q <<EOF | |
4 | cable milkymist | |
5 | detect | |
6 | instruction CFG_OUT 000100 BYPASS | |
7 | instruction CFG_IN 000101 BYPASS | |
8 | pld load fjmem.bit | |
9 | initbus fjmem opcode=000010 | |
10 | frequency 6000000 | |
11 | detectflash 0 | |
12 | poke 0 0x90 | |
13 | peek 0x102 | |
14 | peek 0x104 | |
15 | peek 0x106 | |
16 | peek 0x108 | |
17 | peek 0x10a | |
18 | peek 0x10c | |
19 | peek 0x10e | |
20 | peek 0x110 | |
21 | poke 0 0xff | |
22 | EOF |
Branches:
master