- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Is there any tool to reset the Cyclone FPGA via JTAG (USB-Blaster) and force it to re-read the configuration from the EPCS? Problem is: I use quartus_pgm to download a simple NIOS in the Cyclone (quartus_pgm -c USB-Blaster -m JTAG -o P;file@1). Then, I load a flash file with an FPGA configuration and NIOS application (nios2-flash-programmer --device 1 -e --base=0x802800 --program file). If I simply use the option --go in nios2-flash-programmer, only the processor is reset; my new FPGA configuration is not loaded until I power the board off then on. So, is there something like "quartus_pgm -c USB-Blaster -o R;@1"??? (The @1 is important as I want to individually reset the FPGAs in a JTAG chain) Thanks in advance. FernandoLink Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you check the quartus_pgm -i option? See command line help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, thanks. But it does not load from the configuration device; it just initializes the FPGA with the currently loaded configuration.
:mad:- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- But it does not load from the configuration device; it just initializes the FPGA with the currently loaded configuration. --- Quote End --- I think, a reconfiguration request results in reloading the configuration from the hardware defined configuration source. I don't understand, how the programmer inititializes the FPGA without reloading the configuration. I thought, that it's the equivalent to the option "Initiate configuration after programming" in interactive programming.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't know how it works, but I have one configuration in external flash and a different one is downloaded to the FPGA via quartus_pgm ...-i. After the download is finished, the FPGA executes the downloaded one.
I decided to go the "hard way": -quartus_pgm simple_config.sof -nios2-flash-programmer complete_config+nios_application.flash -quartus_pgm complete_config.sof This way it restarts with the correct configuration. (I need this 'restart-without-power-cycle' for production programming and testing without operator intervention). Thanks anyway. BR Fernando
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page