How I can use DEVICE/Install Micropython or Erase ESP?

28 views
Skip to first unread message

Андрей Золотарев

unread,
Feb 27, 2019, 7:09:14 AM2/27/19
to thonny
Didn't find in instructions how to load firmware to ESP

IOT Domótica personalizada

unread,
Feb 27, 2019, 7:22:52 AM2/27/19
to thonny

Андрей Золотарев

unread,
Mar 3, 2019, 2:59:54 AM3/3/19
to thonny
Yes, but I ask about Device item in Thonny IDE, where Install and Erase choices always set Off

IOT Domótica personalizada

unread,
Mar 3, 2019, 4:28:18 AM3/3/19
to thonny
Not sure I understand the problem. If the ESP is properly flashed, connected and reconized by Thonny, then Upload/Show opcions should be enabled. In my version I don't have an "Erase" option. To do that, I use the shell by:

import os (or uos)
os.listdir() (or listdir('folder')
os.rename('myfile') (or remove('myfie')

Андрей Золотарев

unread,
Mar 3, 2019, 5:15:18 AM3/3/19
to thonny
Yes, this items work fine, but on Thonny IDE for Mac OS there is two more items
- Install MicroPython to ESP8266/ESP32
- Erase ESP8266/ESP32
Which shown, but not higlited and could de used.
Usually I use for this esptool 2.6 or uPyCraft 1.0 but viewing this possibility in Thonny IDE I'll be glad to use it not to jump between software

IOT Domótica personalizada

unread,
Mar 3, 2019, 5:19:58 AM3/3/19
to thonny
Hum, ok. Sorry cannot help, I use Windows

Aivar Annamaa

unread,
Mar 3, 2019, 9:49:27 AM3/3/19
to thonny
Hi!

You need to select the device in Tools => Options => Interpreter first.

best regards,
Aivar
Reply all
Reply to author
Forward
0 new messages