- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
we are using micron parallel nor flash 256mb Rc256p33tfe with the cyclone iii device in active parallel mode
after adding generic tri state controller and conduit bridge in qsys
by giving frin command line : nios2-flash-programmer --base=0x01000000 --debug
its showing like below no cfi table found
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
by reading through c code by debugging
we got cfi information misssing at ox11 addresss it had to be 0x52 but its showing ox5100.
even though i tried to flash both sof and hex files from nois2flash prorammer gui
its showing
error code8: programming file path --verbose
i find cfi table information is missing i tried to override my cfi flash by nios2override file by placing it in path nis2eds/bin
its showing
cfi erase region definitions dont match with device size
base address not aligned in device size (in my qsys address of generic controller is 0x01000000 )
how can i access the flash because i have to load (hex or flash file ) through uart and i have to write in flash and run it on power on
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
can anybody help with this cfi flash . the intel people replying very fastly .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you check and refer to the attached.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
eah 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.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page