Forum Discussion
Altera_Forum
Honored Contributor
16 years agoFlash Programming in Command-Line Mode
Hi, I have integrated the .elf contents into the .sof file; that is, this .sof file include both the hardware and software. I can also use Nios II Flash Programmer tool to program this .sof file to flash. However, I need to program the firmware to the flash for non-violation configuration in a PC which only has quartus II programmer. Is that possible? I prefer to use command-line mode, but I have no idea how to do it. Any suggestions are welcome! Thank you very much in advance!
1 Reply
- Altera_Forum
Honored Contributor
There are a few methods for doing this. However, the method I use is to copy over only a few extra files:
http://www.alteraforum.com/forum/showthread.php?t=20030&referrerid=2226 and continue to use the nios2-flash-programmer. You can either write a little batch file or script to do this or do something more fancy. For help on the nios2-flash-programmer command line options: http://www.altera.com/literature/hb/nios2/edh_ed51004.pdf Jake