Logging/Printing issues in the nRF 9160 DK

I am using the nrf9060dk device with the nrf connect software (V2.5.0), but I am facing some logging issues that I did not encounter in the previous versions of zephyr.

One issue is that when I use the printk() function, I get —dropped messages— and changing the baudrate does not help, even though priniting this data works fine in the nrf52840dk device.

Another issue is that the dk device restarts unexpectedly when -I assume- a fatal error happens, and I do not see any FATAL ERROR message in the logs as I did in the nrf52840 device.

I need your help urgently. I cannot troubleshoot without a functional logging system.

Parents
  • Hello,

    ''One issue is that when I use the printk() function, I get —dropped messages— and changing the baudrate does not help, even though priniting this data works fine in the nrf52840dk device.''

    Can you please show the code snippet of prinktk() part and the output you are seeing on the terminal? 

    It seems like you are using putty as serial terminal. Can you please try to use another terminal like Termite?

    ''Another issue is that the dk device restarts unexpectedly when -I assume- a fatal error happens, and I do not see any FATAL ERROR message in the logs as I did in the nrf52840 device''. It happens for which application on the DK and what is the error log you got after building the application?

    Thanks.

    BR

    Kazi

  • The first issue is solved by increasing the CONFIG_LOG_BUFFER_SIZE.

    Restart problem occurs when I use MQTT publish function mqtt_publish()

Reply Children
No Data
Related