I am trying to write a program to update FX3 firmware to SPI eeprom over USB, without setting PMODE jumpers.
I found bootloader_embedding.zip on the Cypress site, in
I am having a problem getting this to work on the DVK with the 1.3.3 SDK, although I have tried to follow the instructions in the zip file exactly. It is hard to debug the example, as the UART is disconnected when the jump to the other image is made. When I try debugging with a JTAG debugger and openocd 8.0, no jump is evident in the crucial line:
The other image is obviously not loaded, which should be evident when it has another VID/PID combination.
Is this sample up to date?
Are there any other example projects available?
Yes, the cyfxtx.c file contains:
#define CY_U3P_SYS_MEM_TOP (0x40078000)
and the linker script cyfx3.ld for FX3BootAppGcc contains 0x40078000 as well (as start of the code)
SYS_MEM : ORIGIN = 0x40078000 LENGTH = 0x7000