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.

6678 NOR writer失败



使用的是6678的EVM,准备按照

www.deyisupport.com/.../46608.aspx

中的例程操作一次,实现SPI方式BOOT。我是将例程中提供的.dat文件直接复制到 writer\nor\evmc6678l\bin 目录下,然后将norwriter_input.txt中file_name修改为.dat文件对应的文件名(文件大小84K)。然后clean project; build project,再进行Debug。其实都是按照Nor writer工具的说明操作的。

但在使用nor writer工具烧写生成的.dat文件的时候,CCS报错,日志如下:

[C66xx_0] NOR Writer Utility Version 01.00.00.03
[C66xx_0] 
[C66xx_0] Flashing sector 0 (0 bytes of 28480)
[C66xx_0] Reading and verifying sector 0 (0 bytes of 28480)
[C66xx_0] Failure in sector 0, at byte 0, (at byte 0 in the data file) expected 0x00000000, read 0x00000000
[C66xx_0] NOR read verify failed

不知道是什么原因?

  • 可能是DDR没有初始化导致。Nor writer 烧写数据的源地址是在DDR,对应地址#define WRITE_DATA_ADDRESS     0x80000000,注意在读写DDR之前需要初始化DDR,建议在ccxml配置文件中添加6678 gel文件,在链接板卡时会自动运行gel完成DDR的初始化。