- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I was wondering if there was a method of creating a hex file that can be used to pre-program the SPI flash used for the FX3 with a programmer before hand?
We prefer this method as the process is more controlled and more efficient when the design enters full production.
As of right now, the only method I can see is through the control center, but we would like to pre-program them before the memory ICs are placed on the PCB.
Thanks,
Mike
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Mike,
You can just rename the extension of generated Image file (.img file) as .hex, because the binary inside isn't affected. You can just program that hex into SPI Flash using any flash programmer software that you have.
The control center does do anything to the content of the image file or add anything to it. So, you can simply convert the image file inot hex file by renaming and program it.
Regards,
- Madhu Sudhan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Mike,
You can just rename the extension of generated Image file (.img file) as .hex, because the binary inside isn't affected. You can just program that hex into SPI Flash using any flash programmer software that you have.
The control center does do anything to the content of the image file or add anything to it. So, you can simply convert the image file inot hex file by renaming and program it.
Regards,
- Madhu Sudhan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Madhu,
Is the IMG file written in the Intel-HEX format?
Regards,
NTAN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi ntan,
No, the IMG file is not written in intel hex.
For more details, please refer section 4.4 (Boot Image format) in the below App Note:
AN76405 - EZ-USB® FX3™/FX3S™ Boot Options | Cypress Semiconductor
Regards,
- Madhu Sudhan