Teensy3 SPI flash reader/writer

More info: trmm.net/SPI_fl… | Flickr
Teensy3 SPI flash reader/writer

Documentation is partial and implicit. What I did:

  1. Bought CLIP with male-female and female-female adapters, respected the picture connections and soldered red and grey cables onthe teensy 3.2
  2. Needs teensyduino. Follow their instructions.
  3. download hudson’s code.
  4. Flash thru arduino tool. Then follow this
  5. Install minicom, pv and lrzsz
  6. Connect CLIP firmly on chip before connecting usb cable.
  7. minicom -D /dev/ttyACM0  and typing i should display a stable number different of 00000000 or FFFFFFFF.Note: unhuffme output confirms that the ME chip is the lower one, bios flash is the upper one.

Read rom with:

   rx < /dev/ttyACM0 > /dev/ttyACM0 rom.bin

Flash with

 pv rom.bin > /dev/ttyACM0