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

What are the test images for single bank update?

Hi all,

I want to know if the images inside the hci_dfu_send_hex folder are just precompiled hex files from the examples.

More specific I want to use the bootloader from SDK11 but it doesn't seem that the project example and this test images are the same.

From which project example this images are created? Or if there is any difference between the projects and the test images?

Thank you for the help

  • Hi Jorge,

    Which exactly image you asking about, we have several images in the hci_dfu_send_hex folder.

    The image is generated by using nrfutil tool according to the documentation here.

    The name already tell which image/project it has for example dfu_test_app_hrm_s130.zip mean it's the ble heart rate example app inside.

    bootloader.zip

    bootloader.hex

  • I want to make a serial dfu of the bootloader. If I use the bootloader project, I build it and try to load it it give me an error. But if I load the test image of the bootloader there is no error. I am not sure if the test image of the bootloader is suposed to be the image built by the bootloader project.

    If it is not what are the differences? If they are the same do you know what can be causing one to not work and the other is working?

  • Does the pre compiled ("dfu_test_bootloader_b_hci_s130.hex") image contains the init packet for the dfu?

    Is this needed for doing the serial DFU? I was searching for some hints on other questions and found that this init packet could be the issue.

  • When you mention about an error, always describe what exactly the error is. The hex file doesn't include any init packet. Hex file is the application/bootloader image. The init packet is only included in the .zip file.

    Please try to describe what you are doing with step by step, starting with flashing the softdevice and so on. Please try testing with unmodified bootloader example.

  • What I am trying to do is a serial dfu on a nRF51.

    Step 1-I load the Softdevice 130 to the nrf51 board via the nRFgo.

    Step 2-I compile the unmodified project of the bootloader on SDK 11 and then load it via nRFgo to the same nrf51 board.

    Step 3-To make sure that the DFU is working I load my application via serial DFU using the nRFgo, and the application is correctly loaded since I can see the board advertising the correct services.

    Step 4-I try to load via serial DFU on the nRFgo the bootloader file (the same I previously loaded) and it give a timeout error : "Timed out waiting for aknowledgement from device. Failed to upgrade target. Error is: no data received on serial port. Not able to proceed. (...)"

    So the error that I am having is that I cannot load the unmodified bootloader example from SDK11 via serial DFU. But I can load the applications and old bootloaders

Related