printf -> /dev/ttyXXX output not working (nRF52 DK, Thingy52)


Lars Knudsen
 

Hi,

I recently got an nRF52 DK board to flash/debug Nordic Thingy52 using Zephyr.

My host machine is running Ubuntu Linux (modemmanager uninstalled, udev rules allows user access to the nRF52 DK).

According to documentation, printf statements fired from the Zephyr firmware on the Thingy52 (possibly printk - tried both) should end in the USB CDC output from the nRF52 DK.

I read that there might be an issue with HW flow control being enabled on the nRF52 DK so I tried multiple combinations enabling/disabling flags in minicom - but still no output.

SEGGER_RTT_Write works in combination with JLinkRTTConsole & JLinkExe with the following params:

JLinkExe -device NRF52832_XXAA -if SWD -speed 12000 -autoconnect 1

However, it would be nice with some basic printf -> /dev/ttyACM0 working.

Does anyone have some hints on possible missing build flags, includes, settings on nRF52 DK or other that might get the serial communication working?

br
Lars

Join devel@lists.zephyrproject.org to automatically receive all group messages.