Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.

Problem with flash programmer

Altera_Forum
Honored Contributor I
752 Views

Hi,  

 

i use a altera cyclone III devboard with an ep3c120. 

I want to program the hardware and the software in the flash memory. I use this commands 

 

sof2flash --input="C:/testsvn/testsvn/SVN/fbctdidt/VHDL/didt_cyclone_1c120_devkit/output/cycloneIII_3c120_dev_niosII_standard.sof" --output="C:/testsvn/testsvn/SVN/fbctdidt/VHDL/didt_cyclone_1c120_devkit/software/didt_lab_bsp/flash/cycloneIII_3c120_dev_niosII_standard_ext_flash.flash" --offset=0x0 --verbose  

 

nios2-flash-programmer "C:/testsvn/testsvn/SVN/fbctdidt/VHDL/didt_cyclone_1c120_devkit/software/didt_lab_bsp/flash/cycloneIII_3c120_dev_niosII_standard_ext_flash.flash" --base=0x8000000 --sidp=0x10022C90 --id=0x0 --timestamp=1328179080 --device=1 --instance=0 '--cable=USB-Blaster on localhost [USB-0]' --program --verbose  

 

elf2flash --input="C:/testsvn/testsvn/SVN/fbctdidt/VHDL/didt_cyclone_1c120_devkit/software/didt_lab/didt_lab.elf" --output="C:/testsvn/testsvn/SVN/fbctdidt/VHDL/didt_cyclone_1c120_devkit/software/didt_lab_bsp/flash/didt_lab_ext_flash.flash" --boot="nios2eds/components/altera_nios2/boot_loader_cfi.srec" --base=0x8000000 --end=0xc000000 --reset=0x8000000 --verbose --after="C:/testsvn/testsvn/SVN/fbctdidt/VHDL/didt_cyclone_1c120_devkit/software/didt_lab_bsp/flash/cycloneIII_3c120_dev_niosII_standard_ext_flash.flash"  

 

nios2-flash-programmer "C:/testsvn/testsvn/SVN/fbctdidt/VHDL/didt_cyclone_1c120_devkit/software/didt_lab_bsp/flash/didt_lab_ext_flash.flash" --base=0x8000000 --sidp=0x10022C90 --id=0x0 --timestamp=1328179080 --device=1 --instance=0 '--cable=USB-Blaster on localhost [USB-0]' --program --verbose  

 

the programming of the flash memory works fine. 

When i reboot the devboard, the hardware programming correctly but the software doesn't want to start. 

 

If i put the elf file alone in the flash memory, reboot, and then program the hardware, the software start. 

 

where do you say to the fpga to boot that the software is after the sof in the flash memory. 

 

Thanks in advance for your help!
0 Kudos
0 Replies
Reply