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
  • Hi Vidar,

    Actually you were spot on... The issues I was facing was because our prototype boards now only have 16Ks of ram.

    So I ended up installing Keil 5.18 and SDK10 clean, then created a new Bootloader project dualbank S310.

    Edited the memory configuration, build the bootloader and uploaded S310 and the bootloader

    And guess what?! Now the bootloader jumped into action and is now working just fine!

    (I tried configuring my old project just before without success)

    So now I have a working hex file with a bootloader :)

    So thank you very much for you help / support - very much appriciated!

    BR Flemming

Reply
  • Hi Vidar,

    Actually you were spot on... The issues I was facing was because our prototype boards now only have 16Ks of ram.

    So I ended up installing Keil 5.18 and SDK10 clean, then created a new Bootloader project dualbank S310.

    Edited the memory configuration, build the bootloader and uploaded S310 and the bootloader

    And guess what?! Now the bootloader jumped into action and is now working just fine!

    (I tried configuring my old project just before without success)

    So now I have a working hex file with a bootloader :)

    So thank you very much for you help / support - very much appriciated!

    BR Flemming

Children
No Data
Related