[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Libreboot] No EEPROM found using Bus Pirate for flashing X200 (Winbond
From: |
Giulio |
Subject: |
[Libreboot] No EEPROM found using Bus Pirate for flashing X200 (Winbond W25X64) |
Date: |
Sat, 7 May 2016 11:14:29 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 |
Hello,
i'm trying to use flashrom with a bus pirate to flash the BIOS of a X200
thinkpad.
The chip model is Winbond W25X64 (8MB).
The bus pirate and the bus pirate cable are from seeed studio.
>HiZ>i
>Bus Pirate v3.5
>Firmware v6.1 r1676 Bootloader v4.4
>DEVID:0x0447 REVID:0x3046 (24FJ64GA002 B8)
>http://dangerousprototypes.com
Since I don't want to solder anything and all guide on flashing over the
internet included a SOIC CLIP a bought a Pomona 5252 and followed the
schema available here[1] which seems to match the schema on the official
datahseet[2].
My bus pirate setup:
>HiZ>i
>Bus Pirate v3.5
>Firmware v6.1 r1676 Bootloader v4.4
>DEVID:0x0447 REVID:0x3046 (24FJ64GA002 B8)
>http://dangerousprototypes.com
>HiZ>m
>1. HiZ
>2. 1-WIRE
>3. UART
>4. I2C
>5. SPI
>6. 2WIRE
>7. 3WIRE
>8. LCD
>x. exit(without change)
>
>(1)>5
>Set speed:
>1. 30KHz
>2. 125KHz
>3. 250KHz
>4. 1MHz
>
>(1)>3
>Clock polarity:
>1. Idle low *default
>2. Idle high
>
>(1)>
>Output clock edge:
>1. Idle to active
>2. Active to idle *default
>
>(2)>
>Input sample phase:
>1. Middle *default
>2. End
>
>(1)>
>CS:
>1. CS
>2. /CS *default
>
>(2)>
>Select output type:
>1. Open drain (H=Hi-Z, L=GND)
>2. Normal (H=3.3V, L=GND)
>
>(1)>2
>Ready
>SPI>v
>Pinstates:
>1.(BR) 2.(RD) 3.(OR) 4.(YW) 5.(GN) 6.(BL) 7.(PU) 8.(GR) >9.(WT)
0.(Blk)
>GND 3.3V 5.0V ADC VPU AUX CLK MOSI >CS
MISO
>P P P I I I O O >O I
>GND 1.38V 0.00V 0.00V 0.00V L L L >H H
>SPI>W
>POWER SUPPLIES ON
>SPI>v
>Pinstates:
>1.(BR) 2.(RD) 3.(OR) 4.(YW) 5.(GN) 6.(BL) 7.(PU) 8.(GR) >9.(WT)
0.(Blk)
>GND 3.3V 5.0V ADC VPU AUX CLK MOSI >CS
MISO
>P P P I I I O O >O I
>GND 3.29V 4.93V 0.00V 0.00V L L L >H H
>SPI>
Now on the bus pirate both MODE and VREG leds are on.
However if I run
>flashrom -p buspirate_spi:dev=/dev/ttyUSB3
>flashrom v0.9.9-r1955 on Linux 4.4.4.201603032158-1-grsec (i686)
>flashrom is free software, get the source code at URL: flashrom+org
>2. Normal (H=3.3V, L=GND)
>Calibrating delay loop... OK.
>Bus Pirate firmware 6.1 and older does not support SPI speeds above 2
>MHz. Limiting speed to 2 MHz.
>It is recommended to upgrade to firmware 6.2 or newer.
>No EEPROM/flash device found.
>Note: flashrom can never write if the flash chip isn't found
>automatically.Blk)
Durin this process, both MODE and VREG leds are turned off and the bus
pirate seems to reset (or at least it exits from the SPI mode).
Pictures album[3]
Any help or suggestion would be apprecited!
Thanks
[1]
https://github.com/bibanon/Coreboot-ThinkPads/wiki/X200-X201-Hardware-Flashing
[2] http://datasheet4u.com/datasheet/2/5/X/25X32_Winbond.pdf.html
[3] https://imgur.com/a/rfel5
- [Libreboot] No EEPROM found using Bus Pirate for flashing X200 (Winbond W25X64),
Giulio <=