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

Global variable

Hi

I have a strange question to ask for your help.In my program, I define and use a large number of global variables. However, when I define a global variable again and use it, the program will make an error. The phenomenon is that it keeps restarting. If it is defined as a local variable, the program also runs well. I think it is possible that it is caused by global variable overflow?

Thanks.

  • Hi,

    I guess it might be caused by a stack overflow. Have you been able to debug the application to see what kind of error you are getting? Also, have you configured the app error handler (see Error module) to not automatically reset the device when it receives an error?

    Please select the 'Debug' build configuration if you are using Segger embedded studio for debuging:

    You may also want to enable 'NRF_LOG_BACKEND_RTT_ENABLED' in sdk_config.h if you haven't already. This should make debug logs appear in the SES debug terminal when you debug the application.

  • Hi,

    Thanks , when I select the 'Debug',the log printing is normal and no error is reported,when I select the 'release' the log printing is:

    # SEGGER J-Link RTT Viewer V6.88a Terminal Log File
    # Compiled: 15:12:58 on Nov 18 2020
    # Logging started @ 04 Aug 2021 10:01:28
    00> <info> app_timer: RTC: initialized.
    00> 
    00> <info> app: BLE Thread template example started.
    00> 
    00> <info> app: Thread version   : OPENTHREAD/20191113-00534-gc6a258e3; NRF52840; Apr  5 2020 21:51:18
    00> 
    00> <info> app: Network name     : OpenThread
    00> 
    00> <info> app: Thread interface has been enabled.
    00> 
    00> <info> app: 802.15.4 Channel : 11
    00> 
    00> <info> app: 802.15.4 PAN ID  : 0xABCD
    00> 
    00> <info> app: Radio mode       : rx-off-when-idle
    00> 
    00> <info> app: Fast advertising.
    00> 
    00> <info> app: State changed! Flags: 0x0103D21D Current role: 1
    00> 
    00> 
    00> 
    00> <info> app_timer: RTC: initialized.
    00> 
    00> <info> app: BLE Thread template example started.
    00> 
    00> <info> app: Thread version   : OPENTHREAD/20191113-00534-gc6a258e3; NRF52840; Apr  5 2020 21:51:18
    00> 
    00> <info> app: Network name     : OpenThread
    00> 
    00> <info> app: Thread interface has been enabled.
    00> 
    00> <info> app: 802.15.4 Channel : 11
    00> 
    00> <info> app: 802.15.4 PAN ID  : 0xABCD
    00> 
    00> <info> app: Radio mode       : rx-off-when-idle
    00> 
    00> <info> app: Fast advertising.
    00> 
    00> <info> app: State changed! Flags: 0x0103D21D Current role: 1
    00> 
    00> 
    00> 
    00> <info> app_timer: RTC: initialized.
    00> 
    00> <info> app: BLE Thread template example started.
    00> 
    00> <info> app: Thread version   : OPENTHREAD/20191113-00534-gc6a258e3; NRF52840; Apr  5 2020 21:51:18
    00> 
    00> <info> app: Network name     : OpenThread
    00> 
    00> <info> app: Thread interface has been enabled.
    00> 
    00> <info> app: 802.15.4 Channel : 11
    00> 
    00> <info> app: 802.15.4 PAN ID  : 0xABCD
    00> 
    00> <info> app: Radio mode       : rx-off-when-idle
    00> 
    00> <info> app: Fast advertising.
    00> 
    00> <info> app: State changed! Flags: 0x0103D21D Current role: 1
    00> 
    00> 
    00> 
    00> <info> app_timer: RTC: initialized.
    00> 
    00> <info> app: BLE Thread template example started.
    00> 
    00> <info> app: Thread version   : OPENTHREAD/20191113-00534-gc6a258e3; NRF52840; Apr  5 2020 21:51:18
    00> 
    00> <info> app: Network name     : OpenThread
    00> 
    00> <info> app: Thread interface has been enabled.
    00> 
    00> <info> app: 802.15.4 Channel : 11
    00> 
    00> <info> app: 802.15.4 PAN ID  : 0xABCD
    00> 
    00> <info> app: Radio mode       : rx-off-when-idle
    00> 
    00> <info> app: Fast advertising.
    00> 
    00> <info> app: State changed! Flags: 0x0103D21D Current role: 1
    00> 
    00> 
    00> 
    00> <info> app_timer: RTC: initialized.
    00> 
    00> <info> app: BLE Thread template example started.
    00> 
    00> <info> app: Thread version   : OPENTHREAD/20191113-00534-gc6a258e3; NRF52840; Apr  5 2020 21:51:18
    00> 
    00> <info> app: Network name     : OpenThread
    00> 
    00> <info> app: Thread interface has been enabled.
    00> 
    00> <info> app: 802.15.4 Channel : 11
    00> 
    00> <info> app: 802.15.4 PAN ID  : 0xABCD
    00> 
    00> <info> app: Radio mode       : rx-off-when-idle
    00> 
    00> <info> app: Fast advertising.
    00> 
    00> <info> app: State changed! Flags: 0x0103D21D Current role: 1
    00> 
    00> 
    00> 
    00> <info> app_timer: RTC: initialized.
    00> 
    00> <info> app: BLE Thread template example started.
    00> 
    00> <info> app: Thread version   : OPENTHREAD/20191113-00534-gc6a258e3; NRF52840; Apr  5 2020 21:51:18
    00> 
    00> <info> app: Network name     : OpenThread
    00> 
    00> <info> app: Thread interface has been enabled.
    00> 
    00> <info> app: 802.15.4 Channel : 11
    00> 
    00> <info> app: 802.15.4 PAN ID  : 0xABCD
    00> 
    00> <info> app: Radio mode       : rx-off-when-idle
    00> 
    00> <info> app: Fast advertising.
    00> 
    00> <info> app: State changed! Flags: 0x0103D21D Current role: 1
    00> 
    00> 
    00> 
    00> <info> app_timer: RTC: initialized.
    00> 
    00> <info> app: BLE Thread template example started.
    00> 
    00> <info> app: Thread version   : OPENTHREAD/20191113-00534-gc6a258e3; NRF52840; Apr  5 2020 21:51:18
    00> 
    00> <info> app: Network name     : OpenThread
    00> 
    00> <info> app: Thread interface has been enabled.
    00> 
    00> <info> app: 802.15.4 Channel : 11
    00> 
    00> <info> app: 802.15.4 PAN ID  : 0xABCD
    00> 
    00> <info> app: Radio mode       : rx-off-when-idle
    00> 
    00> <info> app: Fast advertising.
    00> 
    00> <info> app: State changed! Flags: 0x0103D21D Current role: 1
    00> 
    00> 
    00> 
    00> <info> app_timer: RTC: initialized.
    00> 
    00> <info> app: BLE Thread template example started.
    00> 
    00> <info> app: Thread version   : OPENTHREAD/20191113-00534-gc6a258e3; NRF52840; Apr  5 2020 21:51:18
    00> 
    00> <info> app: Network name     : OpenThread
    00> 
    00> <info> app: Thread interface has been enabled.
    00> 
    00> <info> app: 802.15.4 Channel : 11
    00> 
    00> <info> app: 802.15.4 PAN ID  : 0xABCD
    00> 
    00> <info> app: Radio mode       : rx-off-when-idle
    00> 
    00> <info> app: Fast advertising.
    00> 
    00> <info> app: State changed! Flags: 0x0103D21D Current role: 1
    00> 
    00> 
    00> 
    00> <info> app_timer: RTC: initialized.
    00> 
    00> <info> app: BLE Thread template example started.
    00> 
    00> <info> app: Thread version   : OPENTHREAD/20191113-00534-gc6a258e3; NRF52840; Apr  5 2020 21:51:18
    00> 
    00> <info> app: Network name     : OpenThread
    00> 
    00> <info> app: Thread interface has been enabled.
    00> 
    00> <info> app: 802.15.4 Channel : 11
    00> 
    00> <info> app: 802.15.4 PAN ID  : 0xABCD
    00> 
    00> <info> app: Radio mode       : rx-off-when-idle
    00> 
    00> <info> app: Fast advertising.
    00> 
    00> <info> app: State changed! Flags: 0x0103D21D Current role: 1
    00> 
    00> 
    00> 
    00> <info> app_timer: RTC: initialized.
    00> 
    00> <info> app: BLE Thread template example started.
    00> 
    00> <info> app: Thread version   : OPENTHREAD/20191113-00534-gc6a258e3; NRF52840; Apr  5 2020 21:51:18
    00> 
    00> <info> app: Network name     : OpenThread
    00> 
    00> <info> app: Thread interface has been enabled.
    00> 
    00> <info> app: 802.15.4 Channel : 11
    00> 
    00> <info> app: 802.15.4 PAN ID  : 0xABCD
    00> 
    00> <info> app: Radio mode       : rx-off-when-idle
    00> 
    00> <info> app: Fast advertising.
    00> 
    00> <info> app: State changed! Flags: 0x0103D21D Current role: 1
    00> 
    00> 
    00> 
    00> <info> app_timer: RTC: initialized.
    00> 
    00> <info> app: BLE Thread template example started.
    00> 
    00> <info> app: Thread version   : OPENTHREAD/20191113-00534-gc6a258e3; NRF52840; Apr  5 2020 21:51:18
    00> 
    00> <info> app: Network name     : OpenThread
    00> 
    00> <info> app: Thread interface has been enabled.
    00> 
    00> <info> app: 802.15.4 Channel : 11
    00> 
    00> <info> app: 802.15.4 PAN ID  : 0xABCD
    00> 
    00> <info> app: Radio mode       : rx-off-when-idle
    00> 
    00> <info> app: Fast advertising.
    00> 
    00> <info> app: State changed! Flags: 0x0103D21D Current role: 1
    00> 
    00> 
    00> 
    00> <info> app_timer: RTC: initialized.
    00> 
    00> <info> app: BLE Thread template example started.
    00> 
    00> <info> app: Thread version   : OPENTHREAD/20191113-00534-gc6a258e3; NRF52840; Apr  5 2020 21:51:18
    00> 
    00> <info> app: Network name     : OpenThread
    00> 
    00> <info> app: Thread interface has been enabled.
    00> 
    00> <info> app: 802.15.4 Channel : 11
    00> 
    00> <info> app: 802.15.4 PAN ID  : 0xABCD
    00> 
    00> <info> app: Radio mode       : rx-off-when-idle
    00> 
    00> <info> app: Fast advertising.
    00> 
    00> <info> app: State changed! Flags: 0x0103D21D Current role: 1
    00> 
    00> 
    00> 
    00> <info> app_timer: RTC: initialized.
    00> 
    00> <info> app: BLE Thread template example started.
    00> 
    00> <info> app: Thread version   : OPENTHREAD/20191113-00534-gc6a258e3; NRF52840; Apr  5 2020 21:51:18
    00> 
    00> <info> app: Network name     : OpenThread
    00> 
    00> <info> app: Thread interface has been enabled.
    00> 
    00> <info> app: 802.15.4 Channel : 11
    00> 
    00> <info> app: 802.15.4 PAN ID  : 0xABCD
    00> 
    00> <info> app: Radio mode       : rx-off-when-idle
    00> 
    00> <info> app: Fast advertising.
    00> 
    00> <info> app: State changed! Flags: 0x0103D21D Current role: 1
    00> 
    00> 
    00> 
    00> <info> app_timer: RTC: initialized.
    00> 
    00> <info> app: BLE Thread template example started.
    00> 
    00> <info> app: Thread version   : OPENTHREAD/20191113-00534-gc6a258e3; NRF52840; Apr  5 2020 21:51:18
    00> 
    00> <info> app: Network name     : OpenThread
    00> 
    00> <info> app: Thread interface has been enabled.
    00> 
    00> <info> app: 802.15.4 Channel : 11
    00> 
    00> <info> app: 802.15.4 PAN ID  : 0xABCD
    00> 
    00> <info> app: Radio mode       : rx-off-when-idle
    00> 
    00> <info> app: Fast advertising.
    00> 
    00> <info> app: State changed! Flags: 0x0103D21D Current role: 1
    00> 
    00> 
    00> 
    00> <info> app_timer: RTC: initialized.
    00> 
    00> <info> app: BLE Thread template example started.
    00> 
    00> <info> app: Thread version   : OPENTHREAD/20191113-00534-gc6a258e3; NRF52840; Apr  5 2020 21:51:18
    00> 
    00> <info> app: Network name     : OpenThread
    00> 
    00> <info> app: Thread interface has been enabled.
    00> 
    00> <info> app: 802.15.4 Channel : 11
    00> 
    00> <info> app: 802.15.4 PAN ID  : 0xABCD
    00> 
    00> <info> app: Radio mode       : rx-off-when-idle
    00> 
    00> <info> app: Fast advertising.
    00> 
    00> <info> app: State changed! Flags: 0x0103D21D Current role: 1
    00> 
    00> 
    00> 
    00> <info> app_timer: RTC: initialized.
    00> 
    00> <info> app: BLE Thread template example started.
    00> 
    00> <info> app: Thread version   : OPENTHREAD/20191113-00534-gc6a258e3; NRF52840; Apr  5 2020 21:51:18
    00> 
    00> <info> app: Network name     : OpenThread
    00> 
    00> <info> app: Thread interface has been enabled.
    00> 
    00> <info> app: 802.15.4 Channel : 11
    00> 
    00> <info> app: 802.15.4 PAN ID  : 0xABCD
    00> 
    00> <info> app: Radio mode       : rx-off-when-idle
    00> 
    00> <info> app: Fast advertising.
    00> 
    00> <info> app: State changed! Flags: 0x0103D21D Current role: 1
    00> 
    00> 
    00> 
    00> <info> app_timer: RTC: initialized.
    00> 
    00> <info> app: BLE Thread template example started.
    00> 
    00> <info> app: Thread version   : OPENTHREAD/20191113-00534-gc6a258e3; NRF52840; Apr  5 2020 21:51:18
    00> 
    00> <info> app: Network name     : OpenThread
    00> 
    00> <info> app: Thread interface has been enabled.
    00> 
    00> <info> app: 802.15.4 Channel : 11
    00> 
    00> <info> app: 802.15.4 PAN ID  : 0xABCD
    00> 
    00> <info> app: Radio mode       : rx-off-when-idle
    00> 
    00> <info> app: Fast advertising.
    00> 
    00> <info> app: State changed! Flags: 0x0103D21D Current role: 1
    00> 
    00> 
    00> 
    00> <info> app_timer: RTC: initialized.
    00> 
    00> <info> app: BLE Thread template example started.
    00> 
    00> <info> app: Thread version   : OPENTHREAD/20191113-00534-gc6a258e3; NRF52840; Apr  5 2020 21:51:18
    00> 
    00> <info> app: Network name     : OpenThread
    00> 
    00> <info> app: Thread interface has been enabled.
    00> 
    00> <info> app: 802.15.4 Channel : 11
    00> 
    00> <info> app: 802.15.4 PAN ID  : 0xABCD
    00> 
    00> <info> app: Radio mode       : rx-off-when-idle
    00> 
    00> <info> app: Fast advertising.
    00> 
    00> <info> app: State changed! Flags: 0x0103D21D Current role: 1
    00> 
    00> 
    00> 
    00> <info> app_timer: RTC: initialized.
    00> 
    00> <info> app: BLE Thread template example started.
    00> 
    00> <info> app: Thread version   : OPENTHREAD/20191113-00534-gc6a258e3; NRF52840; Apr  5 2020 21:51:18
    00> 
    00> <info> app: Network name     : OpenThread
    00> 
    00> <info> app: Thread interface has been enabled.
    00> 
    00> <info> app: 802.15.4 Channel : 11
    00> 
    00> <info> app: 802.15.4 PAN ID  : 0xABCD
    00> 
    00> <info> app: Radio mode       : rx-off-when-idle
    00> 
    00> <info> app: Fast advertising.
    00> 
    00> <info> app: State changed! Flags: 0x0103D21D Current role: 1
    00> 
    00> 
    00> 
    00> <info> app_timer: RTC: initialized.
    00> 
    00> <info> app: BLE Thread template example started.
    00> 
    00> <info> app: Thread version   : OPENTHREAD/20191113-00534-gc6a258e3; NRF52840; Apr  5 2020 21:51:18
    00> 
    00> <info> app: Network name     : OpenThread
    00> 
    00> <info> app: Thread interface has been enabled.
    00> 
    00> <info> app: 802.15.4 Channel : 11
    00> 
    00> <info> app: 802.15.4 PAN ID  : 0xABCD
    00> 
    00> <info> app: Radio mode       : rx-off-when-idle
    00> 
    00> <info> app: Fast advertising.
    00> 
    00> <info> app: State changed! Flags: 0x0103D21D Current role: 1
    00> 
    00> 
    00> 
    00> <info> app_timer: RTC: initialized.
    00> 
    00> <info> app: BLE Thread template example started.
    00> 
    00> <info> app: Thread version   : OPENTHREAD/20191113-00534-gc6a258e3; NRF52840; Apr  5 2020 21:51:18
    00> 
    00> <info> app: Network name     : OpenThread
    00> 
    00> <info> app: Thread interface has been enabled.
    00> 
    00> <info> app: 802.15.4 Channel : 11
    00> 
    00> <info> app: 802.15.4 PAN ID  : 0xABCD
    00> 
    00> <info> app: Radio mode       : rx-off-when-idle
    00> 
    00> <info> app: Fast advertising.
    00> 
    00> <info> app: State changed! Flags: 0x0103D21D Current role: 1
    00> 
    00> 
    00> 
    00> <info> app_timer: RTC: initialized.
    00> 
    00> <info> app: BLE Thread template example started.
    00> 
    00> <info> app: Thread version   : OPENTHREAD/20191113-00534-gc6a258e3; NRF52840; Apr  5 2020 21:51:18
    00> 
    00> <info> app: Network name     : OpenThread
    00> 
    00> <info> app: Thread interface has been enabled.
    00> 
    00> <info> app: 802.15.4 Channel : 11
    00> 
    00> <info> app: 802.15.4 PAN ID  : 0xABCD
    00> 
    00> <info> app: Radio mode       : rx-off-when-idle
    00> 
    00> <info> app: Fast advertising.
    00> 
    00> <info> app: State changed! Flags: 0x0103D21D Current role: 1
    00> 
    00> 
    00> 
    00> <info> app_timer: RTC: initialized.
    00> 
    00> <info> app: BLE Thread template example started.
    00> 
    00> <info> app: Thread version   : OPENTHREAD/20191113-00534-gc6a258e3; NRF52840; Apr  5 2020 21:51:18
    00> 
    00> <info> app: Network name     : OpenThread
    00> 
    00> <info> app: Thread interface has been enabled.
    00> 
    00> <info> app: 802.15.4 Channel : 11
    00> 
    00> <info> app: 802.15.4 PAN ID  : 0xABCD
    00> 
    00> <info> app: Radio mode       : rx-off-when-idle
    00> 
    00> <info> app: Fast advertising.
    00> 
    00> <info> app: State changed! Flags: 0x0103D21D Current role: 1
    00> 
    00> 
    00> 
    00> <info> app_timer: RTC: initialized.
    00> 
    00> <info> app: BLE Thread template example started.
    00> 
    00> <info> app: Thread version   : OPENTHREAD/20191113-00534-gc6a258e3; NRF52840; Apr  5 2020 21:51:18
    00> 
    00> <info> app: Network name     : OpenThread
    00> 
    00> <info> app: Thread interface has been enabled.
    00> 
    00> <info> app: 802.15.4 Channel : 11
    00> 
    00> <info> app: 802.15.4 PAN ID  : 0xABCD
    00> 
    00> <info> app: Radio mode       : rx-off-when-idle
    00> 
    00> <info> app: Fast advertising.
    00> 
    00> <info> app: State changed! Flags: 0x0103D21D Current role: 1
    00> 
    00> 
    00> 
    00> <info> app_timer: RTC: initialized.
    00> 
    00> <info> app: BLE Thread template example started.
    00> 
    00> <info> app: Thread version   : OPENTHREAD/20191113-00534-gc6a258e3; NRF52840; Apr  5 2020 21:51:18
    00> 
    00> <info> app: Network name     : OpenThread
    00> 
    00> <info> app: Thread interface has been enabled.
    00> 
    00> <info> app: 802.15.4 Channel : 11
    00> 
    00> <info> app: 802.15.4 PAN ID  : 0xABCD
    00> 
    00> <info> app: Radio mode       : rx-off-when-idle
    00> 
    00> <info> app: Fast advertising.
    00> 
    00> <info> app: State changed! Flags: 0x0103D21D Current role: 1
    00> 
    00> 
    00> 
    00> <info> app_timer: RTC: initialized.
    00> 
    00> <info> app: BLE Thread template example started.
    00> 
    00> <info> app: Thread version   : OPENTHREAD/20191113-00534-gc6a258e3; NRF52840; Apr  5 2020 21:51:18
    00> 
    00> <info> app: Network name     : OpenThread
    00> 
    00> <info> app: Thread interface has been enabled.
    00> 
    00> <info> app: 802.15.4 Channel : 11
    00> 
    00> <info> app: 802.15.4 PAN ID  : 0xABCD
    00> 
    00> <info> app: Radio mode       : rx-off-when-idle
    00> 
    00> <info> app: Fast advertising.
    00> 
    00> <info> app: State changed! Flags: 0x0103D21D Current role: 1
    00> 
    00> 
    00> 
    00> <info> app_timer: RTC: initialized.
    00> 
    00> <info> app: BLE Thread template example started.
    00> 
    00> <info> app: Thread version   : OPENTHREAD/20191113-00534-gc6a258e3; NRF52840; Apr  5 2020 21:51:18
    00> 
    00> <info> app: Network name     : OpenThread
    00> 
    00> <info> app: Thread interface has been enabled.
    00> 
    00> <info> app: 802.15.4 Channel : 11
    00> 
    00> <info> app: 802.15.4 PAN ID  : 0xABCD
    00> 
    00> <info> app: Radio mode       : rx-off-when-idle
    00> 
    00> <info> app: Fast advertising.
    00> 
    00> <info> app: State changed! Flags: 0x0103D21D Current role: 1
    00> 
    00> 
    00> 
    00> <info> app_timer: RTC: initialized.
    00> 
    00> <info> app: BLE Thread template example started.
    00> 
    00> <info> app: Thread version   : OPENTHREAD/20191113-00534-gc6a258e3; NRF52840; Apr  5 2020 21:51:18
    00> 
    00> <info> app: Network name     : OpenThread
    00> 
    00> <info> app: Thread interface has been enabled.
    00> 
    00> <info> app: 802.15.4 Channel : 11
    00> 
    00> <info> app: 802.15.4 PAN ID  : 0xABCD
    00> 
    00> <info> app: Radio mode       : rx-off-when-idle
    00> 
    00> <info> app: Fast advertising.
    00> 
    00> <info> app: State changed! Flags: 0x0103D21D Current role: 1
    00> 
    00> 
    00> 
    00> <info> app_timer: RTC: initialized.
    00> 
    00> <info> app: BLE Thread template example started.
    00> 
    00> <info> app: Thread version   : OPENTHREAD/20191113-00534-gc6a258e3; NRF52840; Apr  5 2020 21:51:18
    00> 
    00> <info> app: Network name     : OpenThread
    00> 
    00> <info> app: Thread interface has been enabled.
    00> 
    00> <info> app: 802.15.4 Channel : 11
    00> 
    00> <info> app: 802.15.4 PAN ID  : 0xABCD
    00> 
    00> <info> app: Radio mode       : rx-off-when-idle
    00> 
    00> <info> app: Fast advertising.
    00> 
    00> <info> app: State changed! Flags: 0x0103D21D Current role: 1
    00> 
    00> 
    00> 
    00> <info> app_timer: RTC: initialized.
    00> 
    00> <info> app: BLE Thread template example started.
    00> 
    00> <info> app: Thread version   : OPENTHREAD/20191113-00534-gc6a258e3; NRF52840; Apr  5 2020 21:51:18
    00> 
    00> <info> app: Network name     : OpenThread
    00> 
    00> <info> app: Thread interface has been enabled.
    00> 
    00> <info> app: 802.15.4 Channel : 11
    00> 
    00> <info> app: 802.15.4 PAN ID  : 0xABCD
    00> 
    00> <info> app: Radio mode       : rx-off-when-idle
    00> 
    00> <info> app: Fast advertising.
    00> 
    00> <info> app: State changed! Flags: 0x0103D21D Current role: 1
    00> 
    00> 
    00> 
    00> <info> app_timer: RTC: initialized.
    00> 
    00> <info> app: BLE Thread template example started.
    00> 
    00> <info> app: Thread version   : OPENTHREAD/20191113-00534-gc6a258e3; NRF52840; Apr  5 2020 21:51:18
    00> 
    00> <info> app: Network name     : OpenThread
    00> 
    00> <info> app: Thread interface has been enabled.
    00> 
    00> <info> app: 802.15.4 Channel : 11
    00> 
    00> <info> app: 802.15.4 PAN ID  : 0xABCD
    00> 
    00> <info> app: Radio mode       : rx-off-when-idle
    00> 
    00> <info> app: Fast advertising.
    00> 
    00> <info> app: State changed! Flags: 0x0103D21D Current role: 1
    00> 
    00> 
    00> 
    
    # Logging stopped @  4 Aug 2021 10: 1:46
    

    , So what is the problem?

  • Hi,

    So it looks it keeps resetting when you use the "Release" configuration for some reason. Could you please try to place a breakpoint inside the app error handler to confirm that the reset is performed by the error handler?

Related