App crashes after manual disconnection from mobile application.

There is a custom bootloader in the flash having a address of 0x27000 immediately after the soft device occur, the bootloader code jumps directly to our beacon application having a flash address of 0x30100. The beacon application works fine.

Then we connected a mobile with the beacon and disconnected. After disconnection we didn't see any beacon broadcast from the device(nrf52833). Please help me to find the reason.    

Parents
  • Hi

    By either logging ordebugging, are you able to see what the application does after a disconnection event both with and without a bootloader? Does the application jump to some other part of the code, in the bootloader for example? Normally, the bootloader is set to the "top" addresses of the flash memory instead of straight after the SoftDevice. Could you try moving the application address to 0x27000 instead and the bootloader address a bit higher (0x70000 for example)?

    Best regards,

    Simon

Reply
  • Hi

    By either logging ordebugging, are you able to see what the application does after a disconnection event both with and without a bootloader? Does the application jump to some other part of the code, in the bootloader for example? Normally, the bootloader is set to the "top" addresses of the flash memory instead of straight after the SoftDevice. Could you try moving the application address to 0x27000 instead and the bootloader address a bit higher (0x70000 for example)?

    Best regards,

    Simon

Children
No Data
Related