Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Debugging application after flashing with DFU on nrf52840DK

Hi,

I flashed open_bootloader and it seams to work. I was following this question. However, after building application (I am using ble_central/ble_app_gatts example), creating a package with command:

nrfutil pkg generate --hw-version 52 --debug-mode --sd-req 0x00 --sd-id 0x0100 --application nrf52840_xxaa.hex --softdevice ~/opt/nRF5_SDK_DeviceDownload/nRF5SDK1702d674dde/nRF5_SDK_17.0.2_d674dde/components/softdevice/s140/hex/s140_nrf52_7.2.0_softdevice.hex dfu.zip

And flashing the nrf (connected through J3)

nrfutil dfu usb-serial -pkg dfu.zip -p /dev/ttyACM0 

I see the LED blinking but I am not able to see advertisements through nrf Connect App on the phone. I would really like somehow to get more information about the state of the program.

Related