Connect to ESP8266 running micropython from PUTTY












0















I am attempting to connect to an ESP8266 Board running micropython with no luck. I have erased and flashed per the instructions in the docs and all instructions found on internet. See below (this is on Windows 10):



C:UsersKevinDocumentsMicroPythonfirmware>esptool.py --port com3 erase_flash
esptool.py v2.5.1
Serial port com3
Connecting....
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
MAC: 60:01:94:70:fc:da
Uploading stub...
Running stub...
Stub running...
Erasing flash (this may take a while)...
Chip erase completed successfully in 2.5s
Hard resetting via RTS pin...

C:UsersKevinDocumentsMicroPythonfirmware>esptool.py --port com3 --baud 460800 write_flash --flash_size=detect 0 esp8266-20180511-v1.9.4.bin
esptool.py v2.5.1
Serial port com3
Connecting....
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
MAC: 60:01:94:70:fc:da
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Auto-detected Flash size: 4MB
Flash params set to 0x0040
Compressed 604872 bytes to 394893...
Wrote 604872 bytes (394893 compressed) at 0x00000000 in 9.3 seconds (effective 522.8 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...

C:UsersKevinDocumentsMicroPythonfirmware>




The board has AMICA printed on the back. See pic of the front. It is connected on COM3 via USB.



Amica Board





When I connect to the board with PUTTY I get gibberish and the terminal is non-responsive.



Putty Serial Settings:



Speed: 115200
Data bits: 8
Stop bits: 1
Parity: None
Flow Control: None


When I hit reset on the board the gibberish on putty terminal clears and more appears.



Any thoughts on where I am going wrong?










share|improve this question

























  • That looks like a NodeMCU board, and if so then as far as I can see you're following the instructions correctly. Could your USB-serial driver be incorrect? Have you tried any other terminal programs?

    – nekomatic
    Nov 27 '18 at 11:54
















0















I am attempting to connect to an ESP8266 Board running micropython with no luck. I have erased and flashed per the instructions in the docs and all instructions found on internet. See below (this is on Windows 10):



C:UsersKevinDocumentsMicroPythonfirmware>esptool.py --port com3 erase_flash
esptool.py v2.5.1
Serial port com3
Connecting....
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
MAC: 60:01:94:70:fc:da
Uploading stub...
Running stub...
Stub running...
Erasing flash (this may take a while)...
Chip erase completed successfully in 2.5s
Hard resetting via RTS pin...

C:UsersKevinDocumentsMicroPythonfirmware>esptool.py --port com3 --baud 460800 write_flash --flash_size=detect 0 esp8266-20180511-v1.9.4.bin
esptool.py v2.5.1
Serial port com3
Connecting....
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
MAC: 60:01:94:70:fc:da
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Auto-detected Flash size: 4MB
Flash params set to 0x0040
Compressed 604872 bytes to 394893...
Wrote 604872 bytes (394893 compressed) at 0x00000000 in 9.3 seconds (effective 522.8 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...

C:UsersKevinDocumentsMicroPythonfirmware>




The board has AMICA printed on the back. See pic of the front. It is connected on COM3 via USB.



Amica Board





When I connect to the board with PUTTY I get gibberish and the terminal is non-responsive.



Putty Serial Settings:



Speed: 115200
Data bits: 8
Stop bits: 1
Parity: None
Flow Control: None


When I hit reset on the board the gibberish on putty terminal clears and more appears.



Any thoughts on where I am going wrong?










share|improve this question

























  • That looks like a NodeMCU board, and if so then as far as I can see you're following the instructions correctly. Could your USB-serial driver be incorrect? Have you tried any other terminal programs?

    – nekomatic
    Nov 27 '18 at 11:54














0












0








0








I am attempting to connect to an ESP8266 Board running micropython with no luck. I have erased and flashed per the instructions in the docs and all instructions found on internet. See below (this is on Windows 10):



C:UsersKevinDocumentsMicroPythonfirmware>esptool.py --port com3 erase_flash
esptool.py v2.5.1
Serial port com3
Connecting....
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
MAC: 60:01:94:70:fc:da
Uploading stub...
Running stub...
Stub running...
Erasing flash (this may take a while)...
Chip erase completed successfully in 2.5s
Hard resetting via RTS pin...

C:UsersKevinDocumentsMicroPythonfirmware>esptool.py --port com3 --baud 460800 write_flash --flash_size=detect 0 esp8266-20180511-v1.9.4.bin
esptool.py v2.5.1
Serial port com3
Connecting....
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
MAC: 60:01:94:70:fc:da
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Auto-detected Flash size: 4MB
Flash params set to 0x0040
Compressed 604872 bytes to 394893...
Wrote 604872 bytes (394893 compressed) at 0x00000000 in 9.3 seconds (effective 522.8 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...

C:UsersKevinDocumentsMicroPythonfirmware>




The board has AMICA printed on the back. See pic of the front. It is connected on COM3 via USB.



Amica Board





When I connect to the board with PUTTY I get gibberish and the terminal is non-responsive.



Putty Serial Settings:



Speed: 115200
Data bits: 8
Stop bits: 1
Parity: None
Flow Control: None


When I hit reset on the board the gibberish on putty terminal clears and more appears.



Any thoughts on where I am going wrong?










share|improve this question
















I am attempting to connect to an ESP8266 Board running micropython with no luck. I have erased and flashed per the instructions in the docs and all instructions found on internet. See below (this is on Windows 10):



C:UsersKevinDocumentsMicroPythonfirmware>esptool.py --port com3 erase_flash
esptool.py v2.5.1
Serial port com3
Connecting....
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
MAC: 60:01:94:70:fc:da
Uploading stub...
Running stub...
Stub running...
Erasing flash (this may take a while)...
Chip erase completed successfully in 2.5s
Hard resetting via RTS pin...

C:UsersKevinDocumentsMicroPythonfirmware>esptool.py --port com3 --baud 460800 write_flash --flash_size=detect 0 esp8266-20180511-v1.9.4.bin
esptool.py v2.5.1
Serial port com3
Connecting....
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
MAC: 60:01:94:70:fc:da
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Auto-detected Flash size: 4MB
Flash params set to 0x0040
Compressed 604872 bytes to 394893...
Wrote 604872 bytes (394893 compressed) at 0x00000000 in 9.3 seconds (effective 522.8 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...

C:UsersKevinDocumentsMicroPythonfirmware>




The board has AMICA printed on the back. See pic of the front. It is connected on COM3 via USB.



Amica Board





When I connect to the board with PUTTY I get gibberish and the terminal is non-responsive.



Putty Serial Settings:



Speed: 115200
Data bits: 8
Stop bits: 1
Parity: None
Flow Control: None


When I hit reset on the board the gibberish on putty terminal clears and more appears.



Any thoughts on where I am going wrong?







putty esp8266 micropython






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 25 '18 at 22:41







Infinity Cliff

















asked Nov 25 '18 at 22:31









Infinity CliffInfinity Cliff

68213




68213













  • That looks like a NodeMCU board, and if so then as far as I can see you're following the instructions correctly. Could your USB-serial driver be incorrect? Have you tried any other terminal programs?

    – nekomatic
    Nov 27 '18 at 11:54



















  • That looks like a NodeMCU board, and if so then as far as I can see you're following the instructions correctly. Could your USB-serial driver be incorrect? Have you tried any other terminal programs?

    – nekomatic
    Nov 27 '18 at 11:54

















That looks like a NodeMCU board, and if so then as far as I can see you're following the instructions correctly. Could your USB-serial driver be incorrect? Have you tried any other terminal programs?

– nekomatic
Nov 27 '18 at 11:54





That looks like a NodeMCU board, and if so then as far as I can see you're following the instructions correctly. Could your USB-serial driver be incorrect? Have you tried any other terminal programs?

– nekomatic
Nov 27 '18 at 11:54












4 Answers
4






active

oldest

votes


















1














For those other newbies out there who stumble across this with similar problems...



I bought a new board, flashed it as above and connected with putty with the settings I have listed above with no issues. So I am guessing a bad board. Finally, I can get back to programming in Python.






share|improve this answer































    0














    Try change your baud rate to 9600, it eighter runs on 115200 or 9600. if it looks like gibberish try change it. As a starter






    share|improve this answer
























    • at 9600 I get a blank screen, still unresponsive

      – Infinity Cliff
      Nov 25 '18 at 22:42



















    0














    Flashing the board with micropython solved the gibberish problem for me






    share|improve this answer































      0














      I also had some Putty issues. Turning off Flow Control in Putty helped everything tremendously. I still get a line of garbage on a reset, but after that it all works flawlessly.






      share|improve this answer








      New contributor




      Steve L is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




















        Your Answer






        StackExchange.ifUsing("editor", function () {
        StackExchange.using("externalEditor", function () {
        StackExchange.using("snippets", function () {
        StackExchange.snippets.init();
        });
        });
        }, "code-snippets");

        StackExchange.ready(function() {
        var channelOptions = {
        tags: "".split(" "),
        id: "1"
        };
        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%2fstackoverflow.com%2fquestions%2f53472680%2fconnect-to-esp8266-running-micropython-from-putty%23new-answer', 'question_page');
        }
        );

        Post as a guest















        Required, but never shown

























        4 Answers
        4






        active

        oldest

        votes








        4 Answers
        4






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        1














        For those other newbies out there who stumble across this with similar problems...



        I bought a new board, flashed it as above and connected with putty with the settings I have listed above with no issues. So I am guessing a bad board. Finally, I can get back to programming in Python.






        share|improve this answer




























          1














          For those other newbies out there who stumble across this with similar problems...



          I bought a new board, flashed it as above and connected with putty with the settings I have listed above with no issues. So I am guessing a bad board. Finally, I can get back to programming in Python.






          share|improve this answer


























            1












            1








            1







            For those other newbies out there who stumble across this with similar problems...



            I bought a new board, flashed it as above and connected with putty with the settings I have listed above with no issues. So I am guessing a bad board. Finally, I can get back to programming in Python.






            share|improve this answer













            For those other newbies out there who stumble across this with similar problems...



            I bought a new board, flashed it as above and connected with putty with the settings I have listed above with no issues. So I am guessing a bad board. Finally, I can get back to programming in Python.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Nov 28 '18 at 22:46









            Infinity CliffInfinity Cliff

            68213




            68213

























                0














                Try change your baud rate to 9600, it eighter runs on 115200 or 9600. if it looks like gibberish try change it. As a starter






                share|improve this answer
























                • at 9600 I get a blank screen, still unresponsive

                  – Infinity Cliff
                  Nov 25 '18 at 22:42
















                0














                Try change your baud rate to 9600, it eighter runs on 115200 or 9600. if it looks like gibberish try change it. As a starter






                share|improve this answer
























                • at 9600 I get a blank screen, still unresponsive

                  – Infinity Cliff
                  Nov 25 '18 at 22:42














                0












                0








                0







                Try change your baud rate to 9600, it eighter runs on 115200 or 9600. if it looks like gibberish try change it. As a starter






                share|improve this answer













                Try change your baud rate to 9600, it eighter runs on 115200 or 9600. if it looks like gibberish try change it. As a starter







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 25 '18 at 22:39









                JoaJoa

                464




                464













                • at 9600 I get a blank screen, still unresponsive

                  – Infinity Cliff
                  Nov 25 '18 at 22:42



















                • at 9600 I get a blank screen, still unresponsive

                  – Infinity Cliff
                  Nov 25 '18 at 22:42

















                at 9600 I get a blank screen, still unresponsive

                – Infinity Cliff
                Nov 25 '18 at 22:42





                at 9600 I get a blank screen, still unresponsive

                – Infinity Cliff
                Nov 25 '18 at 22:42











                0














                Flashing the board with micropython solved the gibberish problem for me






                share|improve this answer




























                  0














                  Flashing the board with micropython solved the gibberish problem for me






                  share|improve this answer


























                    0












                    0








                    0







                    Flashing the board with micropython solved the gibberish problem for me






                    share|improve this answer













                    Flashing the board with micropython solved the gibberish problem for me







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Dec 13 '18 at 13:56









                    Zack KeyzolZack Keyzol

                    464




                    464























                        0














                        I also had some Putty issues. Turning off Flow Control in Putty helped everything tremendously. I still get a line of garbage on a reset, but after that it all works flawlessly.






                        share|improve this answer








                        New contributor




                        Steve L is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                        Check out our Code of Conduct.

























                          0














                          I also had some Putty issues. Turning off Flow Control in Putty helped everything tremendously. I still get a line of garbage on a reset, but after that it all works flawlessly.






                          share|improve this answer








                          New contributor




                          Steve L is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.























                            0












                            0








                            0







                            I also had some Putty issues. Turning off Flow Control in Putty helped everything tremendously. I still get a line of garbage on a reset, but after that it all works flawlessly.






                            share|improve this answer








                            New contributor




                            Steve L is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.










                            I also had some Putty issues. Turning off Flow Control in Putty helped everything tremendously. I still get a line of garbage on a reset, but after that it all works flawlessly.







                            share|improve this answer








                            New contributor




                            Steve L is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.









                            share|improve this answer



                            share|improve this answer






                            New contributor




                            Steve L is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.









                            answered Mar 3 at 20:07









                            Steve LSteve L

                            1




                            1




                            New contributor




                            Steve L is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.





                            New contributor





                            Steve L is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.






                            Steve L is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.






























                                draft saved

                                draft discarded




















































                                Thanks for contributing an answer to Stack Overflow!


                                • 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%2fstackoverflow.com%2fquestions%2f53472680%2fconnect-to-esp8266-running-micropython-from-putty%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

                                404 Error Contact Form 7 ajax form submitting

                                How to know if a Active Directory user can login interactively

                                TypeError: fit_transform() missing 1 required positional argument: 'X'