How to implement soft reset on Vybrid running MQX?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to implement soft reset on Vybrid running MQX?

Jump to solution
1,721 Views
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 Solution
1,157 Views
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

View solution in original post

5 Replies
1,157 Views
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,157 Views
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 Kudos
1,158 Views
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,157 Views
bfac
NXP Employee
NXP Employee

karinavalencia, can you help us expediting this request?

1,157 Views
karina_valencia
NXP Apps Support
NXP Apps Support

rendy can you help here?

0 Kudos