This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

【DM365 customer board 参考ipnc 】为何无法从nandflash中读取device ID

接着上一个问题贴:http://www.deyisupport.com/question_answer/dsp_arm/davinci_digital_media_processors/f/39/t/59802.aspx

安装mono并编译串口工具,串口工具源代码采用的是evm board 官方代码。调试方法很简单,就是在各个关键语句后设置打印信息。通过这种方法最后发现程序无法读取nandflash的device ID ,打印出的device ID 内容为0x0000000000. 最后给出nand_open() failed 的错误信息并退出程序。

问题一:

上一个贴中我提到了ipnc 和 evm board 之间在nandflash CE管脚设计上存在差别,并且 evm CE管脚是通过cpld连接到nand的,这会不会造成寻址上的差别?如果会,我该如何修改代码呢?

问题二:

有没有其他需要改动的地方?例如有关时序的寄存器AnCR?

另外:

AnCR 为什么对应的是CS2 CS3,不是应该CS0CS1么?而且也没有找到CS2 CS3管脚啊?

A1CR Asynchronous 1 Configuration Register (CS2 space) 
A2CR Asynchronous 2 Configuration Register (CS3 space)---- from AEMIF pdf----

如能解答非常感谢