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.

求助关于C6678的local reset问题

我现在想要通过core0对core1进行local reset,根据psc文档中介绍的操作步骤:

1. Set MDCTL[Y].LRSTZ to 0x0 to assert local reset.
2. Set MDCTL[Y].LRSTZ to 0x1 to de-assert local reset.

我将MDCTL15的LRST位置为0且将PTCMD寄存器置1,但core1并没有reset的迹象,请问是不是我的方法有误??

注:系统刚跑起来时打印出MDSTAT15的值为0xa00

-----------------------------------------------------------------------------------------------------------------------------------------------------------

更新:

现在core1已可以被reset,使用评估板的USB接口进行调试时,调用BIOS_start()后在任务中local reset core1则core1状态变为inreset,如果不调用BIOS_start()(在main()中进行local reset),则core1的状态为disconnecting,看IDE的console中的打印信息,core1没有重新执行程序。

请问如何才能让core1在local reset后重新从头开始执行程序?我现在无法从头开始执行程序的原因是不是调试造成的??是不是将程序烧录后执行就可以实现我的需求?谢谢解答!!