Altera_Forum
Honored Contributor
21 years agoSoftware runs w/o reloading on changed FPGA design
Help me understand following observation:
1. I have created FPGA design with Signal Tap, NIOS II cpu, 4k of internal RAM, EPCS flash. 2. I have created a piece of software linked to be copied into internal RAM - cpu reset vector points to EPCS flash area so the copier was added to move code to ram 3. I have programmed EPCS flash using NIOS IDE programmer and run my software by cycling power. 4. Software runs great, fast blinking my LEDs as designed... http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/biggrin.gif 5. I have changed my fpga design, adding a frequency divider in front of cpu-clock... (freq/4) 6. I have run Quartus JTAG programmer to load new design into FPGA 7. After reset, my software just run as usuall, just 4 times slower. 8. I am able to Signal Tap and see effects of the software running (memory fetches, etc) Why re-loading fpga via JTAG did not reset software/ram area of the fpga device? After I cycled power LEDs started blinking fast, as in original design written into EPCS (without frequency divider). When I switched back to Quartus and JTAG chain was scanned from Quartus, my Signal Tap did not run requiring fpga re-programming. After re-programing from Quartus via JTAG the software is running 4 times slower again... What is going on? Is it normal? Anybody can explain what is happening?