ESP8266 warning: espcomm_sync failed error: espcomm_open failed UBUNTU 18.04 Announcing the...

Single word antonym of "flightless"

When to stop saving and start investing?

How do I stop a creek from eroding my steep embankment?

How can I fade player character when he goes inside or outside of the area?

Why constant symbols in a language?

3 doors, three guards, one stone

Is the address of a local variable a constexpr?

Problem drawing boxes with arrows in tikZ

Were Kohanim forbidden from serving in King David's army?

Withdrew £2800, but only £2000 shows as withdrawn on online banking; what are my obligations?

What is the longest distance a 13th-level monk can jump while attacking on the same turn?

Can inflation occur in a positive-sum game currency system such as the Stack Exchange reputation system?

What is the musical term for a note that continously plays through a melody?

Why is "Captain Marvel" translated as male in Portugal?

Is it true that "carbohydrates are of no use for the basal metabolic need"?

When is phishing education going too far?

Is a manifold-with-boundary with given interior and non-empty boundary essentially unique?

Is there a concise way to say "all of the X, one of each"?

What is a Meta algorithm?

What would be the ideal power source for a cybernetic eye?

Determinant is linear as a function of each of the rows of the matrix.

How much radiation do nuclear physics experiments expose researchers to nowadays?

Gastric acid as a weapon

How does a Death Domain cleric's Touch of Death feature work with Touch-range spells delivered by familiars?



ESP8266 warning: espcomm_sync failed error: espcomm_open failed UBUNTU 18.04



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Ubuntu 18.04, Arduino 1.8.5, NodeMCU v1 will not flash even with all requirements met. Why?Set webcam on different USB busHow can I get iball usb tv tuner card to work?WIFI USB adapter - Sitecom WLA-3001 AC450 instalationOn-board USB ports are not working but front case ports areBluetooth not working - Ubuntu 16.04.01 - Lenovo z50-70ZTE Modem not working on Ubuntu 18.04What should I put in the Network Manager configuration?I built a PC with a hard drive from an old system, and now my TP Link Archer T4U USB isn't working properlyMouse clicks caused by Arduino deviceInstall Alfa AWUS036NHA driver on Ubuntu 18.04 LTS





.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

      23k74169




      23k74169










      asked May 28 '18 at 13:05









      AndreyAndrey

      233




      233






















          1 Answer
          1






          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


























            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/3.0/"u003ecc by-sa 3.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

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            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 17 mins ago

























                answered May 28 '18 at 19:43









                N0rbertN0rbert

                25.5k854122




                25.5k854122






























                    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

                    Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

                    Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

                    Should I use Docker or LXD?How to cache (more) data on SSD/RAM to avoid spin up?Unable to get Windows File...