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

    Upload error w Arduino IDE - A fatal error... Timed out waiting for packet header

    Scheduled Pinned Locked Moved Arduino
    4 Posts 4 Posters 8.0k 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.
    • M Offline
      mlewi70
      last edited by

      Hi M5Stack C sitting on win 10 (Dell XPS 15), COM5. EasyLoader looks to connect and work fine. But, Arduino IDE runs into this problem when trying to upload a sketch("Hello World").

      I have tried different things, like connecting GND-G0 and 3V3-G0. No success.

      Messages:
      Sketch uses 254233 bytes (19%) of program storage space. Maximum is 1310720 bytes.
      Global variables use 16676 bytes (5%) of dynamic memory, leaving 311004 bytes for local variables. Maximum is 327680 bytes.
      esptool.py v2.6
      Serial port COM5
      Connecting.....
      Chip is ESP32-PICO-D4 (revision 1)
      Features: WiFi, BT, Dual Core, 240MHz, Embedded Flash, VRef calibration in efuse, Coding Scheme None
      MAC: d8:a0:1d:56:47:60
      Uploading stub...
      Running stub...
      Stub running...
      Changing baud rate to 921600
      Changed.
      Configuring flash size...

      A fatal error occurred: Timed out waiting for packet header
      A fatal error occurred: Timed out waiting for packet header

      1 Reply Last reply Reply Quote 0
      • sysdl132S Offline
        sysdl132
        last edited by

        That isnt a big trouble.A photo about it is helpful...
        you can try to dissconnect from your USB port and then reconnect and upload.Do not touch the line while you are uploading.
        I think you touched the USB line while uploading.

        Baudrate for M5 core/Stick/camera:115200/921600
        For M5StickC:115200/230400/750000/1500000
        For M5StickV:115200/921600/1500000
        For Atom:115200/230400/921600

        1 Reply Last reply Reply Quote 0
        • ajb2k3A Offline
          ajb2k3
          last edited by

          Have you tried changing the baud rates?
          There are many reasons for the timeout.

          UIFlow, so easy an adult can learn it!
          If I don't know it, be patient!
          I've ether not learned it or am too drunk to remember it!
          Author of the WIP UIFlow Handbook!
          M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

          1 Reply Last reply Reply Quote 0
          • m5stackM Online
            m5stack
            last edited by

            Hi, you should selcet M5StickC board in ther board manager. or seting the baud rate to 115200

            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