Based on your description, this seems to be a connection problem. What
Bus Pirate you're using - v3 or v4 ? I have v4 and never had to modify
any flashrom source files. If you clone the latest flashrom sources
and build them, they should work for you without any modifications.
How did you connect the cables? As you could see from this manual
http://dangerousprototypes.com/docs/Flashing_a_BIOS_chip_with_Bus_Pirate#1P_to_3P_adapter
, it's advised to connect not just VCC but also WP and HOLD, - to a
single 3.3v pin, because a Bus Pirate only has one.

On Wed, Aug 19, 2020 at 8:15 PM bmgd...@gmx.de <bmgd...@gmx.de> wrote:
>
> Hi Mike,
>
> thanks for helping. I have taken a step forward. First problem was using
> bus pirate in virtual box (with linux ubuntu). After that i installed
> ubuntu on my computer as second operating system. Then flashrom reads
> the mx25l3255e chip.
>
> But there is a second issue. I get only 00's. I sent you the dump file,
> log file and the config files which i used. I implanted the chip there.
>
> Do you see a mistake in the config files or do you see a problem in the
> log file?
>
>
> Best regards
>
> Daniel
>
>
>
> Am 18.08.2020 um 12:29 schrieb Mike Banon:
> > How long have you waited? Depending on a firmware installed, Bus
> > Pirate may be a little slow: check the Bus Pirate Community Firmware
> > project for the firmware updates. Also, try running this with a higher
> > verbosity, i.e. -VV or -VVV or even more V - that could give you some
> > hints. Also please make sure that your connectivity is good enough
> >
> > On Sun, Aug 16, 2020 at 11:23 PM bmgd...@gmx.de <bmgd...@gmx.de> wrote:
> >> Hi flashrom team,
> >>
> >> i try to read the mx25l3255e 
> >> (https://media.digikey.com/pdf/Data%20Sheets/Macronix/MX25L3255E.pdf) 
> >> chip. But it don't work. I have tried to patch flashrom but output say:
> >>
> >> sudo ./flashrom -f -p buspirate_spi:dev=/dev/ttyUSB0,spispeed=115 -V -r 
> >> test_mx25l3255e.bin -c MX25L3255E
> >>
> >> flashrom unknown on Linux 5.4.0-42-generic (x86_64)
> >> flashrom is free software, get the source code at https://flashrom.org
> >>
> >> flashrom was built with libpci 3.6.4, GCC 9.3.0, little endian
> >> Command line (8 args): ./flashrom -f -p 
> >> buspirate_spi:dev=/dev/ttyUSB0,spispeed=115 -V -r test_mx25l3255e.bin -c 
> >> MX25L3255E
> >> Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
> >> Initializing buspirate_spi programmer
> >> Invalid SPI speed, using default.
> >> Detected Bus Pirate hardware 3.5
> >> Detected Bus Pirate firmware 7.0
> >> Using SPI command set v2.
> >> SPI speed is 8MHz
> >> Bus Pirate v3 or newer detected. Set serial speed to 2M baud.
> >> Serial speed is 2000000 baud
> >> Raw bitbang mode version 1
> >> Raw SPI mode version 1
> >> The following protocols are supported: SPI.
> >> Probing for Macronix MX25L3255E, 4096 kB: probe_spi_rdid_generic: id1 
> >> 0xc2, id2 0x9e16
> >> Found Macronix flash chip "MX25L3255E" (4096 kB, SPI) on buspirate_spi.
> >> Chip security register: 0x80
> >>      WPSEL is ON
> >> Chip status register is 0x7c.
> >> Chip status register: Status Register Write Disable (SRWD, SRP, ...) is 
> >> not set
> >> Chip status register: Bit 6 is set
> >> Chip status register: Block Protect 3 (BP3) is set
> >> Chip status register: Block Protect 2 (BP2) is set
> >> Chip status register: Block Protect 1 (BP1) is set
> >> Chip status register: Block Protect 0 (BP0) is 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).
> >> ===
> >> This flash part has status UNTESTED for operations: PROBE READ ERASE WRITE
> >> The test status of this chip may have been updated in the latest 
> >> development
> >> version of flashrom. If you are running the latest development version,
> >> please email a report to flashrom@flashrom.org if any of the above 
> >> operations
> >> work correctly for you with this flash chip. Please include the flashrom 
> >> log
> >> file for all operations you tested (see the man page for details), and 
> >> mention
> >> which mainboard or programmer you tested in the subject line.
> >> Thanks for your help!
> >> Some block protection in effect, disabling... Block protection could not 
> >> be disabled!
> >> Chip security register: 0x80
> >>      WPSEL is ON
> >> Chip status register is 0x7c.
> >> Chip status register: Status Register Write Disable (SRWD, SRP, ...) is 
> >> not set
> >> Chip status register: Bit 6 is set
> >> Chip status register: Block Protect 3 (BP3) is set
> >> Chip status register: Block Protect 2 (BP2) is set
> >> Chip status register: Block Protect 1 (BP1) is set
> >> Chip status register: Block Protect 0 (BP0) is set
> >> Chip status register: Write Enable Latch (WEL) is not set
> >> Chip status register: Write In Progress (WIP/BUSY) is not set
> >> Reading flash...
> >>
> >> But then nothing happens. Can you help? That would be great!
> >>
> >>
> >> Best regards
> >>
> >> Daniel
> >>
> >> _______________________________________________
> >> flashrom mailing list -- flashrom@flashrom.org
> >> To unsubscribe send an email to flashrom-le...@flashrom.org
_______________________________________________
flashrom mailing list -- flashrom@flashrom.org
To unsubscribe send an email to flashrom-le...@flashrom.org

Reply via email to