• 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

esptool install on raspberry pi

Q&A Forum › Category: Raspberry Pi › esptool install on raspberry pi
0 Vote Up Vote Down
Roslan Ramli asked 3 years ago

Hi, I am just starting out and I use Thonny ide on Raspberry pi to do experimenting on Micropython on esp8266.
I have tried using ‘pip3 install esptool’ to install esptool.
However running python3 esptool.py -p /dev/ttyUSB0 erase_flash gives me ‘python3 cannot find esptool, error no file or directory by that name.
I have run it before on windows with no problem. I am trying to set up dev kit based on raspberry pi to my kid.
Sure hope someone can show me how to fix this.

Question Tags: MicroPython
4 Answers
0 Vote Up Vote Down
Roslan Ramli answered 3 years ago

or is there another way I can burn micropython on esp8266

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

Hi Roslan.
uPyCraft IDE has a visual interface to burn micropython on an ESP8266. This IDE is not as intuitive as Thonny IDE, but it has this nice feature:https://randomnerdtutorials.com/flash-upload-micropython-firmware-esp32-esp8266/
Can you tell me the exact command you typed to run the erase flash command?
Regards,
Sara
 

0 Vote Up Vote Down
Roslan Ramli answered 3 years ago

Thank you for your reply.
I was following a tutorial and the command was ‘python esptool.py’.
I discovered that the command was actually ‘esptool.py -p /dev/ttyUSB0 erase_flash’ and that did the trick.
Next, How do I install uPyCraft on raspberrypi?

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

Hi.
It is better to use Thonny IDE on Raspberry Pi, because I think at the moment it comes installed by default.
You can follow this tutorial to flash micropython without upycraft (if you’re using Raspberry Pi): https://randomnerdtutorials.com/flashing-micropython-firmware-esptool-py-esp32-esp8266/
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] SMART HOME with RPi, ESP32, and ESP8266 (version 1.2) March 8, 2023
  • [eBook Updated] ESP32-CAM Projects (version 1.3) January 7, 2023

You must be logged in to view this content.

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

Copyright © 2013-2023 · 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.