-
Notifications
You must be signed in to change notification settings - Fork 1
Micropython Installation instructions for ESP32
Alex Hanson edited this page Mar 16, 2019
·
5 revisions
These instructions apply to Windows
- Install anaconda
- Open anaconda prompt
- create env
conda create -n esp32_py36 python=3.6
activate esp32_py36
pip install esptool
pip install mpfshell
On Windows, do not run
esptool.pybutesptoolotherwise you may get the error "failed to create process."
-
esptool --chip esp32 --port COM7 write_flash -z 0x1000 esp32-20190113-v1.9.4-779-g5064df207.bin(current directory doesn't yet matter)- COM7 or COM11 for DAH
- To resolve error:
A fatal error occurred: Failed to connect to Espressif device: Invalid head of p acket (0x08):- Unpluged board from breadboard and other capacitance causing sources, AND / OR
- hold
BTN 0at start. If you fail to do this you may see error.
- Download micropython esp32 firmware
- Change directory to location of esp firmware, example: cd \Users\DAH\Downloads\Alex_Lake_SZT_Project
esptool --chip esp32 --port COM7 write_flash -z 0x1000 esp32-20180511-v1.9.4.bin
