🤖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

    Scheduled Pinned Locked Moved General
    2 Posts 1 Posters 2.9k Views 1 Watching
    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 Offline
      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 Offline
        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

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post