New to MicroPython, putty showing garbage chars

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
tonynsx
Posts: 43
Joined: Thu May 07, 2020 1:43 pm

Re: New to MicroPython, putty showing garbage chars

Post by tonynsx » Sun Jun 13, 2021 12:30 am

This is what I have: https://learn.adafruit.com/adafruit-fea ... management, without the parameters, I get different screen, but same thing, I can't do anything.

What do you mean by bad firmware image? I'm using the latest image from here, https://micropython.org/download/esp8266/

bitninja
Posts: 165
Joined: Thu Sep 15, 2016 4:09 pm
Location: Spring, Texas

Re: New to MicroPython, putty showing garbage chars

Post by bitninja » Sun Jun 13, 2021 12:56 am

I probably should have said "incompatible" firmware. The images on the MicroPython site are fine. That's what I used when I just tested it.

I do not own an Adafruit Huzzah, so unfortunately I cannot help on that front. But I am certain that MicroPython supports it...

https://docs.micropython.org/en/latest/ ... ckref.html

Your commands to flash the device looks good so that's why I lean toward something wrong with the BIN.

Could the actual hardware be bad? Have you tried other languages on the device?

tonynsx
Posts: 43
Joined: Thu May 07, 2020 1:43 pm

Re: New to MicroPython, putty showing garbage chars

Post by tonynsx » Sun Jun 13, 2021 1:05 am

My conclusion is that the actual ESP8266 that I have is somehow bad, or something wrong with the power. I'm connecting it to my laptop to give the 3.3v.
https://learn.adafruit.com/adafruit-fea ... management

bitninja
Posts: 165
Joined: Thu Sep 15, 2016 4:09 pm
Location: Spring, Texas

Re: New to MicroPython, putty showing garbage chars

Post by bitninja » Sun Jun 13, 2021 1:07 am

BTW... I usually unplug and re-plug the device (hard reset) before testing with putty. Here is what I connect with by default...
putty1.PNG
putty1.PNG (29.74 KiB) Viewed 4271 times
The attachment putty2.PNG is no longer available
Attachments
putty2.png
putty2.png (16.08 KiB) Viewed 4271 times
Last edited by bitninja on Sun Jun 13, 2021 1:09 am, edited 1 time in total.

tonynsx
Posts: 43
Joined: Thu May 07, 2020 1:43 pm

Re: New to MicroPython, putty showing garbage chars

Post by tonynsx » Sun Jun 13, 2021 1:09 am

I tried unplugging and plugging the ESP8266 before opening putty, and yes, I'm using baud rate 115200

bitninja
Posts: 165
Joined: Thu Sep 15, 2016 4:09 pm
Location: Spring, Texas

Re: New to MicroPython, putty showing garbage chars

Post by bitninja » Sun Jun 13, 2021 1:14 am

Sorry I couldn't help.

I really would try Lua or Arduino to see if the hardware is having issues.

Good luck!

tonynsx
Posts: 43
Joined: Thu May 07, 2020 1:43 pm

Re: New to MicroPython, putty showing garbage chars

Post by tonynsx » Sun Jun 13, 2021 1:15 am

Thanks for your help

User avatar
mattyt
Posts: 410
Joined: Mon Jan 23, 2017 6:39 am

Re: New to MicroPython, putty showing garbage chars

Post by mattyt » Sun Jun 13, 2021 1:26 am

I think there's something more fundamental going wrong here; you should not be able to see those characters. They are emitted at 9600 baud and your terminal shouldn't be able to display them if it's configured to 115200. It has nothing to do with the MicroPython firmware (yet); the problem is occurring before that even starts.

Maybe try a different terminal program? Different computer? I'm really struggling to figure out how that can occur..! Perhaps you're right, maybe it is a defective ESP...

tonynsx
Posts: 43
Joined: Thu May 07, 2020 1:43 pm

Re: New to MicroPython, putty showing garbage chars

Post by tonynsx » Sun Jun 13, 2021 1:43 am

I tried another terminal program other than Putty, forgot which one, but still same issue. Although the Putty was showing different characters than the other terminal program, nevertheless, both terminal programs was unresponsive.

I haven't had the chance to try another laptop, that's my next step.

tonynsx
Posts: 43
Joined: Thu May 07, 2020 1:43 pm

Re: New to MicroPython, putty showing garbage chars

Post by tonynsx » Sun Jun 13, 2021 1:49 am

Just to make sure, when I erase flash and then install the new firmware, I don't need to push any buttons (RST , flash) right? Because according to the Micropython officla page, you don't need to press anything, but other websites tells you to press flash, rst, then let go flash or something llike that.

Post Reply