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

Application starts only with connected SWD / debugger after DFU

I have the following problem:

I want to update my application code via BLE with the secure bootloader. This works perfectly while the J-Link-RTT-viewer is connected.

When the J-Link-RTT-viewer is not connected, the bootloader starts, but the new application is never running.

When I set both bank 0 and bank 1 to INVALID (to make the bootloader advertise as DfuTarg), I notice the same behavior - The bootloader is only advertising, when J-Link_RTT-viewer is connected.

SEGGER_RTT_CONFIG_DEFAULT_MODE is set to 0 (SKIP  - Do not block, output nothing).

I am using:

  • nrf52832
  • SDK version 15.2.0
  • gcc / Eclipse
  • softdevice 132 / 6.1.0

I already tried to comment out every call to SEGGER_RTT_printf().

Related