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

  • I found out what was causing this.

    I changed in the bootloader_settings.c file the line 19 to uint8_t m_boot_settings[CODE_PAGE_SIZE] __attribute__((at(BOOTLOADER_SETTINGS_ADDRESS))) __attribute__((used)) = {BANK_VALID_APP};

    This change was to use this code on the new board since I was seeing that the code was not going through on the file "bootloader.c" in line 114 if (p_bootloader_settings->bank_0 == BANK_VALID_APP)

    And this was suggested in this answer

    Can you help me on this? If I reverse this change it works on the nrf51 but not on my custom board. Thank you for the help so far.

Reply
  • I found out what was causing this.

    I changed in the bootloader_settings.c file the line 19 to uint8_t m_boot_settings[CODE_PAGE_SIZE] __attribute__((at(BOOTLOADER_SETTINGS_ADDRESS))) __attribute__((used)) = {BANK_VALID_APP};

    This change was to use this code on the new board since I was seeing that the code was not going through on the file "bootloader.c" in line 114 if (p_bootloader_settings->bank_0 == BANK_VALID_APP)

    And this was suggested in this answer

    Can you help me on this? If I reverse this change it works on the nrf51 but not on my custom board. Thank you for the help so far.

Children
No Data
Related