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.

F28M35x中C28核断电再上电后程序不自动运行

Other Parts Discussed in Thread: CONTROLSUITE

F28M35x中的M3核在flash模式下,下载点灯程序到M3核能够正常运行,若此时给目标系统断电然后上电目标板程序仍能运行正常;说明此时已将程序下载到了flash中。
而当将同样是点灯程序下载到C28核(flash模式)时点灯程序正常运行,给目标系统断电再上电后程序不自动运行;若是想让C28核脱机运行应如何设置啊或是需要什么引导程序吗?

C28的CMD文件选的F28M35x_generic_C28_FLASH.cmd

  • 你要参考例程C:\ti\controlSUITE\device_support\f28m35x\v206\F28M35x_examples_Dual\flash_exe

    C28x的引导需要M3来发,如下面这句代码:

        //  Send boot command to allow the C28 application to begin execution
        IPCMtoCBootControlSystem(CBROM_MTOC_BOOTMODE_BOOT_FROM_FLASH);

    ERIC

  • 多谢ERIC,已经解决了,是这句代码前有个#ifdef _FLASH 没有定义