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

Enabling NRF_LOG using IAR for ScanApp BLE

Hi

How can i configure NRF_LOG with IAR and J-Link connected via USB to a RAK 813 BreakBoard, i'm testing BLE SCAN Application.

Regards,

Julio César Morales bErmúdez

Parents
  • It's possible you can get a more detailed answer by contacting support at RAK, but I will assist you to the extent I can based on our knowledge of Nordics hardware and firmware together with the RAK documentation.

    The RAK software resources already include the "nRF_Lib" folder already include "log" and "segger_RTT", which seems to be set up for you already. The "log" folder seems to be targeting UART, which you can push either over output pins or to USB though the CP2102. The "segger_RTT" folder contains the features you are looking for and allow you to send debug information though the JLink connected over USB. This information will be readable by "J-Link RTT viewer" or equivalent applications.

    Seems to me like you should probably just use the segger_RTT resouces already provided by RAK, and not neccessarily connect that to NRF_LOG. After getting their RTT logging running, it shouldn't be too challenging to connect that to the RTT backend for nrf_log.

    Best regards,
    Rune Holmgren

Reply
  • It's possible you can get a more detailed answer by contacting support at RAK, but I will assist you to the extent I can based on our knowledge of Nordics hardware and firmware together with the RAK documentation.

    The RAK software resources already include the "nRF_Lib" folder already include "log" and "segger_RTT", which seems to be set up for you already. The "log" folder seems to be targeting UART, which you can push either over output pins or to USB though the CP2102. The "segger_RTT" folder contains the features you are looking for and allow you to send debug information though the JLink connected over USB. This information will be readable by "J-Link RTT viewer" or equivalent applications.

    Seems to me like you should probably just use the segger_RTT resouces already provided by RAK, and not neccessarily connect that to NRF_LOG. After getting their RTT logging running, it shouldn't be too challenging to connect that to the RTT backend for nrf_log.

    Best regards,
    Rune Holmgren

Children
No Data
Related