Forum Discussion
Altera_Forum
Honored Contributor
13 years agoThanks for your response Daixiwen.
Although I’m very interested in your solution I want first to do it in the described way. Thus I will come back to your solution. But now I didn’t know exactly how to go on. I did the following steps: 1. Connect all components in Qsys as you can see in screenshot I attached 2. Generate this system (no warnings, no errors) 3. Instantiate this system in a .bdf to my Quartus project 4. Connect input-/outputs-pins to the block diagram 5. Add .qip to the project 6. Assign the pins in pin planner 7. Compile my project Is something missing or is it the right way to go on? Then I wanted to use the Flash Programmer from Nios II SBT for Eclipse to write data to flash memory. Therefore I downloaded my project to the FPGA first. After that I started the Flash Programmer and used the .sopcinfo from Qsys. Finally I add my .sof to files for flash conversion and clicked Start. I get the following error message: Error: Error code: 3 for command: $SOPC_KIT_NIOS2/bin/sof2flash --input="C:/Users/gger/Desktop/Quartus_Übungsprojekte/Quartus II/LED_Ansteuerung/LED.sof" --output="C:/Users/gger/Desktop/Bootloader_Files/Projekt_E3/flash/LED_flash_extern.flash" --offset=0x0 Do you have any idea what’s wrong?