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

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

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

866 Views
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 Kudos
Reply
1 Reply

757 Views
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 Kudos
Reply