Forum Discussion
Altera_Forum
Honored Contributor
11 years agoNiosII flash programmer elf->flash
Hi
I'm looking for a "how to" get a nios2 project burned to flash, thinking that it all should end in a .pof file. Got a .sof from the OnDie example, but needs to add my modified NIOS2 project to it, but cant find any manual that works. My Nios2 project(runs fine in RAM via JTAG) using Quartus v.15.0.0v20150423-0554. When i start the Nios2 flash programmer under file/new i can choose .bsp or .socpinfo and the information is shown in target hardware information, but the start button is greyed. The three tabs in left bottom corner Information/Problems/Processing are empty...Anybody who has tried the same problem ? tried the elf2flash and sof2flash from the nios2-terminal i get the following error: sof2flash: Unrecognized device family in SOF. (My FPGA is 10M08SAE144C8GES, on the evaluation board) any help to solve the problem would be appreciated6 Replies
- Altera_Forum
Honored Contributor
Are you trying to program the .sof and .elf into the MAX 10 UFM? Then you can try to refer to AN730 on the steps to generate the .pof which contain the .sof and .hex (generate from .elf). Then you can program the MAX 10 with the .pof file.
https://www.altera.com/content/dam/altera-www/global/en_us/pdfs/literature/an/an730.pdf I dun think .flash files format are support in MAX 10. - Altera_Forum
Honored Contributor
Look at this thread: http://www.alteraforum.com/forum/showthread.php?t=48733
- Altera_Forum
Honored Contributor
thank you, found a solution here http://www.alteraforum.com/forum/showthread.php?t=48701&p=200674#post200674
- Altera_Forum
Honored Contributor
Hi
I just curious about your mention regarding ".flash file format not support in Max10". How do you find out way to convert SOF to .flash like unrecognized device family in SOF? Thansk - Altera_Forum
Honored Contributor
Hi
Not sure i understand your question, but i followed this guideline to convert the .sof to .pof(flash) --- Quote Start --- https://cloud.altera.com/devstore/pl...10m50-dev-kit/ Look at the document link and search for the section that is called: Merging the NIOS executable into the FPGA configuration file . That will show you how to get the SW executable merged with hardware image and if stored on flash removes the requirement for a connection to a host computer. Let me know if that helps. --- Quote End --- - Altera_Forum
Honored Contributor
Hello guys!
I'm trying to execute the memory test template. I select the option to test flash. I have checked in the system.h file that the name of the flash is /dev/ext_flash. But when I type in the same name in the nios console, it shows an error saying : could not open "/dev/ext_flash" any idea how to eliminate this error? Thanks in advance.. any advice is welcome.