[flashrom] Failed to write/read NOR flash EN25Q64 using ARM-USB-OCD Jtag.

Pradeep Ch pradeepsysargus at gmail.com
Mon Aug 1 09:20:20 CEST 2016


Yes, that was the issue.
Thanks for clearing it up.

--
Pradeep Ch.

On Sun, Jul 31, 2016 at 4:18 PM, Stefan Tauner <
stefan.tauner at alumni.tuwien.ac.at> wrote:

> On Sun, 31 Jul 2016 15:34:18 +0530
> Pradeep Ch <pradeepsysargus at gmail.com> wrote:
>
> > favorite
> > <
> http://stackoverflow.com/questions/38674226/flashrom-tool-command-has-failed-to-write-to-nor-flash-using-arm-usb-ocd-jtag#
> >
> >
> > I am able to detect my flash chip when I use the command:
> >
> > ./flashrom -p ft2232_spi:type=arm-usb-ocd -c EN25Q64
> >
> > If use the below command to write binary file to the flash memory using
> > JTAG - ARM-USB-OCD debugger for my target board RT5350F-OLinuXino-EVB,
> >
> > ./flashrom -p ft2232_spi:type=arm-usb-ocd -w
> > FlashImage_RT5350F_OLinuXino_EVB.bin
> >
> > I am getting an error, the error is:
> >
> > Found Eon flash chip "EN25Q64" (8192 kB, SPI) on ft2232_spi.
> > ftdi_write_data: -110, usb bulk write failed
> > send_buf failed before read: 1
> > Reading old flash chip contents... ftdi_read_data: -110, usb bulk read
> failed
> > get_buf failed: 1
> > FAILED.
>
> Do you power the whole setup via the OCD? That might be the culprit. I
> presume that it can not supply enough current in all operating modes.
> Apparently it is enough to probe for the chip though...
> --
> Kind regards/Mit freundlichen Grüßen, Stefan Tauner
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.flashrom.org/pipermail/flashrom/attachments/20160801/76ead3ab/attachment.html>


More information about the flashrom mailing list