Forum Discussion
altera_remote_update: Set application image address (Cyclone V)
- 5 years ago
Thank you for your reply.
I am using the page select signal in order to provide that remote update core with my desired flash address. In order to determine which application image to load, I am using a flash sector to store boot information, which i read before loading the application.
Kind regards.
Hi Tibor,
When you mentioned about valid, are you saying that you are looking for something which will check the bitstream validity from application image 1/2 and then program it if it is valid?
Thank You
- tibor15 years ago
New Contributor
Hi,
Thank you for your reply.
No, i know about the POF-checking-feature and this is not what I mean by valid (if that is, what you were going to say). What I mean is "most recent". HPS-Software can write the Flash-Memory via a Flash Controller in the FPGA. In case of a FPGA-Update, the HPS writes the new configuration File into another Page of the Flash. The old image is not overwritten, so that it can be used as a fallback in case the update fails.
I need a way to tell the FPGA Factory Image, which of the two application Images to choose. Also, I can't use Information contained in the HPS, because in my design, the FPGA boots first and the HPS boots from FPGA.
As I said, i could keep that Information somewhere in the same Flash and read it from FPGA and write some logic that decides which image to use, but I was hoping, that this use case was already covered. Especially, because Flash-Read-Logic already exists (for Configuration from Flash).