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

OTA APP to APP DFU sdk9.0.0

HI People,

I face a problem when I do an OTA DFU from APP to APP. I compiled ble_app_hrs S110_with_dfu example fro sdk 9.0.0 and did OTA dfu. Now the device advertises in normal application mode as Nordic_HRM. What I was not able to do is an OTA DFU after that. The NRFtoolbox app hangs displaying "Connecting..". Why is that? I use

  • SDK 9.0.0
  • SD 8.0.0
  • nrf51822 CEAAE00 (0x0079) which has 256 kB FLASH, 16kB RAM

ble_app_hrs.zip

Log 2015-08-04 173716.txt

bootloader.zip

Parents
  • Hi Martial,

    I tried your bootloader and your hrm hex file here, I managed to update the firmware from the app without problem. I attached my .zip package file for DFU, please try to use my .zip when testing with nRF Master Control Panel app or nRFToolbox app.

    test.zip

  • @Martial: No I didn't change any code. Only added the init data packet. I used the same SDK SD set up as yours. The compiler was KEIL. I flash bootloader and softdevice with nRFGo Studio, then use the app on the phone to do DFU to upload the test.zip. After that when HRM was advertising I do DFU again (buttonless).

    I forgot that your chip was 16kB variant, so it may not work with the test.zip I sent because it's made for the PCA10028 kit which has 32kB RAM. RAM modification needed.

    I think what you can do for now is try to run the code in debug mode. You would need to modify the bootloader a little bit to make it work in debug mode. Please have a look at question F in this FAQ.

    The problem lies on the part where we jump from application to bootloader. You can also have a look at question C in the same guide.

Reply
  • @Martial: No I didn't change any code. Only added the init data packet. I used the same SDK SD set up as yours. The compiler was KEIL. I flash bootloader and softdevice with nRFGo Studio, then use the app on the phone to do DFU to upload the test.zip. After that when HRM was advertising I do DFU again (buttonless).

    I forgot that your chip was 16kB variant, so it may not work with the test.zip I sent because it's made for the PCA10028 kit which has 32kB RAM. RAM modification needed.

    I think what you can do for now is try to run the code in debug mode. You would need to modify the bootloader a little bit to make it work in debug mode. Please have a look at question F in this FAQ.

    The problem lies on the part where we jump from application to bootloader. You can also have a look at question C in the same guide.

Children
No Data
Related