I have been pulling whats left of my hair out by the roots.
Thinking now maybe I should not have tried using the v3 MBA easy flash with the pi on this board.
No problem getting a clean dump, removed password and tried many times to write back using the same command line that has always worked on these Macronix flash chips.
What I am getting looks to be low 3.3v
Probing for Macronix MX25L6406E/MX25L6408E, 8192 kB: probe_spi_rdid_generic: id1 0xc2, id2 0x2017
Found Macronix flash chip "MX25L6406E/MX25L6408E" (8192 kB, SPI) on linux_spi.
Chip status register is 0x00.
Chip status register: Status Register Write Disable (SRWD, SRP, ...) is not set
Chip status register: Bit 6 is not set
Chip status register: Block Protect 3 (BP3) is not set
Chip status register: Block Protect 2 (BP2) is not set
Chip status register: Block Protect 1 (BP1) is not set
Chip status register: Block Protect 0 (BP0) is not set
Chip status register: Write Enable Latch (WEL) is not set
Chip status register: Write In Progress (WIP/BUSY) is not set
This chip may contain one-time programmable memory. flashrom cannot read
and may never be able to write it, hence it may not be able to completely
clone the contents of this chip (see man page for details).
Erasing and writing flash chip...
failed byte count from 0x00000000-0x00000fff: 0xd0
ERASE FAILED!
So I tried the battery plugged in and also the magsafe plugged in.
Same results, its a no go, I can't even write the original bin back without the erase error.
knowing that my PI2 really only supplies about 2.81v on that 3.3v rail regardless of what power supplies I use, tried plenty with greater than 2a
I decided to use external power, the spec sheet says 2.7v-3.6v should do it. 3.5v it is and still no work.
Any ideas? At this point being that it is a a1502, the board actually needs to be lifted some to get the easy flash onto the socket, really no option to boot first at this point since I can't seem to get clean write and the board is no longer bootable in this state.
May have to go via leads directly to pads, or send it in to have someone else write a clean bin onto it.
Still at a loss here, I have done many of these Macronix chips with this setup and never an issue
Still not sure if its a power problem, but flash rom does say data on the chip had been changed.
Is it safe to try an erase of the chip to blank it out and start over or what other options should I be looking at?
Its done!
What I did was remove WP from the line & left battery disconnected while having the magsafe charger connected.
Was first able to place back on the original rom dump, then went ahead with a cleaned copy of that dump.
Works
edit btw I did use the 3.3v or more like 2.81v from the PI without a problem
This website uses cookies to manage authentication, navigation, and other functions. By using our website, you agree that we can place these types of cookies on your device.
You have declined cookies. This decision can be reversed.
You have allowed cookies to be placed on your computer. This decision can be reversed.
This website uses cookies to manage authentication, navigation, and other functions. By using our website, you agree that we can place these types of cookies on your device.