Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

error code:8

praveenkumar
Beginner
777 Views
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 0x10000000 

 

Info: 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. 

 

 
 
0 Kudos
3 Replies
praveenkumar
Beginner
746 Views

also i tried to override my cfi nor flash (Rcp33256TFE) flash

0 Kudos
EricMunYew_C_Intel
Moderator
711 Views

Can you check and refer to the attached.

0 Kudos
praveenkumar
Beginner
708 Views

yeah its the same way  i designed  in the qsys  and also   while  i writing to  flash  by following the datasheet procedure   .

ox4089  if i am writing this  16 bit  data in some 0x0 location

and while i am reading the location  0x0 its showing 0x89 and 0x1 location  its showing 0x40.

its showing lsb in 0x0 location and MSb in 0x1 location.

through code its reading  some cfi table locations according to datasheet.

so i think i correctley designed in qsys. and none of the above problems are solved .

 

and another question i converting .sof file to pof and i added cfi flash programmed through quartus programmer and it is stored in flash and application is running on power on. in same way if i convert the sof file to hex format and receive through uart and i will erase the flash and write the data in hex format manually through c code . will it run on power on condition

 

thaks for reply.

0 Kudos
Reply