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

nrF5340 network processor RTT and debug UART nrf Connect SDK v1.5.0

Hi,

I was using the  die temperature measure example you gave running on the network core. I am using SDK 1.5.0 and 1.4.0 and can't seem to get any debug out from the UART or via RTT. My proj.conf file has :

CONFIG_GPIO=y
CONFIG_SERIAL=y
CONFIG_SENSOR=y
CONFIG_TEMP_NRF5=y

CONFIG_PRINTK=y
CONFIG_CONSOLE=y
CONFIG_LOG=y
CONFIG_STDOUT_CONSOLE=y
CONFIG_RTT_CONSOLE=y
CONFIG_USE_SEGGER_RTT=y

Can't get anything working on the RTT or uart via printk or printf.  I was able to get the temperatures by watching val but not sure why printk isn't working. The debugging sort of works as I can step through code and I did program the dummy app to enable the network core. I'm using the standard DTS file for the network processor on the PDK. Also tried the log module with LOG_INF and this comes up with a compile error that the __log_level is undeclared. I tried the same project but on a nrf52833 kit and it works fine. I then tried the rpmsg sample you provide and lo and behold couldn't get the UART or RTT working either ( I tried it last year and it did seem to work then). I also looked at the levels on P0.25 and P0.26 with a scope and they are low with no activity.  Any ideas where I'm going wrong?

Parents Reply
  • Hi Amanda,

    Thanks. From what i understand this is how you merge an app project and nw project. I want to debug my nw project using SES. I have programmed the blank app application to enable the nw processor. I then load my nw application (in this case Temperature) and then run the debugger, which runs. I can watch the appropriate variables but I don't see debug output in the UART window or the debug window. If I stop the debugger and run Jlink RTT viewer with the NW core I am able to see the RTT output. So in a nutshell when I'm debugging in SES I can't see this debug output even when the debugger is running.

    Alex 

Children
Related