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

What do I need to do to get a sample program in the SDK to advertise?

Hello,

I have just purchased the nRF51 Development Kit and I am having extreme difficulty getting any of the sample programs to function.

There are the specifications at this point:

IDE uVision V5.24.2.0

SDK nRF5_SDK_11.0.0

nrf SoftDevice s130_nrf51_2.0.0

Device arm_startup_nrf51.s(startup)

For example, I have loaded the project in this path: examples/ble_peripheral/ble_app_template/pca10028/arm5_no_packs/ble_app_template_s130_pca10028

I can build the project, flash it, and start a debug session and set a breakpoint and see it reach the breakpoint, so I know that the device is working. From looking at the code in the main routine, it should at very least advertise the DEVICE_NAME , however, a scanning app on my Android phone does not see this device.

I have performed various internet searches, and tried everything I could think of and although I have not tried all the example programs, none of the ones I have tried have advertised the DEVICE_NAME.

Your assistance would be very much appreciated.

Sincerely, Brian Fleming

Parents
  • Hi Brian!
    That's strange. You can't make any of the examples in the SDK work?
    Could you try to erase the DK, and then try to use one of the pre-compiled hex-files in the SDK?
    If you could test the HRS-example, the pre-compiled hex-file can be found here: sdk_root/examples/ble_peripheral/ble_app_hrs/hex/ble_app_hrs_s130_pca10028.hex.
    This file includes both the application AND the softdevice, so you only have to download that file to your board.
    You can use nRFGo Studio or nrfjprog to erase and download the hex-file. Best regards.

Reply
  • Hi Brian!
    That's strange. You can't make any of the examples in the SDK work?
    Could you try to erase the DK, and then try to use one of the pre-compiled hex-files in the SDK?
    If you could test the HRS-example, the pre-compiled hex-file can be found here: sdk_root/examples/ble_peripheral/ble_app_hrs/hex/ble_app_hrs_s130_pca10028.hex.
    This file includes both the application AND the softdevice, so you only have to download that file to your board.
    You can use nRFGo Studio or nrfjprog to erase and download the hex-file. Best regards.

Children
No Data
Related