Altera_Forum
Honored Contributor
8 years agoBoot loader, Cyclone 3 reconfiguration, in-circuit EPCS update
I developed the device based on Cyclone 3 with its config programmed into EPCS16 using active serial mode.
To upgrade configuration external device and external software (e.g. byteblaster/usb blaster + Quartus II) are needed. I was asked if it is possible to design in the way that EPCS image is updated "in-circuit" (by the devices located on the board). In my design NCONFIG, CONF_DONE and NCE are going to AS config connector only, and NSTATUS goes nowhere. I did brief research on how Cyclone configures, but still do not have answer to this question. In my understanding it may be that EPCS is having several sections, first section with boot loader which configures FPGA providing r/w access interface to connected EPCS chip, the second section is "user configuration" (the main config used for device operation). When boot loader loads, and then can not load "user config", it keeps in boot loader mode accepting update of the EPCS device. This is needed in case user image is corrupt for some reason (e.g. bad update attempt). Is there any way to achieve this goal, given that those control signals are not fed back to FPGA? Or maybe I still miss something and it should be done differently? Thank you.