1 of 1 people found this helpful
As per my understanding, by "FX3 dev board", you are referring to the SuperSpeed Explorer kit (CYUSB3KIT-003). If yes, then as you mentioned, this kit does not have a boot from flash feature (it neither has an SPI flash on board nor PMODE setting). However, if you have connected an external flash to the kit, then it is possible to test boot from the flash by using the second stage bootloader. For this, do the following:
1. Load the required firmware into flash.
2. Connect the flash to the explorer kit.
3. Uncomment the following line in main.c file of Fx3BootAppGcc project available with FX3 SDK
4. Build the Fx3BootAppGcc project and load into FX3's RAM using control center.
This will load the firmware image that was stored in the SPI flash in the step 1. While doing so, please ensure that the application firmware does not use SPI lines for communicating with any peripheral other than the SPI flash. This might cause corruption of data in the flash.
Yes, we are using the CYUSB3KIT-003. BTW, we are able to program the SPI flash (wired to the board) using control center.
Thanks for the prompt response in confirmng usage of the 2nd stage bootloader and the Fx3BootAppGcc example - I somehow missed this .