How to implement soft reset on Vybrid running MQX?

cancel
Showing results for 
Search instead for 
Did you mean: 

How to implement soft reset on Vybrid running MQX?

Jump to solution
732 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
168 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
168 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

168 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
169 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

168 Views
bfac
NXP Employee
NXP Employee

karinavalencia, can you help us expediting this request?

168 Views
karina_valencia
NXP Apps Support
NXP Apps Support

rendy can you help here?

0 Kudos