micropython / micropython-esp32

Old port of MicroPython to the ESP32 -- new port is at https://github.com/micropython/micropython
MIT License
669 stars 216 forks source link

UPload to ESP32 board #250

Closed armon75226 closed 5 years ago

armon75226 commented 5 years ago

I am having a hard time uploading file to my ESP32 via Com port. It is more like hit or miss. for instance, I update my file (test.py) on PC and using shell command to connect to the port and upload: ampy --port COM4 --baud 115200 put test.py Upon submitting the file I have to hold down Boot bottom to be able to copy the file to my board. But it works sometimes and sometimes it wont. very frustrating. I changed the time sleep to 4 second in pyboard.py but no luck.

Has anyone come a cross this issue and fixed it? Thanks

robert-hh commented 5 years ago

This is not an issue, just an inconsistency between ampy and MP. You asked this question on the forum too, which is the proper place.