Altera_Forum
Honored Contributor
14 years agoProblem with writing uClinux image on flash
Hi,
I followed the tutorial on http://www.alterawiki.com/wiki/flashprogrammer to write my zImage from the uClinux distribution on CFI-Flash but I can't upload the created file using 'nios2-flash-programmer'. The error message isEmpty flash content cannot be programmed or verifiedMy FPGA configuration is in EPCS-Flash and the steps for it seem to work but not for the program which should be in uploaded in CFI-Flash I used the step 1. sof in epcs, program in cfi Here is my command I type in: elf2flash --base=0x02800000 --end=0x02FFFFFF --reset=0x0 --input=zImage
--output=parallel_flash.flash
--boot=$SOPC_KIT_NIOS2/components/altera_nios2/boot_loader_cfi.srecWhen I do 'cat parallel_flash.flash' there is only one row with a few numbers a characters. But the zImage is much bigger than that. In attachment I have pictures of my reset_vector and the addresses of the flash types in sopc builder. Perhaps somebody see a mistake. PS: The linefeed in the code section is just for better reading Urmel