Altera_Forum
Honored Contributor
16 years agoFlash Programmer--MMU
Hi,
I have red some posts about Flash-Programmer and the explanation of nioswiki, but I continue having some doubts about it. I have the DE2-70 FPGA with uClinux-MMU. I would like to program the EPCS flash with the .sof file and the CFI flash with zimage file. My custon_fpga.h has these adresses: ext_flash base=0x08800000 end=0x08ffffff epcs_controller base=0x09403800 end=0x09403fff My reset_vector and exception_vector are in flash. My doubts are relationed to this post: http://www.alteraforum.com/forum/showthread.php?t=22035&highlight=flash It is commented to do some changes if you use uClinux with MMU: For elf2flash: --base =Base address of flash, + 0xc0000000 --end = End address of flash, + 0xc0000000 --reset =End address of flash, + 0xc0000000 nios2-flash-programmer: --base = Base address of flash. Add the --mmu option, but do NOT add an offset to this address. My questions are: Do I also have to add these offsets in custom_fpga.h or is it only necessary in these commands? Do I have to add this offset( 0xc0000000) in the command sof2flash for the EPCS? I don't know where to add --mmu option, could it be this place? nios2-flash-programmer --mmu --base=0x08800000 ext_flash.flash Many thanks and thank you in advance