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

SDK12.3 How to use experimental_ble_app_buttomless_dfu project?

Hi,I have some problems in debug with experimental_ble_app_buttomless_dfu project.

First i build the experimental_ble_app_buttomless_dfu project,so i get the app_buttomless.hex.

Second,i build the sucure dfu project ,so i get the bootloader_buttomless.hex

Third,i generate the buttomless_settings.hex via nrfutil,merge bootloader_buttomless.hex and buttomless_settings via mergehex, so i get bootloader_buttomless_buttomless_settings.hex.

Forth,i merge the app_buttomless.hex,bootloader_buttomless_buttomless_settings.hex,and s130_nrf51_2.0.1_softdevice.hex,so i got buttomless_test.hex.

Fifth,i generate the dfu package via nrfutil,so i get buttomless_test.zip.

Sixth,i download the buttomless_test.hex to my board via nRFgo-Stdio.

Seventh,i connect to my board and execute dfu process via nRF Toolbox,my board can enter dfu mode.but always in Enable DFU BootLoader state(Picture_1,Picture_2).

Picture_1.png Picture_2.png

I do not know how to deal with the problem.

Best regard, alivexiaoluo

Parents
  • Hi Alive,

    You should also post the script you used to generate hex files.

    I would suggest you to do some simple test first before you combine everything like that.

    Try to flash the bootloader (only bootloader + softdevice) and try update the buttonless application hex.

    After that run the device in application mode (buttonless) then try to update the buttonless again to see if buttonless feature is functional.

    After that you can start thinking of combine the bootloader, bootloader setting and the buttonless hex.

    I assume you had a look at my guide here ?

  • I use nrf51422ac 256k flash 32k ram. As you said in Step D, Test DFU.D1. Flash bootloader and softdevice. Use nRFGo Studio or nrfjprog or the IDE to flash the softdevice first, then the bootloder. Verify the bootloader start advertising as "DFUTarg".On my custom board i download the booeloader.hex in bootloader_secure project and softdevice it will not advertising.That is the problem lies.I will debug the bootloader_secure project tomorrow.I want to know if my custom board have the 32.768k crystal oscillator,all the problem will be solved? It seems the difference between my custom board and 51DK is that 32.768k crystal oscillator.

Reply
  • I use nrf51422ac 256k flash 32k ram. As you said in Step D, Test DFU.D1. Flash bootloader and softdevice. Use nRFGo Studio or nrfjprog or the IDE to flash the softdevice first, then the bootloder. Verify the bootloader start advertising as "DFUTarg".On my custom board i download the booeloader.hex in bootloader_secure project and softdevice it will not advertising.That is the problem lies.I will debug the bootloader_secure project tomorrow.I want to know if my custom board have the 32.768k crystal oscillator,all the problem will be solved? It seems the difference between my custom board and 51DK is that 32.768k crystal oscillator.

Children
No Data
Related