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

Problem on Keil 5 compiled nRF51 SDK sample, deploy to nRF51822-mKIT

Dear All,

I just got my new nRF51822-mKit. And try complie mbed sample app and deploy to the mKit. It work fine.

But when i try nRF51 SDK sample with Keil 5, eg.: \nrf51822\Board\nrf6310\s110\ble_app_alert_notification

I use Keil 5 to compiled the sample and copy the output hex file. And then deploy to mKit (copy to mkit drive). It seem not running.

Any idea and advise? Thank you.

Parents
  • Hi,

    The examples in the SDK does not include the softdevice merged into the .hex file, as the mbed projects does. What you will have to do is to perform the same operation as an exported mbed project (to Keil uVision)

    image description

    This is the whole string that is included in the ble_beacon example that I exported from mbed (you'll have to match the path to the softdevice to your system):

    mergehex -m !H  mbed/TARGET_NRF51822/s110_nrf51822_6.0.0_softdevice.hex  -o [email protected]
    
Reply
  • Hi,

    The examples in the SDK does not include the softdevice merged into the .hex file, as the mbed projects does. What you will have to do is to perform the same operation as an exported mbed project (to Keil uVision)

    image description

    This is the whole string that is included in the ble_beacon example that I exported from mbed (you'll have to match the path to the softdevice to your system):

    mergehex -m !H  mbed/TARGET_NRF51822/s110_nrf51822_6.0.0_softdevice.hex  -o [email protected]
    
Children
No Data
Related