Altera_Forum
Honored Contributor
10 years agoFlash programming guide for DE0-NANO needed.
Hi.
I have been searching around in the forum. I found a few discussions regarding the flash programmer issues. I have found the NiosII Flash Programmer Guide and the EPCS IP differs from the one in Quartus II V14.0. The one used in the user guide does not have either irq or conduit. ??? I suspect the conduit is an ISP programming interface. But do I need to use it? If so,, how?? My School project is a two core hardware. So there are two elf files to add in the configuration memory. Anyway, I followed the user guide and get an error 8 in the flash programmer. See the errors below. (Would be nice if somebody could share me a proper guide.) BR Terje. Info: 2015-maj-26 14:54:40 - (INFO) elf2flash: args = --input=C:/Users/Boss/Documents/Altera/DW12/software/main_core/main_core.elf --output=C:/Users/Boss/Documents/Altera/DW12/software/main_core_bsp/flash/main_core_epcs_flash_controller_0.flash --epcs --verbose Info: 2015-maj-26 14:54:40 - (FIN) elf2flash: Starting Info: 2015-maj-26 14:54:40 - (FINARE) elf2flash: Program Record: 64176 bytes destined for 0x0 Info: 2015-maj-26 14:54:40 - (FINARE) elf2flash: Program Record: 7344 bytes destined for 0x11760 Info: 2015-maj-26 14:54:40 - (FINARE) elf2flash: Start Record: 228 Info: 2015-maj-26 14:54:40 - (FIN) elf2flash: Done Info: Using cable "USB-Blaster [USB-0]", device 1, instance 0x00 Info: Resetting and pausing target processor: OK Info: Reading System ID at address 0x020021A0: verified Info: Processor data bus width is 32 bits Info: Looking for EPCS registers at address 0x02001000 (with 32bit alignment) Info: Initial values: 0001703A 04C00074 9801483A 9CFFF804 983FFD1E 0000203A Info: Not here: reserved fields are non-zero Info: Looking for EPCS registers at address 0x02001100 (with 32bit alignment) Info: Initial values: 93000237 6300080C 603FFD26 90000335 A8000C26 03010004 Info: Not here: reserved fields are non-zero Info: Looking for EPCS registers at address 0x02001200 (with 32bit alignment) Info: Initial values: 02C02004 002EE03A 00000F06 90000335 4000683A 0017883A Info: Not here: reserved fields are non-zero Info: Looking for EPCS registers at address 0x02001300 (with 32bit alignment) Info: Initial values: 003FD006 5280040C 501496FA 701CD07A 729CB03A 843FFFC4 Info: Not here: reserved fields are non-zero Info: Looking for EPCS registers at address 0x02001400 (with 32bit alignment) Info: Initial values: 00000000 00000000 00000260 00000000 00000000 00000001 Info: Valid registers found Info: EPCS signature is 0x00 Info: EPCS identifier is 0x000000 Info: No EPCS layout data - looking for section [EPCS-000000] Info: Unable to use EPCS device Info: Leaving target processor paused Error: Error code: 8 for command: nios2-flash-programmer "C:/Users/Boss/Documents/Altera/DW12/software/main_core_bsp/flash/main_core_epcs_flash_controller_0.flash" --base=0x2001000 --epcs --sidp=0x20021A0 --id=0x1111 --timestamp=1432640681 --device=1 --instance=0 '--cable=USB-Blaster on localhost [USB-0]' --program --verbose