This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

S112 crash at address 0x18808

Hi,

On a dice projet based on NRF52810. Sometime when I plug the battery charger the firmware crash at address 0x18808 and the call stack is empty !

This address is in softdevice , and I can't determine the cause !

SDK 16.0

Softdevice version: s112_nrf52_7.0.1_softdevice.hex

Please can you explain what is the function at 0x18808 address ?

Regards,

Gaétan

  • Yes, with or without bootlader in memory, this the same.

    Bootloader source files:secure_bootloader_ble.zip

  • Please step into the nrf_dfu_svci_vector_table_set() function in your application and check why it says "error : No bootloader was found" 
    Without properly detecting the bootloader the application will fail when there is any activity related to the bootloader. It's most likely the reason of the crash. 

    To be able to detect the bootloader, either the bootloader address need to be written in to MBR or into UICR.


  • The issue is the same with the bootloader installed or not.

    Please look my code. APP_ERROR_CHECK is comment for my dev in DEBUG...

        // Initialize the async SVCI interface to bootloader.
        err_code = ble_dfu_buttonless_async_svci_init();
    #ifndef DEBUG
        //En DEBUG on a pas le bootloader, il est donc normal d'avoir une erreur
        APP_ERROR_CHECK(err_code);
    #endif

    SoftDevice is always loaded and I have make a lot of projects with SD and bootloader and I always use this code...

    Please can you run the firmare in a nRF52810 and check the crash at 0x18808 or 0x188D4 ?

  • Hi Gaetan, 

    The error at 0x18808 and 0x188D4 pointing us to the hardfault handler in the softdevices. 

    I know that it's the same with or without the bootloader. But from what I can see even with the bootloader installed you still receive "error : No bootloader was found" , is this correct ? 

    Please confirm if you test the NUS example without the DFU buttonless service implemented you don't have any issue. 

    If you don't flash the application did the softdevice + bootloader works (can do DFU ) ?

    If it's the case, please send us your bootloader project file so we can compile here, as well as the NUS + DFU buttonless project. 

  • I know that it's the same with or without the bootloader. But from what I can see even with the bootloader installed you still receive "error : No bootloader was found" , is this correct ? 

    No, when I have bootaloder, I don't have the message "error : No bootloader was found". All is ok with bootloader.

    Please confirm if you test the NUS example without the DFU buttonless service implemented you don't have any issue. 

    I confirm, all is ok with NUS example.

    If you don't flash the application did the softdevice + bootloader works (can do DFU ) ?

    I all is OK

    Here this Bootloader + Application + Sodtdevice with services (NUS +DFU) If you connect to NUS -> crash in softdevice

    I send all source file in private message...

Related