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

unable to print debug logs in my custom board

hello sir/ma'am

we are using nrf52840 chip in our customized board product and IAR as a development environment and also a debugger called segger jlink .we are not able to view the NRF_LOG_INFO output.attached is the schematic diagram of the product,do let us know if it is possible to view the logs according to our design,if not what are the changes we need to do in order to be able to achieve the same logging on terminal.

NOTE: 1. the jlink debug header is present at "J6" in the schematic. 2. the usb connector which is used for programming the device is present at "J9" in the schematic. 3. the com port is getting detected and we are able to open the port using termite with all the configuration defined in the document. 4. the cli usbd is working feature is working smoothly 5.

we've cross-checked the following things. 1.Processor always call NRF_LOG_PROCESS. 2.NRF_LOG_INIT and NRF_LOG_DEFAULT_BACKENDS_INIT macros are called in the beggining of the main. 3.NRF_LOG_ENABLED set

below is the schematic of board

105-X6-00.pdf

thanks

sakib

Parents Reply Children
  • hello, Simon,

    correction:- I verified the usage of UART with the design engineer, it's used for sending data to another module(refer U2 in the schematic design)

    so probably it can't be used to send/receive debugs.

    can you please go through the design and let me know what are the other options I have for viewing NRF_DEBUG_LOG() outputs.

    the custom board is connected through USB(refer to J9 in the design pdf that I attached in the first query) and another header with jlink is connected at j6.

    thanks

    sakib

Related