How to power-on reset and re-initialize for freertos in mpc5748g

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

How to power-on reset and re-initialize for freertos in mpc5748g

885 次查看
xy1904312
Contributor I

I use lwip_mpc5748g example project in S32DS.

It's able to send / receive packets between the board and PC now.

However, there's something wrong that the program always stucks after I put the reset button on the board, and so does that I power-off the board and then power-up it.

The situation just happens while the program is based on freertos, instead of those without freertos such as ethernet_udp_Zx example project in S32DS.

I have no idea how to power-on reset to make the program re-run from the beginning like other programs without freertos.

Is it any possible to solve it?

Thanks a lot.

0 项奖励
回复
1 回复

776 次查看
martin_kovar
NXP Employee
NXP Employee

Hello,

I tested lwip example on my side and it works correct even if I power cycle the board or reset MCU externally. Please be sure, you have compiled example for Flash target, because if you have compiled example for RAM target, it will work only until microcontroller is externally reset.

pastedImage_1.png

Please let me know, if this resolved your problem.

Regards,

Martin

0 项奖励
回复