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

How to view all logs and error messages on nRF52840

What's the easiest way to view all logs and error messages using USB serial connection app like putty, on the nRF52840 dongle?

What drivers and functions do I need to enable?

The CLI example works but I can't work out what I need and not need to just view the logs. I dont need the CLI 

Thanks in advance

Parents Reply Children
  • I'm not asking for debugging, I'm asking for stuff to be printed to the usb that I can connect with using putty or somethin. I find it strange you say it cant be done and then offer me to buy another board when I can load up the CLI example and that prints to the terminal just fine...  anyway I sorted it by gutting the CLI and USB examples and at least now i can write to the terminal, but due to he usb library, for some reason if i introduce any delay into the code the USB driver crashes so it needs constant pinging. This should have been implemented in the driver itself using timers or something... but anyway.. I suggest you write a very simple example that outputs all the log and error messages to the terminal as they arrive. It would be most helpful. Cheers

Related