mocleiri / tensorflow-micropython-examples

A custom micropython firmware integrating tensorflow lite for microcontrollers and ulab to implement the tensorflow micro examples.
MIT License
170 stars 79 forks source link

install firmware #90

Closed nicolashickl closed 1 year ago

nicolashickl commented 2 years ago

can you help me please, what is my mistake? I tried to install the esp32 firmware as a zip. now the following error message appears in thonny: i have just connected a micro sd card adapter.

image

nicolashickl commented 2 years ago

or is this the wrong way to install the firmware? (i just downloaded the zip file,, put it in thonny and installed it)

mocleiri commented 2 years ago

You need to unzip the file as there are a couple of files within it.

The instructions I use from windows to flash are located on the main page: https://github.com/mocleiri/tensorflow-micropython-examples#flash-image

 esptool.py -p COM5 -b 460800 --before default_reset --after hard_reset --chip esp32 write_flash --flash_mode dio --flash_size detect --flash_freq 40m 0x1000 bootloader/bootloader.bin 0x8000 partition_table/partition-table.bin 0x10000 micropython.bin

on my system the esp32 shows up as COM5.

Someone posted the linux steps in one of the issues but I don´t recall which one at the moment but you can search for it.

Be sure you have downloaded the image from the main branch as there are other branch builds which don´t work right.

nicolashickl commented 2 years ago

thank you, now it works :)

mocleiri commented 1 year ago

Closing as it is reported as working.