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

how to test serial bootloader example

Hi we are trying to test the serial boot loader example from sdk 11,sdk 12.03 non of them working while running using nrf go studio it says enter in dfu mode and while we used nrfutil command as given in the  info centre it didn't work we tried with nrf51 and nrf 52 for nrf 51 we used  sdk 11 and nrf 52 tried with sdk 15 secure boot loader Please help urgent

Parents
  • Hi,

    Please be aware that SDK11 and SDK12 have different bootloader and requires different nrfutil version. SDK v11 has legacy DFU when SDK v12 has Secure DFU. 

    If you have nRF52, I would suggest to start the test with SDK v15.2 which is the latest SDK. You can use latest nrfutil.exe (v4.0.0) tool to do DFU update  Make sure you follow the instruction on how to test the DFU bootloader. You would need to update your bootloader with your publickey and create your .zip file. You can have a look at my guide here. It's for ble dfu but many steps are similar to uart dfu.

  • hi Hung Bui,

    Thanks for your reply I have got success with nrf52 and sdk11 legacy serial_dfu bootloader code but now problem I am facing that It won't update my created zip files so I dig in and debug then I found that it is working with S132_nrf52_2.0.0.7.alpha softdevice and I am using the s132_nrf52_2.0.0.1.hex for my application build hex.

    Does it required specific softdevice file?

  • Hi, 

    Please explain in more detail. You mentioned success with nRF52 and legacy SDK v11. What success ? You can update the application ? 

    What do you have in your .zip file ? If you are updating the softdevice you may want to update the bootloader that support this new softdevice as well. 

Reply Children
  • hi sir

    Thanks

    yes I am able to the update code using serial dfu with the  given test hex files in sdk11 for nrf52 with code single_bank_seril_dfu example.

    Now as you mentioned I am able to update hex file which support the softdevice S132_nrf52_2.0.0.1.hex file and zip which contains the different softdevice like for example S132_nrf52_2.0.0.0 zip or hex won't working.

    also try with command terminal. Now I am testing other sdk code also.

  • I still don't understand 100% what you are talking about. 
    Please make it clear, which SDK you test, which file you use, what is the result. Please use bullet point to make it clear. Showing which bootloader you use, which steps you go through, which error code you get. 

    Otherwise we can't help you. 

Related