Altera_Forum
Honored Contributor
10 years agoNios2-flash-programmer can't find EPCQ512 of Statix V
Hi,
I have a Statix V & EPCQ512 in my design, the Nios(Gen2) image locating in the EPCQ @ offset 0x3000000 I've connected Altera Serial Flash Controller to the Nios. the clock sink of the Flash controller is 20MHz (less than 25MHz as requested), and the Nios Processor is running on 110MHz. as shown below: http://www.alteraforum.com/forum/attachment.php?attachmentid=11945&stc=1 My Nios software locate in EPCQ offset 0x300000 and the vectors set to : http://www.alteraforum.com/forum/attachment.php?attachmentid=11946&stc=1 I've create JIC file with the follow settings: http://www.alteraforum.com/forum/attachment.php?attachmentid=11947&stc=1 When I'm Burning the EPCQ by using JIC, everything is Normal the default bootloader of the Nios, copy the image from the EPCQ to the DDR and run the application, so far so good. Now, I'm trying to burn only the Nios image in the EPCQ, for FW upgrade. I'm using nios2-flash-programmer command line or Nios II Flash Programmer Tool. I'm converting the elf to flash file by using: elf2flash --input="D:/app.elf" --output="D:/app.flash" --boot="nios2eds/components/altera_nios2/boot_loader_cfi.srec" --base=0x10000000 --end=0x14000000 --reset=0x13000000 --verbose and programming the the flash by using: nios2-flash-programmer "D:/app.flash" --base=0x10000000 --accept-bad-sysid --device=1 --instance=0 '--cable=USB-Blaster on torenpc [USB-1]' --program --verbose I'm getting the follow error: No CFI table found at address 0x10000000 Do I missing something? I also follow the application note AN-736 (Nios II Processpr Bootoing From Serial Flash (EPCQ)