atomic14 / tensorflow-lite-esp32

SImple example getting TensorFlow Lite up and running on the ESP32 with Platform.io
Creative Commons Zero v1.0 Universal
130 stars 30 forks source link

Code didn't upload #6

Closed Anugaradhawa closed 2 years ago

Anugaradhawa commented 2 years ago

Picsart_22-04-29_18-36-44-829 I was compiled the code then the massage is successful but when i am upload the code it's said upload failed please tell me whats the reason for this please 🥺 Picsart_22-04-29_18-37-00-081

cgreening commented 2 years ago

Can you make sure you open the "firmware" folder in VSCode and then do a build and upload?

Anugaradhawa commented 2 years ago

Ok i was tried but still it's said failed friend what is the reason you think please tell me please 🥺

cgreening commented 2 years ago

Can you expand the terminal window a bit so that the error is visible?

cgreening commented 2 years ago

Try editing platformio.ini and remove the two lines:

upload_port = /dev/cu.SLAB_USBtoUART
monitor_port = /dev/cu.SLAB_USBtoUART
Anugaradhawa commented 2 years ago

Picsart_22-04-29_19-02-15-553

I was edit it but it doesn't upload please help me please 🙏🥺

cgreening commented 2 years ago

So the error is saying that it can't find your device on /dev/cu.SLAB_USBtoUART

That's because your device is probably on a different port. So remove the two lines from platform.io and try again and see what error you see.

There's some good instructions here on working out what COM port your device is on when using windows: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/establish-serial-connection.html

Anugaradhawa commented 2 years ago

Picsart_22-04-29_19-19-30-696

Yes you right there was a port error now I install silicon lab driver and then it's recognize it but some time it recognize it and some time it doesn't recognize it

Anugaradhawa commented 2 years ago

Picsart_22-04-29_19-54-58-205

Finally i fix it thanks a lot friend error is port not selected 🙏🙏🙏 thanks a lot agin friend

cgreening commented 2 years ago

That's great! Well done.

Anugaradhawa commented 2 years ago

Thanks a lot. please help me in future errors ok friend thankyou