Forum Discussion
Altera_Forum
Honored Contributor
16 years agoFlash programming for DE2-70
Hello Friends, This is a common problem here in the forum. However, Ihaven't been able to make heads nor tails out of it. I'm trying to program the sof file by EPCS and the OS in the CFI Fla...
Altera_Forum
Honored Contributor
16 years agoI successfully programmed SOF in EPCS and zImage in CFI Flash ! The board starts uClinux without any JTAG cable at powerup :-)
I tried your method to program CFI flash under FTP but I changed some commands... ------------------------------------------------------------------ elf2flash --base=0x00000000 --end=0x1ffffff --reset=0x0 --input=zImage --output=zImage.flash --boot=$SOPC_KIT_NIOS2/components/altera_nios2/boot_loader_cfi.srec nios2-linux-uclibc-objcopy -Isrec -O binary zImage.flash zImage.bin # then copy zImage.bin to uClinux FTP with FileZilla for example telnet 192.168.0.xxx root cd home/ftp flash_eraseall /dev/mtd1 cp zImage.bin /dev/mtd1 sync # finally master reboot and enjoy ! ------------------------------------------------------------------ Thanks for your help Hippo you're the best :D