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
  • Hello, thank you for your reply.

    I am completely new at this IDE, so I have never used the nRFGo Studio, so I don’t know at this time how to load a file and send it to the nRF51 development board. However, I do recall somewhere reading that the .Hex files could be copied and pasted into the device directly, so I took a chance and with Windows File Explorer copied and pasted the file to the JLINK folder, after erasing the device in Keil. The LED 1 blinks at a rate of 0.5Hz and my BluetoothLE ‘sniffer’ app now displays Nordic_HRM which confirms that the radio is working.

    Prior to the above, I tried flashing etc, the HRM program in Keil, and the device did not advertise.

    I hope this helps, because I really need to get some work done again.

    Cheers, Brian Fleming

    P.S. is email the correct method of replying to your support responses?

Reply
  • Hello, thank you for your reply.

    I am completely new at this IDE, so I have never used the nRFGo Studio, so I don’t know at this time how to load a file and send it to the nRF51 development board. However, I do recall somewhere reading that the .Hex files could be copied and pasted into the device directly, so I took a chance and with Windows File Explorer copied and pasted the file to the JLINK folder, after erasing the device in Keil. The LED 1 blinks at a rate of 0.5Hz and my BluetoothLE ‘sniffer’ app now displays Nordic_HRM which confirms that the radio is working.

    Prior to the above, I tried flashing etc, the HRM program in Keil, and the device did not advertise.

    I hope this helps, because I really need to get some work done again.

    Cheers, Brian Fleming

    P.S. is email the correct method of replying to your support responses?

Children
No Data
Related