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

Parents
  • 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

  • Yes, I switch to bootloader mode. I do the same when loading the application.

    The command I use to create the zip is : nrfutil.exe dfu genpkg [path of the zip] --sd-req 0xFFFE --application-version 0 --dev-type 0 --dev-revision 0 --bootloader [path of the bootloader]

    For DFU : nrfutil.exe dfu serial --package=[path of zip] --port=COM6 --baudrate=38400 --flowcontrol

    My board is connected to port COM6 and is using flowcontrol with baudrate of 38400.

    To create the hex files I use KEIL and just build the codes with optimization -O3, I don't know if you need more specifics for this.

    My point is that the only thing I cannot load via serial DFU is the bootloader, and I am not sure why. At your side you can load the single bank bootloader via serial DFU?

Reply
  • Yes, I switch to bootloader mode. I do the same when loading the application.

    The command I use to create the zip is : nrfutil.exe dfu genpkg [path of the zip] --sd-req 0xFFFE --application-version 0 --dev-type 0 --dev-revision 0 --bootloader [path of the bootloader]

    For DFU : nrfutil.exe dfu serial --package=[path of zip] --port=COM6 --baudrate=38400 --flowcontrol

    My board is connected to port COM6 and is using flowcontrol with baudrate of 38400.

    To create the hex files I use KEIL and just build the codes with optimization -O3, I don't know if you need more specifics for this.

    My point is that the only thing I cannot load via serial DFU is the bootloader, and I am not sure why. At your side you can load the single bank bootloader via serial DFU?

Children
No Data
Related