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的soft reset问题

6678可以通过RSTCFG寄存器控制复位类型,RSTCTRL寄存器来实现软件复位

我在应用程序中更改了boot mode(DEVSTAT寄存器),将复位类型设置为soft reset(RSTCTRL寄存器),并向RSTCTRL寄存器中写入值启动复位,此时的复位是soft reset,DEVSTAT中的boot mode应该不会改变,但在6678evm上实测,复位后DEVSTAT的值改变了

请问我的配置有错误的地方么?

*(Uint32 *)0x023100E8 = 0x00015A69; //向RSTCTRL中写入KEY值
*(Uint32 *)0x023100EC = 0x00003000; //将软件复位设置为soft reset模式
*(Uint32 *)0x023100E8 = 0x00015A69; //向RSTCTRL中写入KEY值
*(Uint32 *)0x023100E8 = 0x00005A69; //启动软件复位