Micropython in esp32 part1: install firmware


The first trick is to install micropython firmware to esp32 in windows.

you can find firmware for esp32 from here: http://micropython.org/download

make sure you down load the right one, I down loaded the non spiram version, the standard one.



Then, it comes to how to write firmware to board under windows. I have python 2.7 on my PC, so install esptool through pip seems easy.
pip install esptool

Then in the folder you put the downloaded firmware,
esptool.exe --chip esp32 --port COM26 write_flash -z 0x1000 esp32-20190113-v1.9.4.bin

the it would do the trick...

留言

這個網誌中的熱門文章

Meshtastic 03 adding GPS on TTGO lora32 V2

GeoSetter how to add geotag on to pictures, and export to google earth as kmz

AIS0. understanding AIS NMEA 0183: How it's coded