I am able to Read and Write successfully to the SPI flash(S25FL127SABMFI101
) using control center with cypress example code cyfxusbspidmamode.
I have checked the PMODE=0V,PMODE=0V,PMODE =3.3V signals in our hardware. PMODE is not connected, left floating and selected FX3->SPI FLASH->cyfxbulklpauto.img file(selected bulkloop code as example).
After programming flash,its showing "programming of spi flash is succeeded" and after reset/power off and on, FX3 enumerated as cypress FX3 usb bootloader device.
I have attached the screenshot.fx3 reset time is 200ms.
Why fx3 fails in booting?
Please confirm the connection at the MOSI, MISO, and SCLK lines. MOSI and MISO should not have pull-up resistor and SCLK should have a pull-down resistor.
Please refer an application note "AN76405 EZ-USB® FX3™/FX3S™ Boot Options" for more details.