Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

ble uart app example

Greetings,

I can get the ble uart example to work on my PCA10056 using the example hex file, but when compiling the project on the SDK 15.0 S140 it doesn't work. Specifically, the device does not publish and the LED doesn't blink, any advice?

Kind regards.

Parents Reply
  • I don't think there is actually, but I can give you a quick explanation.

    There are a couple of important reasons for why we chose to deliver our BLE stacks as pre-compiled binary hex files:

    1. So that you don't have to compile 100-150 kB of extra code every time you make changes in your application. 
    2. So that there are no link time dependencies between your application and the BLE stack.
    3. Since the stack is completely independent of your application, Nordic can qualify the stack for you. If there were dependencies, you would be responsible for qualifying the stack everytime you make the slightest change to your application. By doing it our way, you can concentrate on your application and not worry about spending time and money on qualification. 

    Note that you only have to load the Softdevice once. After that it should be enough to only load your application (unless you erase the entire flash in your device). 

    Here is an overview showing how the stack and application are placed in flash: Memory resource map and usage.

    If you need a bootloader, that would actually require a third hex file. But once again, it only needs to be loaded once. 

Children
No Data
Related