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
  • yeah exactly its the same hex file, same pc, only difference in the DFU is android vs iOS, this might actually output a difference so I will try both and compare the hex files afterwards.

    so no general issues with the XIAO are known to you until now - I thought it might be that this board in particular has an issue.

    though it never had any issues after a normal flash just after at least one DFU process, something might be up there.

    now I at least need to consider to work with this assert, how would you go and use the line of code that I presented in the beginning to kickstart the application while ignoring this assert?

Children
Related