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

nRF51 SDK example not working mbed kit

Hi,

I use : An nRF51822 mbed kit + Kiel 5

So I updated the firmware like this : mbed.org/.../ and I dropped s110_nRF51822_v6.000 into MBED(H:)

I successfully use (I detect BLE activities on my BLE USB dongle) the BLE_HeartRate example (I got the .hex on mbed.org and dropped it into MBED(H:))

But when I want to use any nRF51-SDK examples (more specifically \nrf51822\Board\nrf6310\s110\ble_app_hid_keyboard), I use Kiel 5 and set up the "project>option for target" like this blog : devzone.nordicsemi.com/.../

It compiles and flashes successfully but nothing happen (I don't found any BLE activities)

I did everything except " Once loaded, please follow the "configuring a project for CMSIS-DAP debugger" section (last step) for the s110 project of your desire." because I didn't understand on this blog...

I'd be grateful if somebody can help me !

thank you !

Damien

Parents
  • Hi Damien,

    The .hex file from mbed.org will contain the softdevice and application in one .hex file. If somehow, the previously loaded softdevice is deleted or overwritten, the example will not run properly. Try copying the softdevice to your H:\ , then make sure that your project is setup to "Erase sectors" as shown in the 3rd picture in the blog post. Now you can try to load the application .hex file again from Keil.

    Note that you may have to power cycle your board in order for it to start up properly (if "Reset and run" is not checked under debugger settings)

    Also make sure that if you're using SoftDevice S110 v6.x, you must use examples from nRF51 SDK v5.x. SoftDevice S110 v7.x must use nRF51 SDK v6.x.

    Best regards,

    Håkon

Reply
  • Hi Damien,

    The .hex file from mbed.org will contain the softdevice and application in one .hex file. If somehow, the previously loaded softdevice is deleted or overwritten, the example will not run properly. Try copying the softdevice to your H:\ , then make sure that your project is setup to "Erase sectors" as shown in the 3rd picture in the blog post. Now you can try to load the application .hex file again from Keil.

    Note that you may have to power cycle your board in order for it to start up properly (if "Reset and run" is not checked under debugger settings)

    Also make sure that if you're using SoftDevice S110 v6.x, you must use examples from nRF51 SDK v5.x. SoftDevice S110 v7.x must use nRF51 SDK v6.x.

    Best regards,

    Håkon

Children
No Data
Related