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.80.4 for ARM

Hi, I'm trying to rate nrf52832 with stack ble_app_uart softdevice. My IDE is the IAR workbench for ARM 7.80.4. I downloaded the latest version nRF 5_SDK_15.0.0_a53641a, which contains a folder with include files and ble_app_uart_pca10040_s132.the hex file. My question is what should I do with it .hex file? How can I integrate this into my overall app?

Thank you.

Parents
  • From its name that hex file looks like a precompiled application that supports Bluetooth and UART. I don't think that you will be able to use that along with your own application code.

    You should be looking for something like s132_nrf52_6.0.0_softdevice.hex for the precompiled SoftDevice (its in components/softdevice/S132/hex). Your application code just needs to include the header files in components/softdevice/s132/headers to utilize the SoftDevice API. You only really need the SoftDevice if you need to support Bluetooth or one of the other RF stacks.

    The softdevice is usually programmed into your device separately using nRfGo Studio, although there may be a way of setting IAR to do this for you when loading your application - is that what you're after?

  • Yes. 

    How can I integrate softdevice into my IAR Workbench 7.80.4 for ARM?

  • I don't think this is possible in IAR. If you change to Segger Embedded Workbench (SES) instead of IAR, then this can upload the softdevice for you. If you don't use SES, you have to upload the softdevice separately, as explained, using e.g. nRFgo Studio. You only need to do this once, since the softdevice and application are written to different parts of the flash. The IDE will not overwrite the softdevice.

     

    Best regards,

    Edvin

Reply
  • I don't think this is possible in IAR. If you change to Segger Embedded Workbench (SES) instead of IAR, then this can upload the softdevice for you. If you don't use SES, you have to upload the softdevice separately, as explained, using e.g. nRFgo Studio. You only need to do this once, since the softdevice and application are written to different parts of the flash. The IDE will not overwrite the softdevice.

     

    Best regards,

    Edvin

Children
No Data
Related