🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Wake Up from deep sleep

    General
    1
    2
    2.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jmsgfhr
      last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • J
        jmsgfhr
        last edited by jmsgfhr

        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
        
        1 Reply Last reply Reply Quote 0
        • First post
          Last post