Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Honored Contributor I
964 Views

Error: Error code: 8 for command: nios2-flash-programmer while flashing "*.elf" file.

Hi Friends, 

 

I am a Novice in NIOSII 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 howto 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  

********************************** 

 

[/B][/B]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
0 Kudos
0 Replies