Altera_Forum
Honored Contributor
19 years agoFormat of config data in EPCS?
I'm working on in-system programming of the EPCS via the NIOS EPCS controller component. I think I understand how to convert the files, upload them to my design and burn them into the EPCS.
What I don't understand is how to tell how long the existing config data in the EPCS is. I'd like to stash the existing config data before burning over it but I don't know how to figure out the length of the existing data. I have some vague recollection of reading that the config data always starts at addr 0 and ends with a large number of 0 bytes but I can't find that document any more. Can someone tell me how the config data is formatted and whether there is some kind of header where I can read the length? If I do have to scan through all the data to find the terminating 0x00 bytes, how many terminating bytes are there? Using Cyclone 1c12 with EPCS4. Thanks much, Andrew