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,

    thank you for your help. Now I was able to compile and adapt the bootloader to my final hardware with the S120 softdevice. But because of my application size I have to do a single bank update. As I mentioned, I`m now using the 8.0.0 SDK. I think with this SD it is not enough, to simply switch from dfu_dual_bank.c to dfu_single_bank.c!? What further things do I have to change? BR

Reply
  • Hello Hung Bui,

    thank you for your help. Now I was able to compile and adapt the bootloader to my final hardware with the S120 softdevice. But because of my application size I have to do a single bank update. As I mentioned, I`m now using the 8.0.0 SDK. I think with this SD it is not enough, to simply switch from dfu_dual_bank.c to dfu_single_bank.c!? What further things do I have to change? BR

Children
No Data
Related