Altera_Forum
Honored Contributor
11 years agoIs there a quicker way to flash new firmware on the Stratix GX 5 Dev kit board?
Greetings!
The Stratix GX 5 Dev Kit is my first time using any altera device or software (I'm more familiar with Xilinx). I am trying to program the FPGA with a new version of firmware and I'm finding the instructions/procedure listed in the documentation ridiculously cumbersome so I'm hoping there's a better way. The documentation I have says to do the following to program the FPGA: Open the NIOS II Command Shell Navigate to my directory and type "sof2flash --input=<yourfile>_hw.sof --output=<yourfile>_hw.flash --offset=0x020C0000 --pfl --optionbit=0x00030000 --programmingmode=PS" (You've got to be kidding me!!) Wait a few minutes for the file to be generated Flip DIP switch SW5.3 to the OFF position (ok, reasonable) Back in the Command Shell, type "nios2-flash-programmer --base=0x0 <yourfile>_hw.flash" (somewhat reasonable, but a pain to type) Wait 20 minutes for the flashing to take effect. Flip the DIP switch back to On and restart the board. Takes about 30 minutes to flash a new file. Please tell me there is a faster/better way to do this? In the Xilinx world, the programming of the FPGA is a GUI that takes less than 5 minutes to select the FGPA and PROM and 30 seconds to program. Thanks a lot for any help/assistance!! Jason