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

Integrate SoftDevice Stack into IAR Workbench 7.10.1 for ARM

Hi, I am trying to evaluate the NRF51822 with S110 softdevice stack. My IDE is the IAR Workbench 7.10.1 for ARM. I downloaded the most recent s110 version (s110_nrf51822_6.0.0) which contains a folder of include files and the s110_nrf51822_6.0.0_softdevice.hex file. My question is what am I supposed to do with the .hex file? How do I integrate that into my overall application?

thank you.

Parents
  • If you install the SDK making sure to select "Custom installation location", or use the zip of the SDK, you should find an example IAR project in C:\Nordic Semiconductor\nRF51 SDK_v5.1.0.36092\nrf51822\Board\nrf6310\s110\ble_app_hrs\iar. This shows a full example of how the softdevice can be used from an IAR project.

    I'd also recommend you to take a look at the User Guide for the kit you're using, for instance this document for the Development Kit. This explains some of the concepts involved, for instance that flashing a softdevice to the chip is completely independent of flashing the actual application.

Reply
  • If you install the SDK making sure to select "Custom installation location", or use the zip of the SDK, you should find an example IAR project in C:\Nordic Semiconductor\nRF51 SDK_v5.1.0.36092\nrf51822\Board\nrf6310\s110\ble_app_hrs\iar. This shows a full example of how the softdevice can be used from an IAR project.

    I'd also recommend you to take a look at the User Guide for the kit you're using, for instance this document for the Development Kit. This explains some of the concepts involved, for instance that flashing a softdevice to the chip is completely independent of flashing the actual application.

Children
  • I need an understanding of why the SoftDevice requires independent flashing from the application using it? We would like to be able to do a one time programming on these devices for our product once they go out the door, but this adds a step. I will dig deeper, but if I can get an answer here quicker would be nice. We are also an IAR shop, not Keil, so for the examples in the DEMO kit, I'll be building those in IAR since that will be my target development environment.

    Thanks

Related