5 years, 6 months ago.

LPC 1768 will only work after restart

Hi all,

I am fairly new to the mbed world. I have some sensors+mbeds connected wirelessly through zigbee to a coordinator, all LPC 1768. I receive the data on MATLAB and everything works fine until I stop the Matlab loop and try to run it again after some time. There is serial no data coming out of the Mbed then. The interesting bit is that even when I load another code on the MC , reset and run it on Coolterm, still nothing comes out it. Only when I power it off and on again, it starts working normally. I have looked for a solution but I am not even sure where the problem lies. Any help will be highly appreciated.

1 Answer

5 years, 6 months ago.

Pressing the reset button on the LPC1768 should also restart your code without reloading another code. have you tried that?

The problem could also be on the PC side with the Virtual Com Port driver for the serial connection to matlab or coolterm getting stuck when you stop the matlab code in the middle of some ongoing communication.