[NRF52833] Custom board work only in debug mode.

Hello,


I have the custom design. Schematic is below:

I use Visual Studio Code and nRF Connect SDK V1.6.1. My programer is NRF52833DK
I used example code (zephyr/samples/basic/blinky) then I change gpio to TRACE0 and add the line: NRF_CLOCK->TRACECONFIG= 0x00, because I use traces pin as gpio.
When I use debug mode program works fine, but when I connect only the power supply program doesn't start. During a debugging session, when I unplug SWDIO, SWCLK and NRESET then NRF52833 works continuously.

Related