• 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

ESP8266 Using uPyCraft – Webserver Project – Uploads but receive GARBLED CHARACTERS – no CONNECTION SUCCESFUL or IP address

Q&A Forum › ESP8266 Using uPyCraft – Webserver Project – Uploads but receive GARBLED CHARACTERS – no CONNECTION SUCCESFUL or IP address
0 Vote Up Vote Down
Dave Coley asked 2 years ago

Hello,

I trying to download and run the project Web Server from the Micro Python course.

I am able to install the firmware ok on the esp8266, but received some of the basic errors when trying to download and run the main.py and boot.py files.

I managed to download and run the files ok.

Problem is when I press the RNT button to reload the program I receive garbled characters on the screen…

Here’s what I see on the repl.


Ready to download this file,please wait!
………….
download ok

os.listdir(‘.’)
Traceback (most recent call last):
File “<stdin>”, line 1, in <module>
NameError: name ‘os’ isn’t defined
>>>

reflush tree false

ll`rl$rlb

nnl`nr

ll`rl$rlb

nnl`nr

ll`rl$rlb

Any help is appreciated.

1 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 2 years ago

Hi.
What project are you following?
Does it have a boot.py and main.py?
Make sure you upload the boot.py first.
If you still have problems, copy the contents of the boot.py file to the beginning of the main.py.
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.