Erase method in RSL Deep Sleep Mode

I used RSL15 example code Sleep Mode.

app_init
/* Debug Catch Mode

  • If DEBUG_CATCH_GPIO is low, enter Debug Catch Mode which holds the program execution in a

  • while loop to make it easier to connect to the debugger.

  • We suggest retaining this feature during development.
    */
    // SYS_GPIO_CONFIG(DEBUG_CATCH_GPIO, (GPIO_MODE_GPIO_IN | GPIO_LPF_DISABLE |
    // GPIO_WEAK_PULL_UP | GPIO_6X_DRIVE));

    //// while((Sys_GPIO_Read(DEBUG_CATCH_GPIO)) == 0)
    // {
    // // SYS_WATCHDOG_REFRESH();
    // }
    //


// Wakeup_Source_Config(); commenting

This way there is no GPIO and no Wakeup.

Is there any way to update it?

Hi @i0865 ,
I don’t fully understand your “update” mean.
But this DEBUG_CATCH_GPIO function can be seen in project readme. “readme_sleep_mode.md”.

1 Like