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

Trace function missing from SDK12 logger module?

Hi,

I am porting our application from SDK10 nrf51 to SDK12 nrf52. The application takes use of a serial console accessible over UART.

I notice the new logger module in SDK12 only seems to output to UART/RTT after a debug reset operation and that app_trace.c with it's functions are gone. What is now the recommended way to provide trace functions after a normal pin reset?

many thanks, Olov

Parents Reply Children
  • OK, thanks. That helped. I couldn't get output on UART/RTT from the buttonless ble_dfu example (on my custom board) until I started a debug session in Keil. nrfjprog --pinreset used to be enough to generate output on nrf51 but now I see that both nrfjprog --debugreset" and "nrfjprog --reset" works for nrf52.

    In other words, it seems like there is a changed behaviour for "nrfjprog --pinreset" between nrf51 and nrf52 which confused me..

Related