SPI FLASH Recovery/XO-1.5

From OLPC
Jump to navigation Jump to search


Pencil.png NOTE: The contents of this page are not set in stone, and are subject to change!

This page is a draft in active flux ...
Please leave suggestions on the talk page.

Pencil.png

You Need

  • the bricked laptop, called the target,
  • a working XO-1.5 laptop, with latest Firmware, and a serial cable, called the host,
  • a third computer to act as a terminal to the host, a serial cable, with serial port configured for 115200 bps,
  • wire, soldering iron, antistatic environment,
  • optional IDC 2.54mm six pin SMT DIL headers, and an IDC cable 15cm long,

Setup

  • disassemble the target and host PCBs and lay them out with top edges close but not touching,
  • connect the serial cable between the host and the terminal and verify normal operation of the host, then turn off the host,
  • place schottky diode D4 next to J3 on the host, this provides 3.3V to J3 when the host is powered,
  • install the header at J3 on the host,
  • add a 2K resistor between pins 1 and 2 of J3 on the host, this compensates for a weak pullup,
  • install the header at J2 on the target,
  • connect using the IDC cable observing connector polarity.

Alternate Setup

  • in place of schottky diode D4, short the D4 component position next to J3 on the host, this provides 3.3V to J3 when the host is powered, but without protecting the host from power flowing from the target, be sure not to power the target,
  • in place of the headers and the IDC cable, use six 15cm lengths of wire, and link each pin of J3 on the host to J2 on the target in turn,

Transfer

  • turn on the host,
  • on the terminal use ESC to interrupt the host startup and obtain the Ok prompt,
ok
  • clone the SPI FLASH:
ok clone
Getting a copy of this machine's FLASH
SPI FLASH type is 13 - Spansion, Winbond, or ST
Writing
d0000
Writing
f0000
Verifying
d0000
Verifying
f0000
ok 
  • turn off the host.
ok power-off

Testing

  • disconnect the cable between the target and the host,
  • attach serial cable to target,
  • attach power cable to target,
  • test the target.

Reasssembly

  • remove the header or ensure internal plastic is cut to permit it to remain.