SPI FLASH Recovery/XO-4

From OLPC
< SPI FLASH Recovery
Revision as of 04:52, 21 March 2013 by Quozl (talk | contribs) (Created page with '<noinclude>Category:HardwareCategory:FirmwareCategory:Repair</noinclude> == You Need == *the bricked laptop, called the ''target'', *a working XO-1.5 laptop, with l…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


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,
  • twelve pin headers, in four rows of three,
  • six 15cm lengths of female to female pin header jumper cables,

Setup

  • remove main battery and power cords from target and host laptops,
  • disassemble the target and host to PCB level,
  • place the PCBs upside down on a non-conductive but anti-static surface, with top edges close but not touching, adding insulation or adhesive if there is a risk of movement,
  • connect the serial cable between the host and the terminal and verify normal operation of the host, then turn off the host,
  • 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,
  • add a 2K resistor between pins 1 and 2 of J3 on the host, this compensates for a weak pullup,
  • install pin headers on J3 on the host,
  • install pin headers on J2 on the target,
  • connect each pin of J3 on the host to J2 on the target in turn, using the jumper cables, pin 1 of J3 to pin 1 of J2,
  • add power cord to host only.

Transfer

  • turn on the host, while on the terminal use ESC to interrupt the host startup and obtain the Ok prompt,
ok
  • copy the SPI FLASH to a USB drive (requires Q3C12 plus svn 3621),
ok excavate u:\copy.rom
  • write the intended image (requires Q3C12),
ok recover u:\new.rom
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 by using ESC to obtain the Ok prompt.

Reasssembly

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