SparkFun Forums 

Where electronics enthusiasts find answers.

Discussions about processor boards have here!
User avatar
By lumpynose
#223577
Debian Linux. How can I use MicroPython with this card? If I follow their instructions for installing MicroPython the first step fails:
Code: Select all
$ esptool --chip esp32 --port /dev/ttyUSB0 erase_flash
esptool.py v2.5.1
Serial port /dev/ttyUSB0
Connecting........_____....._____....._____..
Chip is ESP32D0WDQ6 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse
MAC: 24:6f:28:8f:5b:f8
Enabling default SPI flash mode...
Erasing flash (this may take a while)...

A fatal error occurred: ESP32 ROM does not support function erase_flash.
User avatar
By lumpynose
#223601
Let me put a hold on this question. I looked on the MicroPython forums and it looks like the problem is esptool; I need to try the latest one instead of the older version that I installed (from the Debian repo).
User avatar
By lumpynose
#223605
The newest version of esptool.py fixed it. Version 3.0. :)

Flashed the board with MicroPython and a test program works.

I don't know if this is typical, but I also need to pulse DTR before using esptool.py when the board has been just powered on. I do that with picocom and use its C-a C-p.
 Topic permissions

You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]