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

is it possible to print logs using SWIO and swclk with external devices

hi, i have downloaded code to nrf52 BLE module using nr52 DK with VTG,SWIO,SWCLK connections. but here i am unable to display the log for nrf52 ble module. is it possible to display printing NRF_LOG on termite or minicom. using SWIO,SWCLK.

thank you.

Parents
  • Hi, no. You need either RTT (special debugging lines, see this) or enable logging over UART and connect specific Tx PIN (+ GND) to some serial cable (typically FTDI "serial to USB" or similar). If you really have only one line left then you can repurpose RESET line to work as standard GPIO and use it for UART Tx PIN but you cannot repurpose SWD lines on nRF52 as far as I can see.

  • Using SDK11 already enabled ENABLE_DEBUG_LOG_SUPPORT

Reply Children
No Data