Altera_Forum
Honored Contributor
16 years agoUpdating application in EPCS via UART
My customer requires the ability to download updated application code via UART.
We use the JTAG tools to store the FPGA configuration data and app code in EPCS flash memory before shipping. The files are converted to flash S record format. If I understand the boot process correctly, the application code is located in the next EPCS byte after the FPGA configuration data. Is this correct? How can I determine where the application data starts? I"ve read in the forums that there is a header in the sof file that contains this data. Where is this header described? Are the configuration and application files stored in S record format? Or are they unpacked before writing to the EPCS flash? If the app code is stored in the next byte of EPCS, to save a new app I presume I would need to preserve the last EPCS block of config data, correct? Thanks in advance for your help. Dan