How to implement soft reset on Vybrid running MQX?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

How to implement soft reset on Vybrid running MQX?

跳至解决方案
1,785 次查看
flaviocaduda
Contributor II

How do I implement a soft reset on Vybrid running MQX? On Cortex M I know that a specific register (AIRCR) is used for system wide reset from within software. Is there any similar way on the Cortex A5? Or is this done from the Cortex-M4 on the Vybrid? Anyone has an example they could share?

Regards,

Flavio

1 解答
1,221 次查看
rendy
NXP Employee
NXP Employee

Hi,

for software reset use SW_RST bit in SRC Control Register (SRC_SCR). See chapter 18.3.2 in Vybrid RM.

Regards

Rene

在原帖中查看解决方案

5 回复数
1,221 次查看
alejandrolozan1
NXP Employee
NXP Employee

Hi Flavio,

In the below discussion you can get more information regarding software reset. Reset A5 without interfering on M4

Please keep us informed if using the SW_RST helped you.

/Alejandro

1,221 次查看
flaviocaduda
Contributor II

Thanks Rene, it worked. Yet there is an unwanted side effect. The MQX and IAR debugger don't keep synch after the reset. I suppose it is because there is no memory repair sequence after a soft reset, or IAR doesn't know what to do after the soft reset.

Regards,

Flavio Caduda

0 项奖励
1,222 次查看
rendy
NXP Employee
NXP Employee

Hi,

for software reset use SW_RST bit in SRC Control Register (SRC_SCR). See chapter 18.3.2 in Vybrid RM.

Regards

Rene

1,221 次查看
bfac
NXP Employee
NXP Employee

karinavalencia, can you help us expediting this request?

1,221 次查看
karina_valencia
NXP Apps Support
NXP Apps Support

rendy can you help here?

0 项奖励