Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

"No CFI table found at address 0x00000000" with S29GL064A flash

hi,

I get "No CFI table found at address 0x00000000" with my custom board using S29GL064A flash.

this board was working during 2 years.

When I want to program its flash via JTAG (and Nios II), I get the error.


#  Programming flash with the project
"$SOPC_KIT_NIOS2/bin/nios2-flash-programmer" --base=0x00000000 --sidp=0x01a03338
 --id=1759304877 --timestamp=1223978176 --debug "cfi_flash.flash"
Using cable "ByteBlasterII ", device 1, instance 0x00
Resetting and pausing target processor: OK
Reading System ID at address 0x01A03338: 
verified
No CFI table found at address 0x00000000
Original contents (after writing 0xF0 and 0xFF to address 0x00000000):
   0: 3A 74 01 04 74 04 C0 04  3A 4C 01 9C 04 FC FF 9C  :t..t...:L......
  10: 1E FD 3F 9C 3A 24 00 04  3A E4 2E 04 06 24 00 04  ..?.:$..:....$..
  20: C4 FF 7F 05 3A E4 2E 04  06 0F 00 04 3A 8C 07 34  ....:.......:..4
  30: 3A E4 2E 04 06 0C 00 04  3A 8C 09 34 26 04 00 1C  :.......:..4&...
  40: 26 FF 7F 1D 3A E4 2E 04  06 0D 00 04 06 F5 3F 04  &...:.........?.
Contents after writing       0x98 to address 0x000000AA:
    Same after writing     0x0098 to address 0x00000154:
   0: 00 04 00 04 00 04 00 04  00 04 00 04 00 04 00 04  ................
  10: 00 04 00 04 00 04 00 04  00 04 00 04 00 04 00 04  ................
  20: 51 04 52 04 59 04 02 04  00 04 40 04 00 04 00 04  Q.R.Y.....@.....
  30: 00 04 00 04 00 04 27 04  36 04 00 04 00 04 07 04  ......'.6.......
  40: 07 04 0A 04 00 04 03 04  05 04 04 04 00 04 17 04  ................
Contents after writing 0x00000098 to address 0x000002A8:
    Same after writing       0x98 to address 0x00000055:
    Same after writing     0x0098 to address 0x000000AA:
    Same after writing 0x00000098 to address 0x00000154:
    Same after writing       0x98 to address 0x00000154:
    Same after writing     0x0098 to address 0x000002A8:
    Same after writing 0x00000098 to address 0x00000550:
   0: 3A 74 01 04 74 04 C0 04  3A 4C 01 9C 04 FC FF 9C  :t..t...:L......
  10: 1E FD 3F 9C 3A 24 00 04  3A E4 2E 04 06 24 00 04  ..?.:$..:....$..
  20: C4 FF 7F 05 3A E4 2E 04  06 0F 00 04 3A 8C 07 34  ....:.......:..4
  30: 3A E4 2E 04 06 0C 00 04  3A 8C 09 34 26 04 00 1C  :.......:..4&...
  40: 26 FF 7F 1D 3A E4 2E 04  06 0D 00 04 06 F5 3F 04  &...:.........?.
Ignored possible autoselect code 01-7E as no override data
present in section 
Ignored possible autoselect code 0401-267E as no override data
present in section 
Leaving target processor paused

Have a look at the NIOS manual, It talks about override file for CFI flash. But where Can I get it for my S29G064A ?

I tried to search in Forum too.

Have you got a work around ?

Explications ?

Regards.

5 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I am verifying deeply SOPC Builder (CFI Flash, Tsetup, Twait, Thold...tri-stated bus) and Quartus design files (connections, Byte_n...)

    I am manually writing an override_S29GL064A.txt with all CFI infos from Flash Datasheet.

    ++
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I think you should assign the base address of flash as 0x00000000 in SOPC builder that will solve your issue

    regards

    M Kalaynsrinivas
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thanks for answer. The Flash address base is already forced at 0x00000000.

    I think my Flash has its CFI table overwritten by bad commands. Is it possible ?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hello mmTsuchi,

    I think you have a simple hardware problem: it seems that D10 of your data bus has no connection to the Flash. Search for soldering problems and look if D10 is configured to the right I/O pin...
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Pin D10 problem because I get "0x04" data ? I hadn't thought before. Thanks you very much for reading, observing, answering and giving the clue (1.5 years after ;-))

    I had an oxidation on few boards, I will look at...