Altera_Forum
Honored Contributor
17 years agoRemote Upgrade via UART on Cyclone III
I've created a daughter card that connects the RS232 transceiver to the HDMI interface on the Cyclone III starter board. The production design will require Remote Upgrade via the serial port. The design is running AP configuration. (For clarity, let's assume the production design/custom board is identical to the starter kit in all hardware with only the addition of this serial port)
I've got a project with the Nios II processor, CFI, UART, and all the pins mapped and working properly. Now I need to add the Remote Upgrade logic, so I pulled an521 (http://www.altera.com/literature/an/an521.pdf), that describes using the Parallel Flash Loader via the JTAG interface on the board. The app note does mention UART interface is an option. The production design will have a factory image (boot, self-test, scan for incoming upgrade requests, then configure with application image). And an application image (run the application design). 1) When I add the Remote Update megafunction, do I still need the PFL to create an update via the UART, or do I need to create a custom interface to do the same functions? I'm a bit lost on whether the PFL will work without using the JTAG. 2) Do I need to create the remote upgrade functionality in both the application image and factory image, or can I trigger a system reset from within the application (Upon receiving string 'update available' on the serial port, trigger a system reset to go back into the factory image)? --Mickey