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烧录到Nor flash中无法运行



您好,

我利用C6748做了块板子,SPI0接了块nor flash,用AISgen工具把官方的led blink.out生成了.bin,通过dediprog烧录到nor flash当中 但是没有运行起来。

请问是我的操作有问题还是bin文件生成的配置有问题? 或者有任何debug的方法? 谢谢。

  • CCS中是可以跑通的吗?
    AISgen中的配置建议跟GEL文件中的配置对比看一下。
    Question: Why does my program work in CCS but does not boot from flash?
    Answer: Gel File Reliance
    The most common problem is that some configuration is done in the GEL file that the code needs, such as
    external memory configuration, pinmux configuration, or PLL configuration. Most of these functions can
    also be performed by the bootloader using the AISgen tool. Compare the PLL, pinmux, and DDR registers
    after booting and verify they match what the GEL file sets them to.
    www.ti.com/.../spracm8.pdf
    bootmode再核对看一下。
    生成的输出文件是.ais后缀。
    另外也可以通过仿真器跟一下代码看看运行到了哪里。