<div dir="ltr">Yes, that was the issue.<div>Thanks for clearing it up.</div><div><br></div><div>--</div><div>Pradeep Ch.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jul 31, 2016 at 4:18 PM, Stefan Tauner <span dir="ltr"><<a href="mailto:stefan.tauner@alumni.tuwien.ac.at" target="_blank">stefan.tauner@alumni.tuwien.ac.at</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sun, 31 Jul 2016 15:34:18 +0530<br>
Pradeep Ch <<a href="mailto:pradeepsysargus@gmail.com">pradeepsysargus@gmail.com</a>> wrote:<br>
<br>
> favorite<br>
> <<a href="http://stackoverflow.com/questions/38674226/flashrom-tool-command-has-failed-to-write-to-nor-flash-using-arm-usb-ocd-jtag#" rel="noreferrer" target="_blank">http://stackoverflow.com/questions/38674226/flashrom-tool-command-has-failed-to-write-to-nor-flash-using-arm-usb-ocd-jtag#</a>><br>
<span class="">><br>
> I am able to detect my flash chip when I use the command:<br>
><br>
> ./flashrom -p ft2232_spi:type=arm-usb-ocd -c EN25Q64<br>
><br>
> If use the below command to write binary file to the flash memory using<br>
> JTAG - ARM-USB-OCD debugger for my target board RT5350F-OLinuXino-EVB,<br>
><br>
> ./flashrom -p ft2232_spi:type=arm-usb-ocd -w<br>
> FlashImage_RT5350F_OLinuXino_EVB.bin<br>
><br>
> I am getting an error, the error is:<br>
><br>
> Found Eon flash chip "EN25Q64" (8192 kB, SPI) on ft2232_spi.<br>
> ftdi_write_data: -110, usb bulk write failed<br>
> send_buf failed before read: 1<br>
> Reading old flash chip contents... ftdi_read_data: -110, usb bulk read failed<br>
> get_buf failed: 1<br>
> FAILED.<br>
<br>
</span>Do you power the whole setup via the OCD? That might be the culprit. I<br>
presume that it can not supply enough current in all operating modes.<br>
Apparently it is enough to probe for the chip though...<br>
<span class="HOEnZb"><font color="#888888">--<br>
Kind regards/Mit freundlichen Grüßen, Stefan Tauner<br>
</font></span></blockquote></div><br></div>