Forum Discussion

shine01's avatar
shine01
Icon for New Contributor rankNew Contributor
1 year ago

nios2-flash-programmer detect the cfi table in wrong bit mode

I have a board, which original use a flash, which is S29GL064N90BFI04(Cypress), but this one is EOL, so we want to use MX29LV640EBXEI(Macronix) to replace it.

We program outline with Macronix flash, the board can work normal,

now we want to program online to it, but failed.

we found that the the CFI table detect it is in 16bit mode. the board is designed with 8bit mode, the higher data DQ8~15 leave unconnected.

this is use Cypress flash debug information, you can found that the CFI table in 8 bit mode

this is Macronix flash, and it is in 16bit mode.

how can I change it with right bit mode? how can I programmer it successful?

if you have good idea, please let me know, thanks very much!!!!

2 Replies

  • shine01's avatar
    shine01
    Icon for New Contributor rankNew Contributor

    sorry to bother you, I have made it.

    in the command line, add "--width=8", then it works

    • KianHinT_altera's avatar
      KianHinT_altera
      Icon for Frequent Contributor rankFrequent Contributor

      Hi,

      Sorry for getting back late to you , but glad that you have already found the solution to the issue. I will transition the thread to community support since the issue been resolved.

      Thanks

      Regards

      Kian