C6748 NAND flash 程序烧写问题:
1.运行工程文件,打印烧写成功
2.用仿真器查看地址0x62000000的内容,发现读回来的数据都是0xff' 数据没写进flash
3.硬件连接图如下
4.附件为烧写工程
请问烧写程序是否有误,哪里出错了。请高手们指导
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.
C6748 NAND flash 程序烧写问题:
1.运行工程文件,打印烧写成功
2.用仿真器查看地址0x62000000的内容,发现读回来的数据都是0xff' 数据没写进flash
3.硬件连接图如下
4.附件为烧写工程
请问烧写程序是否有误,哪里出错了。请高手们指导
#1. NAND的访问方式不是地址直接映射,不能通过地址直接在CCS里查看内容。
#2. 烧写到NAND中的地址与工程的cmd的地址分配置是两回事。版本2.1的芯片支持从block 0启动了。
参考勘误表sprz301m:
Silicon Revision 2.1 supports booting from Block 0 of the flash which many NAND
manufacturers guarantee as a “more reliable” block than all other blocks. Hence,
setting up boot to start from that Block 0 could help improve the reliability of boot.
This is a hardware change, requiring the bootmode pins BOOT[6:5] = 1x.