Altera_Forum
Honored Contributor
9 years agofpga load gives error code -2
Hello,
We have created a custom board with a Cyclone V on it. The boot process works: We can go from preloader to u-boot to linux. But now I want to load something in the FPGA, and am trying to do from u-boot. However, I get stuck at error -2:SOCFPGA_CYCLONE5# mmc rescan
SOCFPGA_CYCLONE5# fatload mmc 0:2 0x2000000 switchbox_master.rbf
reading switchbox_master.rbf
7007204 bytes read in 393 ms (17 MiB/s)
SOCFPGA_CYCLONE5# fpga load 0 0x2000000 7007204
MSEL = 0
put FPGA in reset phase
FPGA is in reset phase
FPGA is out of reset phase
altera_load: Failed with error code -2 (I added some debug printout) According to https://rocketboards.org/foswiki/view/documentation/gsrd131programmingfpga Error code -2 means: The FPGA is not able to enter configuration phase after FPGA reset release request being made at FPGA Manager Any idea what can be wrong? Thanks, Michiel