🤖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

    Arduino
    4
    4
    6.8k
    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
      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
        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
          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
            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
            • First post
              Last post