Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12748 讨论

Reconfigure FPGA from USB-Blaster on a running HPS system

Altera_Forum
名誉分销商 II
2,658 次查看

I'm developing for the terasic DE0-Nano-SoC Cyclone V kit. 

 

The chip must be configured before the HPS can boot, right? I can boot the device and run linux from an SD-card (which also configures the FPGA). I may, apparently, reconfigure the device later with USB-Blaster/JTAG, and it *seems* the linux system is still running after. How is that possible? I thought the FPGA reconfiguration also reconfigured the HPS part?
0 项奖励
5 回复数
Altera_Forum
名誉分销商 II
823 次查看

The sd card root did nit configure the hps part.

0 项奖励
Altera_Forum
名誉分销商 II
823 次查看

Is the preloader and dts that configure the hps

0 项奖励
Altera_Forum
名誉分销商 II
823 次查看

Yes, I am aware that it is the preloader (which happens to be on the SD-card as well) that configures the HPS. My question is that it is possible to reconfigure the FPGA while the HPS is up and running. To me that is somewhat unexpected, since reconfiguration is a low-level action. I'd expect severe side-effects. So is it safe to do?

0 项奖励
Altera_Forum
名誉分销商 II
823 次查看

I think possible sd hps and fpga coulb be boot up independently or boot from hps first.

0 项奖励
Altera_Forum
名誉分销商 II
823 次查看

 

--- Quote Start ---  

Yes, I am aware that it is the preloader (which happens to be on the SD-card as well) that configures the HPS. My question is that it is possible to reconfigure the FPGA while the HPS is up and running. To me that is somewhat unexpected, since reconfiguration is a low-level action. I'd expect severe side-effects. So is it safe to do? 

--- Quote End ---  

 

 

I know that my HPS resets whenever I debug the FPGA independently, and I know that there is a recommendation NOT to reset the FPGA unless the AXI buses and associated memory interfaces are first disabled. I think this is a great question for people who have done this before...I sure haven't. 

 

I have loaded an FPGA image in from Linux, and the process is discussed on RocketBoards, http://rocketboards.org/foswiki/documentation/gsrd131programmingfpga#fpga_configuration_from_linux, but this is not dynamic reconfiguration. I don't see why one couldn't try reversing the programming process and see if it allows for dynamic reloads, though! I can't see a reason why not unless the FPGA kernel driver dies.
0 项奖励
回复