This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

mbed OS serial port hang.

Hi,

I've got a nice, well-documented bug here: github.com/.../25

The short of it: Adding a single printf() statement to this mbed OS example causes my nRF51-DK board to hang eventually, if I don't connect to the exposed /dev/ttyACM0 port using minicom or similar terminal program.

I think the serial port code for the Nordic chips in the HAL has issues w/non hardware-flow controlled configurations.

I suppose I can remove all printf() calls in production, but this is really not ideal even for early prototyping.

Max

Related