[INFO] Reboot TWR-K65F180M

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

[INFO] Reboot TWR-K65F180M

401 Views
alessandrobiasc
Contributor I

Hi all,

        I'm using MQX 4.2.2 on a TWR-K65F180M ( Kinetis K65 MCU ).

I wuold like to call a function that simply reboots my board but seems that MQX do not exports this functionality.

Can anyone help me to solve my problem ? Thanks you very much.

Regards,

Alessandro Biasci.

Tags (1)
0 Kudos
1 Reply

211 Views
soledad
NXP Employee
NXP Employee

Hello Alessandro,

You can simply call function __boot(); inside your code. This is first code which is executed directly after MCU reset.

Function __boot(); is located in file boot.c

Function __boot(); is defined as start code inside vectors.c file.

I hope this helps,


Have a great day,
Sol

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos