Date:2011-10-14 16:46:19 (7 years 11 months 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
3jtag -q <<EOF
4cable milkymist
5detect
6instruction CFG_OUT 000100 BYPASS
7instruction CFG_IN 000101 BYPASS
8pld load fjmem.bit
9initbus fjmem opcode=000010
10frequency 6000000
11detectflash 0
12poke 0 0x90
13peek 0x102
14peek 0x104
15peek 0x106
16peek 0x108
17peek 0x10a
18peek 0x10c
19peek 0x10e
20peek 0x110
21poke 0 0xff
22EOF

Archive Download the corresponding diff file

Branches:
master



interactive