Thank you for the links, but I still can't find an answer on how to operate SPI Flash through JTAG.
Is there any spec, which is explaining flash commands?
I only found these commands:
flash protect 0 0 2 off
flash write_image erase /some/file.bin
But not sure if it's working on Galileo, and I want to read Flash ROM before start using write_image.
1 of 1 people found this helpful
You cannot use JTAG to program the Flash, use a dediprog or the Flash Ultilites.
Programming the flash is documented in Chapter 8 and following of
And in the Intel Quark EoC UEFI Firmware Writers Guide, Chapter 22.
Thank you for pointing me on user guide.
There is possibility to operate Flash memory through the JTAG interface Flash Programming - OpenOCD User's Guide It's possible by using OpenOCD or GDB.
And my question is how to do that on Galileo platform.
Anyway, thanks to everybody for help.