Altera_Forum
Honored Contributor
9 years agoError: Error code: 8 for command: nios2-flash-programmer while flashing "*.elf" file.
hi friends,
I am a Novice in NIOS II CPU, I am using the existing demo project and trying to flash "*.elf" file to Cyclone V device. In the process flash programmer is repeatedly reporting the error code 8, I have no idea how to resolve the issue , please guide me to overcome the issue. Below is the text reported by the flash programmer : ********************************** Info: Jul 18, 2016 5:04:53 PM - (INFO) elf2flash: args = --input=C:/Project/On_Going_Chapters/ETHERCAT/DEVBOARD/NEW_NIOS/DBC5_ECAT/DBC5CEFA7_EtherCAT/software/NIOS_V3/NIOS_V3.elf --output=C:/Project/On_Going_Chapters/ETHERCAT/DEVBOARD/NEW_NIOS/DBC5_ECAT/DBC5CEFA7_EtherCAT/software/NIOS_V2_bsp/flash/NIOS_V3_db_epcq_0_data.flash --base=0x2000000 --end=0x4000000 --reset=0x2800000 --verbose Info: Jul 18, 2016 5:04:54 PM - (FINE) elf2flash: Starting Info: Jul 18, 2016 5:04:54 PM - (FINE) 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 0x04004520: verified Info: No CFI table found at address 0x02000000 Info: Original contents (after writing 0xF0 and 0xFF00FF to address 0x02000000): Info: 0: F0 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................ Info: 10: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................ Info: 20: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................ Info: 30: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................ Info: 40: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................ Info: Contents after writing 0x980098 to address 0x020000AA: Info: Same after writing 0x980098 to address 0x02000154: Info: Same after writing 0x00980098 to address 0x020002A8: Info: Same after writing 0x980098 to address 0x02000055: Info: Same after writing 0x980098 to address 0x020000AA: Info: Same after writing 0x00980098 to address 0x02000154: Info: Same after writing 0x980098 to address 0x02000154: Info: Same after writing 0x980098 to address 0x020002A8: Info: Same after writing 0x00980098 to address 0x02000550: Info: 0: F0 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................ Info: 10: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................ Info: 20: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................ Info: 30: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................ Info: 40: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................ Info: Leaving target processor paused Error: Error code: 8 for command: nios2-flash-programmer "C:/Project/On_Going_Chapters/ETHERCAT/DEVBOARD/NEW_NIOS/DBC5_ECAT/DBC5CEFA7_EtherCAT/software/NIOS_V2_bsp/flash/NIOS_V3_db_epcq_0_data.flash" --base=0x2000000 --sidp=0x4004520 --id=0xDBC5CE --timestamp=1468776040 --device=1 --instance=0 '--cable=USB-Blaster on localhost [USB-0]' --program --verbose ********************************** And please provide me link, where I can get all the error list reported in NIOS II IDE. thanks in advance for your valuable time. Regards NRM