bootloader doesnt start application

there is some weird behavior on my XIAO nrf52840. Im developing omn skd 15.3 am using a secure bootloader.

all of my dfu OTA processes work well but I noticed that some of my chips wont start the application from the bootloader. to be precise I can debug the bootloader up to this pont: 

ASSERT((dst_addr % CODE_PAGE_SIZE) == 0);

in the nrf_bootloader_fw_activation.c file (line 81)

after this line the bootloader goes back to its start. this doesnt happen on every chip though so I dont know whats happening at all.

The flash readings of a chip that works and one that doesnt are identical for my firmware.
Parents Reply
  • Depending upon the nature of the code, and other configurations & tools, there could be differences in the hex file output of different builds. However, I am assuming that you are flashing the same hex file (no rebuilding) to all of your boards, and also using the same procedure and platform (e.g. from the same PC and using the same method etc.).

    And then after flashing you have some good boards and some not working good.

    Good working boards have identical firmware when read-back

    Not working boards have some discrepancies when firmware read-back

    This would typically be the case that there are some issues with the boards, not with the software and tools, but with the hardware.

    Can you test your "not good" boards with other samples, starting from basic ones that does not include DFU and then see whether the firmware read-back is same or not.

Children
Related