Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

Segger SES and nRF5 SDK setting, building and executing examples

Hello, I'm super beginner for ble.

I have a DK board, nRF51-DK, and trying to learn how to use DK board, Segger SES and nRF5 SDK.

board : nRF51-DK

SES : version 7.12a

SDK : 12.3.0

experience : connecting nRF51-DK and PC through USB cable , copy an example hex file to JLINK flash, 

   working well with hex file.

problem : sdk - examples - peripheral - uart folder,  there is a eww file, uart.eww, SES importing project - EWARM project - selecting uart.eww

   imported well, nrf51422_xxac Internal, build - good. additional output format - hex  

   copy result hex from build, not working board.... why?

should I change any project options for SDK and board ? 

Parents
  • Hi. 

    I assume that you are using the ble_app_uart example?

    I suspect that this is happening because you haven't uploaded the softdevice to your DK. The BLE examples require the softdevice to be present.  

    So when you are flashing your device (I suggest using the nRF Programmer application which is part of nRF Connect for desktop) you also need to flash the appropriate SD hex file. 
    There is also a pre-compiled hex file with the SD included available in the SDK. You can find that in the nrf5_sdk/example/ble_peripheral/x_sample/hex. You would have to choose the hex file for PCA10028 (which is the nRF51-DK) and softdevice S130. 

    If you have any further questions, please let me know.

    Br, 
    Joakim

  • Hello Joakim, 

    Thank you for your kind reply. 

    Um.. I tried just a "peripheral", not ble, 

          

    It also need the softdevice with peripheral example ? 

    It doesn't need the softdevice when I tried the example - peripheral - blinky.

Reply Children
Related