ESP8266 warning: espcomm_sync failed error: espcomm_open failed UBUNTU 18.04esptool.FatalError: Timed out waiting for packet header when using arduino with esp8266 moduleUbuntu 18.04, Arduino 1.8.5, NodeMCU v1 will not flash even with all requirements met. Why?Failed to attached usb (esp8266)Set webcam on different USB busHow can I get iball usb tv tuner card to work?ZTE Modem not working on Ubuntu 18.04

Young adult short story book with one story where a woman finds a walrus suit and becomes a walrus

Where does the image of a data connector as a sharp metal spike originate from?

How is this situation not a checkmate?

Search for something difficult to count/estimate

What makes a character irredeemable?

Anonymous reviewer disclosed his identity. Should I thank him by name?

Does Bank Manager's discretion still exist in Mortgage Lending

How dangerous are my worn rims?

Does publication of the phone call ruin the basis for impeachment?

Rank-one positive decomposition for a entry-wise positive positive definite matrix

How to say "respectively" in German when listing (enumerating) things

What action is recommended if your accommodation refuses to let you leave without paying additional fees?

Could Boris Johnson face criminal charges for illegally proroguing Parliament?

What are one's options when facing religious discrimination at the airport?

Bothered by watching coworkers slacking off

Avoiding dust scattering when you drill

Is "weekend warrior" derogatory?

Re-entering the UK after overstaying in 2008

Why not add cuspidal curves in the moduli space of stable curves?

Quote to show students don't have to fear making mistakes

Is it appropriate to "shop" through high-impact journals before sending the paper to more specialized journals?

How closely correlated is culture to geography?

How do we know Nemesis is not a black hole (or neutron star)?

Could the Queen overturn the UK Supreme Court ruling regarding prorogation of Parliament?



ESP8266 warning: espcomm_sync failed error: espcomm_open failed UBUNTU 18.04


esptool.FatalError: Timed out waiting for packet header when using arduino with esp8266 moduleUbuntu 18.04, Arduino 1.8.5, NodeMCU v1 will not flash even with all requirements met. Why?Failed to attached usb (esp8266)Set webcam on different USB busHow can I get iball usb tv tuner card to work?ZTE Modem not working on Ubuntu 18.04






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









4















Can't force upload sketch from arduino IDE.



warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed
error: espcomm_upload_mem failed


dmseg



[ 4980.110605] usb 3-4: new full-speed USB device number 9 using xhci_hcd
[ 4980.305550] usb 3-4: New USB device found, idVendor=10c4, idProduct=ea60
[ 4980.305556] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4980.305561] usb 3-4: Product: CP2102 USB to UART Bridge Controller
[ 4980.305565] usb 3-4: Manufacturer: Silicon Labs
[ 4980.305569] usb 3-4: SerialNumber: 0001
[ 4980.317468] cp210x 3-4:1.0: cp210x converter detected
[ 4980.319521] usb 3-4: cp210x converter now attached to ttyUSB0

lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 009: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light
Bus 003 Device 002: ID 24ae:1100
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


Settings in Arduino IDE



Board NodeMCULuA 1.0
CPU 80 Mhz
Upload Speed 115200
Flash Size 4M(1m SPIFFS)
Programmer AVR ISP


Provided access to the ttyUSB0 by command sudo chmod 666 /dev/ttyUSB0



Previously worked on 16.04.
What can be the problem and how to solve it?
Behavior chip also changed. Earler diode only flashed when sketch was uploading, now is always on till the sketch start uploading and switched off when error is displayed.



Any help will be usefull.










share|improve this question
































    4















    Can't force upload sketch from arduino IDE.



    warning: espcomm_sync failed
    error: espcomm_open failed
    error: espcomm_upload_mem failed
    error: espcomm_upload_mem failed


    dmseg



    [ 4980.110605] usb 3-4: new full-speed USB device number 9 using xhci_hcd
    [ 4980.305550] usb 3-4: New USB device found, idVendor=10c4, idProduct=ea60
    [ 4980.305556] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [ 4980.305561] usb 3-4: Product: CP2102 USB to UART Bridge Controller
    [ 4980.305565] usb 3-4: Manufacturer: Silicon Labs
    [ 4980.305569] usb 3-4: SerialNumber: 0001
    [ 4980.317468] cp210x 3-4:1.0: cp210x converter detected
    [ 4980.319521] usb 3-4: cp210x converter now attached to ttyUSB0

    lsusb
    Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 003 Device 009: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light
    Bus 003 Device 002: ID 24ae:1100
    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


    Settings in Arduino IDE



    Board NodeMCULuA 1.0
    CPU 80 Mhz
    Upload Speed 115200
    Flash Size 4M(1m SPIFFS)
    Programmer AVR ISP


    Provided access to the ttyUSB0 by command sudo chmod 666 /dev/ttyUSB0



    Previously worked on 16.04.
    What can be the problem and how to solve it?
    Behavior chip also changed. Earler diode only flashed when sketch was uploading, now is always on till the sketch start uploading and switched off when error is displayed.



    Any help will be usefull.










    share|improve this question




























      4












      4








      4








      Can't force upload sketch from arduino IDE.



      warning: espcomm_sync failed
      error: espcomm_open failed
      error: espcomm_upload_mem failed
      error: espcomm_upload_mem failed


      dmseg



      [ 4980.110605] usb 3-4: new full-speed USB device number 9 using xhci_hcd
      [ 4980.305550] usb 3-4: New USB device found, idVendor=10c4, idProduct=ea60
      [ 4980.305556] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
      [ 4980.305561] usb 3-4: Product: CP2102 USB to UART Bridge Controller
      [ 4980.305565] usb 3-4: Manufacturer: Silicon Labs
      [ 4980.305569] usb 3-4: SerialNumber: 0001
      [ 4980.317468] cp210x 3-4:1.0: cp210x converter detected
      [ 4980.319521] usb 3-4: cp210x converter now attached to ttyUSB0

      lsusb
      Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
      Bus 003 Device 009: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light
      Bus 003 Device 002: ID 24ae:1100
      Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


      Settings in Arduino IDE



      Board NodeMCULuA 1.0
      CPU 80 Mhz
      Upload Speed 115200
      Flash Size 4M(1m SPIFFS)
      Programmer AVR ISP


      Provided access to the ttyUSB0 by command sudo chmod 666 /dev/ttyUSB0



      Previously worked on 16.04.
      What can be the problem and how to solve it?
      Behavior chip also changed. Earler diode only flashed when sketch was uploading, now is always on till the sketch start uploading and switched off when error is displayed.



      Any help will be usefull.










      share|improve this question
















      Can't force upload sketch from arduino IDE.



      warning: espcomm_sync failed
      error: espcomm_open failed
      error: espcomm_upload_mem failed
      error: espcomm_upload_mem failed


      dmseg



      [ 4980.110605] usb 3-4: new full-speed USB device number 9 using xhci_hcd
      [ 4980.305550] usb 3-4: New USB device found, idVendor=10c4, idProduct=ea60
      [ 4980.305556] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
      [ 4980.305561] usb 3-4: Product: CP2102 USB to UART Bridge Controller
      [ 4980.305565] usb 3-4: Manufacturer: Silicon Labs
      [ 4980.305569] usb 3-4: SerialNumber: 0001
      [ 4980.317468] cp210x 3-4:1.0: cp210x converter detected
      [ 4980.319521] usb 3-4: cp210x converter now attached to ttyUSB0

      lsusb
      Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
      Bus 003 Device 009: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light
      Bus 003 Device 002: ID 24ae:1100
      Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


      Settings in Arduino IDE



      Board NodeMCULuA 1.0
      CPU 80 Mhz
      Upload Speed 115200
      Flash Size 4M(1m SPIFFS)
      Programmer AVR ISP


      Provided access to the ttyUSB0 by command sudo chmod 666 /dev/ttyUSB0



      Previously worked on 16.04.
      What can be the problem and how to solve it?
      Behavior chip also changed. Earler diode only flashed when sketch was uploading, now is always on till the sketch start uploading and switched off when error is displayed.



      Any help will be usefull.







      drivers usb usb-modem






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited May 28 '18 at 13:57









      waltinator

      24.8k7 gold badges43 silver badges74 bronze badges




      24.8k7 gold badges43 silver badges74 bronze badges










      asked May 28 '18 at 13:05









      AndreyAndrey

      233 bronze badges




      233 bronze badges























          2 Answers
          2






          active

          oldest

          votes


















          2
















          Please check that you are member of dialout group.

          If not please add yourself to this group by running sudo usermod -a -G dialout $USER, log-out and log-in again.



          For more predictable results you may try to run esptool.py directly to check that your board is alive:



          sudo apt-get install python3-pip
          sudo pip3 install esptool

          esptool.py --port /dev/ttyUSB0 chip_id


          You will get output which is similar to shown below:




          • ESP8266 example



            $ esptool.py --port /dev/ttyUSB0 chip_id
            esptool.py v2.3.1
            Connecting....
            Detecting chip type... ESP8266
            Chip is ESP8266EX
            Features: WiFi
            Uploading stub...
            Running stub...
            Stub running...
            Chip ID: 0x01234567
            Hard resetting via RTS pin...



          • ESP32 example



            $ esptool.py --port /dev/ttyUSB0 chip_id
            esptool.py v2.3.1
            Connecting....
            Detecting chip type... ESP32
            Chip is ESP32D0WDQ6 (revision (unknown 0xa))
            Features: WiFi, BT, Dual Core, VRef calibration in efuse
            Uploading stub...
            Running stub...
            Stub running...
            Chip ID: 0x01234567890a
            Hard resetting via RTS pin...


          If it does not help - check your wiring, board temperature, cable and so on.






          share|improve this answer


































            1
















            Here is what I did...



            1. Install Arduino using scripts from the Arduino Website (preferably run the install.sh as sudo)


            2. Run the arduino from terminal as sudo:



              sudo arduino



            Everything worked after this...



            Note:

            'sudo arduino' and 'arduino' launch different environments of IDE so make sure you don't waste time setting up one without sudo.






            share|improve this answer




























              Your Answer








              StackExchange.ready(function()
              var channelOptions =
              tags: "".split(" "),
              id: "89"
              ;
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function()
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled)
              StackExchange.using("snippets", function()
              createEditor();
              );

              else
              createEditor();

              );

              function createEditor()
              StackExchange.prepareEditor(
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader:
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              ,
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              );



              );














              draft saved

              draft discarded
















              StackExchange.ready(
              function ()
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1041190%2fesp8266-warning-espcomm-sync-failed-error-espcomm-open-failed-ubuntu-18-04%23new-answer', 'question_page');

              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              2
















              Please check that you are member of dialout group.

              If not please add yourself to this group by running sudo usermod -a -G dialout $USER, log-out and log-in again.



              For more predictable results you may try to run esptool.py directly to check that your board is alive:



              sudo apt-get install python3-pip
              sudo pip3 install esptool

              esptool.py --port /dev/ttyUSB0 chip_id


              You will get output which is similar to shown below:




              • ESP8266 example



                $ esptool.py --port /dev/ttyUSB0 chip_id
                esptool.py v2.3.1
                Connecting....
                Detecting chip type... ESP8266
                Chip is ESP8266EX
                Features: WiFi
                Uploading stub...
                Running stub...
                Stub running...
                Chip ID: 0x01234567
                Hard resetting via RTS pin...



              • ESP32 example



                $ esptool.py --port /dev/ttyUSB0 chip_id
                esptool.py v2.3.1
                Connecting....
                Detecting chip type... ESP32
                Chip is ESP32D0WDQ6 (revision (unknown 0xa))
                Features: WiFi, BT, Dual Core, VRef calibration in efuse
                Uploading stub...
                Running stub...
                Stub running...
                Chip ID: 0x01234567890a
                Hard resetting via RTS pin...


              If it does not help - check your wiring, board temperature, cable and so on.






              share|improve this answer































                2
















                Please check that you are member of dialout group.

                If not please add yourself to this group by running sudo usermod -a -G dialout $USER, log-out and log-in again.



                For more predictable results you may try to run esptool.py directly to check that your board is alive:



                sudo apt-get install python3-pip
                sudo pip3 install esptool

                esptool.py --port /dev/ttyUSB0 chip_id


                You will get output which is similar to shown below:




                • ESP8266 example



                  $ esptool.py --port /dev/ttyUSB0 chip_id
                  esptool.py v2.3.1
                  Connecting....
                  Detecting chip type... ESP8266
                  Chip is ESP8266EX
                  Features: WiFi
                  Uploading stub...
                  Running stub...
                  Stub running...
                  Chip ID: 0x01234567
                  Hard resetting via RTS pin...



                • ESP32 example



                  $ esptool.py --port /dev/ttyUSB0 chip_id
                  esptool.py v2.3.1
                  Connecting....
                  Detecting chip type... ESP32
                  Chip is ESP32D0WDQ6 (revision (unknown 0xa))
                  Features: WiFi, BT, Dual Core, VRef calibration in efuse
                  Uploading stub...
                  Running stub...
                  Stub running...
                  Chip ID: 0x01234567890a
                  Hard resetting via RTS pin...


                If it does not help - check your wiring, board temperature, cable and so on.






                share|improve this answer





























                  2














                  2










                  2









                  Please check that you are member of dialout group.

                  If not please add yourself to this group by running sudo usermod -a -G dialout $USER, log-out and log-in again.



                  For more predictable results you may try to run esptool.py directly to check that your board is alive:



                  sudo apt-get install python3-pip
                  sudo pip3 install esptool

                  esptool.py --port /dev/ttyUSB0 chip_id


                  You will get output which is similar to shown below:




                  • ESP8266 example



                    $ esptool.py --port /dev/ttyUSB0 chip_id
                    esptool.py v2.3.1
                    Connecting....
                    Detecting chip type... ESP8266
                    Chip is ESP8266EX
                    Features: WiFi
                    Uploading stub...
                    Running stub...
                    Stub running...
                    Chip ID: 0x01234567
                    Hard resetting via RTS pin...



                  • ESP32 example



                    $ esptool.py --port /dev/ttyUSB0 chip_id
                    esptool.py v2.3.1
                    Connecting....
                    Detecting chip type... ESP32
                    Chip is ESP32D0WDQ6 (revision (unknown 0xa))
                    Features: WiFi, BT, Dual Core, VRef calibration in efuse
                    Uploading stub...
                    Running stub...
                    Stub running...
                    Chip ID: 0x01234567890a
                    Hard resetting via RTS pin...


                  If it does not help - check your wiring, board temperature, cable and so on.






                  share|improve this answer















                  Please check that you are member of dialout group.

                  If not please add yourself to this group by running sudo usermod -a -G dialout $USER, log-out and log-in again.



                  For more predictable results you may try to run esptool.py directly to check that your board is alive:



                  sudo apt-get install python3-pip
                  sudo pip3 install esptool

                  esptool.py --port /dev/ttyUSB0 chip_id


                  You will get output which is similar to shown below:




                  • ESP8266 example



                    $ esptool.py --port /dev/ttyUSB0 chip_id
                    esptool.py v2.3.1
                    Connecting....
                    Detecting chip type... ESP8266
                    Chip is ESP8266EX
                    Features: WiFi
                    Uploading stub...
                    Running stub...
                    Stub running...
                    Chip ID: 0x01234567
                    Hard resetting via RTS pin...



                  • ESP32 example



                    $ esptool.py --port /dev/ttyUSB0 chip_id
                    esptool.py v2.3.1
                    Connecting....
                    Detecting chip type... ESP32
                    Chip is ESP32D0WDQ6 (revision (unknown 0xa))
                    Features: WiFi, BT, Dual Core, VRef calibration in efuse
                    Uploading stub...
                    Running stub...
                    Stub running...
                    Chip ID: 0x01234567890a
                    Hard resetting via RTS pin...


                  If it does not help - check your wiring, board temperature, cable and so on.







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Apr 16 at 6:16

























                  answered May 28 '18 at 19:43









                  N0rbertN0rbert

                  32.2k10 gold badges76 silver badges155 bronze badges




                  32.2k10 gold badges76 silver badges155 bronze badges


























                      1
















                      Here is what I did...



                      1. Install Arduino using scripts from the Arduino Website (preferably run the install.sh as sudo)


                      2. Run the arduino from terminal as sudo:



                        sudo arduino



                      Everything worked after this...



                      Note:

                      'sudo arduino' and 'arduino' launch different environments of IDE so make sure you don't waste time setting up one without sudo.






                      share|improve this answer































                        1
















                        Here is what I did...



                        1. Install Arduino using scripts from the Arduino Website (preferably run the install.sh as sudo)


                        2. Run the arduino from terminal as sudo:



                          sudo arduino



                        Everything worked after this...



                        Note:

                        'sudo arduino' and 'arduino' launch different environments of IDE so make sure you don't waste time setting up one without sudo.






                        share|improve this answer





























                          1














                          1










                          1









                          Here is what I did...



                          1. Install Arduino using scripts from the Arduino Website (preferably run the install.sh as sudo)


                          2. Run the arduino from terminal as sudo:



                            sudo arduino



                          Everything worked after this...



                          Note:

                          'sudo arduino' and 'arduino' launch different environments of IDE so make sure you don't waste time setting up one without sudo.






                          share|improve this answer















                          Here is what I did...



                          1. Install Arduino using scripts from the Arduino Website (preferably run the install.sh as sudo)


                          2. Run the arduino from terminal as sudo:



                            sudo arduino



                          Everything worked after this...



                          Note:

                          'sudo arduino' and 'arduino' launch different environments of IDE so make sure you don't waste time setting up one without sudo.







                          share|improve this answer














                          share|improve this answer



                          share|improve this answer








                          edited Sep 15 at 12:28









                          zx485

                          1,6703 gold badges15 silver badges17 bronze badges




                          1,6703 gold badges15 silver badges17 bronze badges










                          answered Sep 13 at 5:53









                          niranjan patilniranjan patil

                          111 bronze badge




                          111 bronze badge































                              draft saved

                              draft discarded















































                              Thanks for contributing an answer to Ask Ubuntu!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid


                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.

                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1041190%2fesp8266-warning-espcomm-sync-failed-error-espcomm-open-failed-ubuntu-18-04%23new-answer', 'question_page');

                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              Distance measures on a map of a game The 2019 Stack Overflow Developer Survey Results Are Inmin distance in a graphShortest distance path on contour plotHow to plot a tilted map?Finding points outside of a diskDelaunay link distanceAnnulus from GeoDisks: drawing a ring on a mapNegative Correlation DistanceFind distance along a path (GPS coordinates)Finding position at given distance in a GeoPathMathematics behind distance estimation using camera

                              How to get a smooth, uniform ParametricPlot of a 2D Region?How to plot a complicated Region?How to exclude a region from ParametricPlotHow discretize a region placing vertices on a specific non-uniform gridHow to transform a Plot or a ParametricPlot into a RegionHow can I get a smooth plot of a bounded region?Smooth ParametricPlot3D with RegionFunction?Smooth border of a region ParametricPlotSmooth region boundarySmooth region plot from list of pointsGet minimum y of a certain x in a region

                              Genealogie vun de Merowenger Vum Merowech bis zum Chilperich I. | Navigatiounsmenü