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

No printouts for cli_libuarte with make and nrfjprog

Hi, I am trying to create a project using make in addition to my SES project. My problem is that I see no printouts on /dev/ttyACM0 (using minicom to debug this), but I do when I use SES. To debug this I created a Makefile from example SES project cli_libuarte, but still no luck.

My setup is an nrf52840 devkit, SDK5 v16.0.0 and softdevice 7.0.1, and main.c and sdk_config.h from cli_libuarte example, no changes.

In the Makefile I use nrfjprog to program my device like this:

nrfjprog --eraseall --snr $(JLINK_ID)
nrfjprog --program ../../sdk/components/softdevice/s140/hex/s140_nrf52_7.0.1_softdevice.hex --snr $(JLINK_ID)
nrfjprog --program _build/nrf52840_xxaa.hex --snr $(JLINK_ID) --sectorerase
nrfjprog --reset --snr $(JLINK_ID)

The project builds and is uploaded, but I see no printouts.

What am I missing?

Parents Reply Children
No Data
Related