Forum Discussion
Remote re-configure a Cyclone IV in Application-mode?
- 7 years ago
Hi JHono,
In your application image design, did you set any write_param on the boot address that point to 0x100000? Please remove any write_param operation in the application image design. If you refer to Table 17: Cyclone IV Devices Remote Update Operation from the Remote Update user guide shows that you can only perform read_param operation in application image:
https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/ug/ug_altremote.pdf
Also, please uncheck the POR_ERROR function in the application image design. This POF_ERROR function is only needed in the factory image to detect any invalid application image before reconfiguration process start.
Regards,
Nooraini
"You can just trigger the reconfig input from the RSU IP if you want to fall back from App images into Factory image." - This is exactly what I want to do, but it doesn't seem to work, when it is running the App-image.
When I write to ru_reconfig my hardware gets stuck trying to load an image from the EPCS16.
As further info: I can see in signaltap that it is trying to load an image from 0x100421 (my App-image lives at 0x100000).
Somehow the boot-address has been changed during re-config and as the MSM is now in mode 1, so I can't write new data into the RU_CSR.
CSR 0x10 has 0x020 in it and CSR 0x13 has 0x100400. The RSU IP appears to add these together to make a new load-address.
Do I need to configure something else in the CSR to make it boot back to the factory-image?
Thanks, John.