Forum Discussion
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. T...
Altera_Forum
Honored Contributor
16 years agoOur sof file is 1,839,715 bytes long. Multiplying by 8 bits per byte, the length in EPCS should be around 0x00E09318. Bit reversing on a byte basis yields 0x0007C918. The flash sof file starts with:
S0110000675477732E736F662E666C61736897 S32500000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA S3250000002056EFEFAFEFEFEFCFDFDF9FDFDF8F9F9FBFBF9F9FFFBFDFBFDFDFDFFFBFBF9F9FE3 ^ The 4-7th bytes after the "56" are 0xEFEFCFDF. Bit reversing gives a length of 0xF3F7F7F7, obviously too large. No zeroes appear after the 56. What do I not understand? Dan