Altera_Forum
Honored Contributor
13 years agoerror code: 8 for command
hi all,
in my project am using CycloneIV EP4CGX74CF23I7, am trying to flash my External NOR Flash(PC28F00BP30EF) in Nios II Flash Programmer but am getting this error Info: Mar 28, 2013 12:52:59 PM - (INFO) elf2flash: args = --input=E:/PCIE/NOR_FLASH/software/Hello/Hello.elf --output=E:/PCIE/NOR_FLASH/software/Hello_bsp/flash/Hello_cfi_flash_0.flash --boot=C:/altera/12.0/nios2eds/components/altera_nios2/boot_loader_cfi.srec --base=0x10000000 --end=0x20000000 --reset=0x10000000 --verbose Info: Mar 28, 2013 12:52:59 PM - (FINE) elf2flash: Starting Info: Mar 28, 2013 12:52:59 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 0x20005008: verified Info: no cfi table found at address 0x10000000Info: Original contents (after writing 0xF0 and 0xFF00FF to address 0x10000000): Info: 0: FF 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 0x100000AA: Info: Same after writing 0x980098 to address 0x10000154: Info: Same after writing 0x00980098 to address 0x100002A8: Info: Same after writing 0x980098 to address 0x10000055: Info: Same after writing 0x980098 to address 0x100000AA: Info: Same after writing 0x00980098 to address 0x10000154: Info: Same after writing 0x980098 to address 0x10000154: Info: Same after writing 0x980098 to address 0x100002A8: Info: Same after writing 0x00980098 to address 0x10000550: Info: 0: 89 00 01 00 89 00 04 00 04 D8 04 D8 04 D8 04 D8 ................ Info: 10: 51 00 59 00 00 00 01 00 00 00 00 00 20 00 95 00 Q.Y......... ... Info: 20: 0A 00 00 00 02 00 00 00 01 00 0A 00 01 00 03 00 ................ Info: 30: 02 00 00 00 00 00 00 00 00 00 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: Ignored possible autoselect code 89-01 as no override data Info: present in section [FLASH-89-01] Info: Ignored possible autoselect code 0089-0001 as no override data Info: present in section [FLASH-0089-0001] Info: Ignored possible autoselect code 00010089-00040089 as no override data Info: present in section [FLASH-00010089-00040089] Info: leaving target processor paused error: error code: 8 for command: $SOPC_KIT_NIOS2/bin/nios2-flash-programmer "E:/PCIE/NOR_FLASH/software/Hello_bsp/flash/Hello_cfi_flash_0.flash" --base=0x10000000 --sidp=0x20005008 --id=0x0 --timestamp=1364451186 --device=1 --instance=0 '--cable=USB-Blaster on localhost [USB-0]' --program --verbose in this CFI Flash base address is automatically assigned in SOPC Builder, Reset Vector in Nios Processor is assigned to cfi_flash. why this type of error is coming , how to resolve this problem. Regards, Santhosh