Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
14 years ago

Problem with flash programmer

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!
No RepliesBe the first to reply