any comments for the MX25L6445E?
From: flashrom-bounces(a)flashrom.org [mailto:firstname.lastname@example.org] On Behalf Of Wagner, Helge (GE Intelligent Platforms)
Sent: Montag, 30. Mai 2011 14:08
Subject: [flashrom] [PATCH] Macronix MX25L6445E
i have tried to reprogram a Macronix MX25L6445E flash chip. This worked, but gave me an error message:
ERASE FAILED at 0x0001107f! Expected=0xff, Read=0x00, failed byte count from 0x00010000-0x0001ffff: 0x9c15 ERASE FAILED!
Looking deeper into the datasheet, i saw that the MX25L6445E has the same ID as the MX25L6405, but with (at least) one difference:
The MX25L6405 has a block size of 64KByte for erase function 20h, while the MX25L6445E is using 4KByte sector size for the same erase function 20h. As a result the spi_block_erase_20() will fail for the MX25L6445E (while the spi_block_erase_d8() which is used then will succeed).
I have now re-ordered the erase functions for the MX25L6405/MX25L6445E:
spi_block_erase_d8 - first
spi_block_erase_60 - second
spi_block_erase_c7 - third
spi_block_erase_20 - last
So if one of the d8/60/c7 erase functions are successfull, the spi_block_erase_20 will never be called.
To be sure that the spi_block_erase_20 works for both the MX25L6405 and the MX25L6445E, we could change the block erase size from 64K to 4K. This should work even for the MX25L6405, but with the side effect of the erase taking longer than needed.
Please find my patches included.
Signed-off-by: Helge Wagner <Helge.Wagner(a)ge.com>
I am trying to communicate with a 1MB SST25VF010 flash chip using flashrom V0.9.2-r1141 on Ubuntu 11.04 through a Bus Pirate v3b.
I am a novice user of all four.
Flashrom reports: Found chip "Generic unknown SPI chip (RDID)" (0 KB, SPI) at physical address 0x0.
Could it be that this chip (http://www.farnell.com/datasheets/82222.pdf) is not supported by flashrom?
Could it be that flashrom is not using the required serial mode 0 or 3?
With kind regards,
Flashrom advised to send log reports for the above flash chip. I can
confirm successful operation when flashing gPXE as well as flashing back
to the original flashrom dumped firmware.
Flashing was done using a 3COM 3C905C: EtherLink 10/100 PCI (TX) NIC.
The chip (W25X16AVSSIG) has status UNTESTED for the operation WRITE. It looks like it
works for me.
I attached the output for the following command:
sudo ./flashrom -p dediprog -Vw ~/coreboot-git/build/coreboot.rom
Proformatique (groupe Avencall) - XiVO IPBX OpenHardware
10 bis, rue Lucien VOILIN - 92800 Puteaux