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

nRF5_SDK_17.0.2_d674dde\examples\dfu\secure_bootloader\pca10056_s140_ble_debug\ses won't advertise DfuTarg name

So I now have nRF 52840 dk and I'm working through the secure bootloader example. I am using SES. (Windows).

So I built and flashed the the app and it looks fine, it has Leds 1 and 2 lit and the software layout looks fine (in nRF Connect)

In trying to use the Connect J-Link, I see the output (in part)

<debug> nrf_dfu_ble: Enabling the BLE stack.
<debug> nrf_dfu_ble: No advertising name found
<debug> nrf_dfu_ble: Using default advertising name
<debug> nrf_dfu_ble: Advertising...

As far as I know the advertising name is defined in the sdk_config.h?

// <s> NRF_DFU_BLE_ADV_NAME - Default advertising name.
#ifndef NRF_DFU_BLE_ADV_NAME
#define NRF_DFU_BLE_ADV_NAME "DfuTarg"
#endif

I've tried following the code and stepping into, but it's a rabbit warren and I got lost.

Can you help please.

Gordon

Parents Reply
  • Hi,

    gfmoore said:
    I've just explained in great detail what I am doing with pure  Nordic code that I have not changed.

    I see, good. Then there must be an issue with how you test as the example does work out of the box and does indeed advertise as DfuTarg. 

    gfmoore said:
    I am just working through the example on how to develop a secure bootloader. I haven't got to buttonless yet.

    I understand that. I was just explaining why the code you were looking at is irrelevant at this point.

    gfmoore said:
    If you do what I just explained in detail on your system, do you get a BLE advertisement of DfuTarg appearing on your phone under nRFConnect?

    Yes, I see DfuTarg on my phone.

Children
No Data
Related