[INFO] Reboot TWR-K65F180M

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

[INFO] Reboot TWR-K65F180M

1,152 次查看
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.

标记 (1)
0 项奖励
回复
1 回复

962 次查看
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 项奖励
回复