1 Reply Latest reply on Nov 4, 2019 6:21 PM by MoTa_728816

    Device can not be powered up in deep sleep mode

    ErLi_4223826

      I mistakenly put the CPU in deep-sleep mode.

       

      while (1)

      {

       

           SCB->SCR |= DEEP_SLEEP; // Deep sleep mode

           INT_Mask = __get_PRIMASK();

           __disable_irq();

       

           __WFI();

       

      }

       

      After rebooting the system, I can't re-program/re-flash/debug the mcu again. The board I use is S6E1C3 and the IDE is Keil uVision 5.27.1.0.

       

      The error message is "Device could not be powered up" or "Can not Access Memory". I have multiple eval boards, and I am 100% sure the culprit is the deep-sleep.

       

      Does anyone ever have the same issue ? How will be able to re-program the chip ?

       

      Any comments/suggestions will be appreciated.

       

      Regards,

      Eric