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.
按照例程代码,要烧写到flash中,加上_STANDALONE,_FLASH,CPU1(cpu1);_FLASH,CPU2(cpu2);程序只能运行CPU1内的,cpu2的代码并不能执行,去掉_STANDALONE,cpu1和cpu2都可以执行,只是在线进行,当断电后只有CPU1的代码,CPU2代码仍然没有 这是为什么啊?
你好,器件中两个CPU是分开的。需要分别将两个CPU工程分别烧录进CPU中。CPU2没有执行可能是你没有将CPU2的工程烧录至CPU2中。
首先选中CPU1的例程,
进入调试界面,在调试界面选中CPU2,
点击上方loadprogram,在下拉菜单中选择第一个,然后将CPU2工程.out文件烧录进去,
此时你应该可以看到两个LED闪烁。