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

  • When i set the clock source .source = NRF_CLOCK_LF_SRC_RC, and test with ble_app_hrs project in nRF51 DK,it works well.when i set the clock source .source = NRF_CLOCK_LF_SRC_RC test with ble_app_hrs project my custom board,it does not work well.Then debug,stuck at APP_TIMER_INIT() in main.c.My custom board has no 32.768k caystal oscillator.What should i do to transplant the experimental_ble_app_buttomless_dfu project to my own project on my custom board without 32.768k caystal oscillator.My product has no button and wants to secure dfu.Do you have an solution for me ? Thank you very much!

  • Please check what exactly happen when "stuck at APP_TIMER_INIT() in main.c" You need to debug it. Here is a guide on debugging.

    Please try to test with normal project first, forget about dfu or buttonless (button not buttom) if you can't make a normal application work with NRF_CLOCK_LF_SRC_RC.

  • Experimental buttonless project on my custom works well now but dfu will not success.When i use buttonless.zip to process dfu on nrf toolbox app(ios),the log show me connecting...,then Enable DFU Bootloader...,and Stuck at Enable DFU Bootloader. if i cancel, my custom board can not be found any more unless power down reset. I have changed the clock source to NRF_CLOCK_LF_SRC_RC.The buttonless.zip can be updated on 51DK successfully.The difference between my custom board and 51DK is my custom board has no 32.768k crystal oscillator.I wonder if without 32.768k crystal oscillator and button, do my custom board fulfil dfu?Thank you very much.

  • Again, forget about DFU or buttonless, please make normal application work on your board first. After that test bootloader (test bootloader, don't test buttonless). Don't test buttonless before you have normal application work! And please don't convert all my comment to Answer.

  • Normal application works well on my board. How to test bootloader on my custom board ? Just download bootloader and softdevice on my custom board, my custom board will not advertising, so can not be found by app.Only download softdevice +application+bootloader or softdevice +application my custom board will advertising, can be found by app,so can be process dfu by app.

Related