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
  • Juliusc said:
    no differences after OTA with ios and android but for now both work

    Did you make any changes?

    Juliusc said:
    as I said in the beginning it doesnt happen every time but rather in 10 percent of all cases

    Yes, I understand, such situations are harder to debug.

    Juliusc said:
    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.

    I understand that XIAO uses nrf SoC, but I have never used this board. 

    It will be best if the problem could be replicated on the DK.

    Juliusc said:
    question is, is there a way to recover from such a situation?

    What happens if you do the soft reset?

Children
Related