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++
12637 Discussions

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

shine01
Beginner
314 Views

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.  

shine01_0-1717468674765.png

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

shine01_1-1717468807199.png

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!!!!

0 Kudos
2 Replies
shine01
Beginner
283 Views

sorry to bother you, I have made it.

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

0 Kudos
khtan
Employee
225 Views

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

0 Kudos
Reply