• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Flashing Micropython ESP8266

Q&A Forum › Category: ESP8266 › Flashing Micropython ESP8266
0 Vote Up Vote Down
James Starr asked 5 years ago

Apologies if this has been covered. I’ve successfully used a couple of Wemos D1 Minis with Micropython no probs at all. However the third one I’m trying to use refuses to allow me into the REPL after flashing the firmware.
Have tried several erase/write attempts, these seem to work, and the flash is verified as ok. Have checked the board’s MAC address and this is indeed showing up in my WIFI networks as “Micropython-f9af79” correctly, so it seems that something has worked. However when I fire up either Thonny or uPycraft they don’t like it. Trying to access the REPL from the command line in Terminal doesn’t work either.
 
What am I missing/am I being stupid….?
Thanks in advance

7 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 5 years ago

Hi James.
So, when you flash micropython firmware, it works well, but when you try to access it using Thonny or UPyCraft it doesn’t work?
What do you see when that happens?
You need to select the right COM port in order to be able to connect with the board. Also, make sure you don’t have any more boards connected to your computer.
Regards,
Sara

0 Vote Up Vote Down
James Starr answered 5 years ago

Hi,
 
I flashed the board using esptool, and that says the flash is verified. Both uPycraft and Thonny can see a board is connected (on the correct USB port), but when I press Stop/Start in Thonny it says “Unable to enter REPL”, and it attempts to connect three times before timing out.
 
It’s not the same error message when nothing is plugged in. 

0 Vote Up Vote Down
Sara Santos Staff answered 5 years ago

Hi again.
What version of MicroPython firmware are you flashing your boards with?
Regards,
Sara

0 Vote Up Vote Down
James Starr answered 5 years ago

Hi,
 
The latest stable release, V1.12. The other two Wemos boards which worked fine were done a few months ago, can’t remember which release I used then, but it would have been the latest at the time.
 
James

0 Vote Up Vote Down
Sara Santos Staff answered 5 years ago

Hi James.
But are you using the latest stable version? Don’t use the daily builds.

Also, what version of Thonny IDE are you using?
Does that happen with all boards, or just that in particular?
Regards,
Sara
 

0 Vote Up Vote Down
James Starr answered 5 years ago

Yes, latest stable version. Also tried it with an older stable version (1.8.7) and no joy. Thonny is v3.2.6.
This is the only board where I have a problem, the other Wemos boards are fine and I coded to a Lolin NodeMCU board last night with no issues.
 
Suggests a hardware problem doesn’t it? I just wanted to check I wasn’t doing something stupid!

0 Vote Up Vote Down
Sara Santos Staff answered 5 years ago

Hi James.
Based on the information you provided, it seems to be some sort of hardware problem.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.