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

Bootloader just boot old firmware after mesh dfu completed

I followed the guide Configuring and performing DFU over Mesh ,old firmware was examples\dfu\build\dfu_nrf52832_xxAA_s132_6.1.1_Debug\dfu_nrf52832_xxAA_s132_6.1.1.hex,new firaware was bin/blinky/blinky_nrf52832_xxAA_s132_6.1.1.hex.Dfu process bar on the cli screen seemed to normal when I input cmd "nrfutil dfu serial -pkg blinky_example_dfu_test.zip -p COM81 -b 115200 -fc --mesh"

I found LED not blinked ,that is updated new firmware blinky_example_dfu_test.zip not function well,but I also found new firmware blinky_example_dfu_test.zip just existed has been flashed to the storage,I cannot understand why?

DFU complete flash layout

Parents Reply Children
  • Thank you,Edvin! Yeah,I understood it  now.What you said and the offical guide also have some drawbacks:offical guide said after flashed bin/blinky/blinky_nrf52832_xxAA_s132_6.1.1.hex and complete dfu,"one of the LEDs starts blinking on each kit",it is wrong, I found the application after dfu complete,the 4 LEDS all blinking.Then you said CLI shows "Device programmed" indicates dfu complete,no,no,no,RTT shows "NRF_MESH_EVT_DFU_END" should be real dfu complete.That is,new firmware complete storage(CLI shows "Device programmed") not stand by dfu complete,there is remove forwards and replace old firmware process,is it right what I has said just now?

  • The blinky example blinks all 4 LEDs, so if that happens, then everything is correct. 

    When I said "Device programmed", I was referring to your first screenshot from the CMD window. 

     

    MingXiangjun said:
    Then you said CLI shows "Device programmed" indicates dfu complete,no,no,no,RTT shows "NRF_MESH_EVT_DFU_END" should be real dfu complete.That is,new firmware complete storage(CLI shows "Device programmed") not stand by dfu complete,there is remove forwards and replace old firmware process,is it right what I has said just now?

     I don't think I understand what you mean here. The reason for the timer is to ensure that all nodes that receives the package has received all the packets, and with some time for retransmissions if some packets are missing. 

Related