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

How to get Bluetooth Bootloader up and running??

Hi,

I am having BIG problems getting the Bluetooth Dual Bank Bootloader sample to work!

I am using Keil 5.18 and using SDK version 9.0.0 and also tried 10.0.0. I have S310 working together with a application using both ANT+ and BT. No problems what soever...

But now I want to add a bootloader functionality so that I can update the firmware remotely if I need to.

I use the following recipee:

  • First I clear the CPU using nRFStudio
  • Then I install Softdevice S310 v3.0.0 in the device (116KB)
  • I use the sample BLE_DFU_DUALBANK_S310 (not sure this is the exact name :))
  • From either V9 or V10 SDK
  • Build the project (which takes 3 compile iterations optimizing for size)
  • I have then tried installing the bootloader 2 ways.
  • One way is just clicking upload in Keil which uses jrfprog
  • Second way is using nRFStudio and install the bootloader here by using the .hex file

I reset the board and then use "NRF Toolbox" on my Android Phone to try and search for the device. But it never comes up.

Actually I think it crashes becuase I cant even lit a LED....

I am pretty stuck here. I cant seem to be able to single step the bootloader for some reason. This way I could possible identify what is going wrong...

Please help

Parents
  • Only dual bank example is provided for OTA DFU. Although to make it single bank you only need to replace dfu_dual_bank.c with dfu_single_bank.c in your project. Softdevice requires the application to be erased because of space limitation as you mentioned. Purpose of dual bank is to allow the bootlaoder to enter the old application in case application dfu fails. With single bank it has to fall back into DFU mode as the old application is erased.

Reply
  • Only dual bank example is provided for OTA DFU. Although to make it single bank you only need to replace dfu_dual_bank.c with dfu_single_bank.c in your project. Softdevice requires the application to be erased because of space limitation as you mentioned. Purpose of dual bank is to allow the bootlaoder to enter the old application in case application dfu fails. With single bank it has to fall back into DFU mode as the old application is erased.

Children
No Data
Related