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
  • some additional info: 

    on a working chip the bootloader doesnt reach this point as there is no dfu available and then the bootloader will start the app as expected.

    on this chip (as i said, same firmware, same dfu, actually worked before and now doesnt any more) apparently the bootloader attempts to activate an app (?) while it should start the existig application (thats how I understood it)

Reply
  • some additional info: 

    on a working chip the bootloader doesnt reach this point as there is no dfu available and then the bootloader will start the app as expected.

    on this chip (as i said, same firmware, same dfu, actually worked before and now doesnt any more) apparently the bootloader attempts to activate an app (?) while it should start the existig application (thats how I understood it)

Children
No Data
Related