Wake Up from deep sleep



  • Sorry for the bad english.
    Using the micropython on the m5stickc i put the board in deep sleep, but forget to set a wake up param. Now when connect the board to the linux and use lsusb the board is recognized like this:

    archlinux :: ~ » lsusb       
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 001 Device 019: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC
    Bus 001 Device 014: ID 0413:0308 Leadtek Research, Inc. 
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    

    This is the dmesg:

    archlinux :: ~ » dmesg 
    [30246.862658] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [30246.862664] usb 1-2: Product: M5 Serial Converter
    [30246.862669] usb 1-2: Manufacturer: M5STACK Inc.
    [30246.862674] usb 1-2: SerialNumber: 8152A62492
    

    When try to see using ls /dev/tty* the board doesn`t shows up.
    Somebody know how to wake up or reflash the board?



  • Problem solved.
    I connected the GPIO0 to GND and the board stoped the deepsleep loop, and i can run another code with :

    archlinux :: ~ » sudo picocom /dev/ttyUSB0 -b115200