This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

single bank dfu with S120

Hello,

I want to implement a single bank ble dfu bootloader for nrf51822_QFAC. I already read most of the threads regarding this topic here in the DevZone. But now I`m a litte bit confused how to do it exactly. I think there are two ways:

  1. Using the exmple from this post dfu-bootloader with s120, but with the SDK. This is not my preferred solution, because I`m working with Keil/Pack.

  2. Use the standard examples from Keil pack and try to adopte them to S120. But there is only dual_bank ble available.

I got a running S110 dual bank ble example on the PCA10028. But as I mentioned my final appliaction runs with the S120 softdevice. Also it is to big for dual bank update.

Can anybody give me a straight forward tutorial how to get a s120 single bank ble bootloader with Keil Pack?

regards,

BTprogrammer

Parents
  • Hi BTprogrammer,

    I afraid that there is no easy way to do that. The best solution is to switch to the .zip (no pack) version. Then you have full flexibility to modify the source code.

    Note that you don't have to convert your application to nopack, can still use pack. The bootloader is independent from the application.

  • Hello Hung Bui, thanks for your reply. I downloaded the .zip archive and the SDK "nRF51_SDK_8.0.0_5fc2c3a.zip". When I open the project after extracting it to the SDK folder, I get the message: ..."Device not included in Legacy Device Base". Also the device is not set in project settings. Additional I was not able to install the SDK with the .msi installer because there is a newer one installed on my system (8.1.0). How can I remove the newer one? Is it enough to remove the folders? The project does not compile because it doesn`t find the device specific .h file (cannot open source input file "core_cm0.h"). BR

Reply
  • Hello Hung Bui, thanks for your reply. I downloaded the .zip archive and the SDK "nRF51_SDK_8.0.0_5fc2c3a.zip". When I open the project after extracting it to the SDK folder, I get the message: ..."Device not included in Legacy Device Base". Also the device is not set in project settings. Additional I was not able to install the SDK with the .msi installer because there is a newer one installed on my system (8.1.0). How can I remove the newer one? Is it enough to remove the folders? The project does not compile because it doesn`t find the device specific .h file (cannot open source input file "core_cm0.h"). BR

Children
No Data
Related