You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm now trying to use the same device on my PC. I can find and connect to the device ok, and the Run button works, but when I try to sync the device it fails with.
The connected device may not be in repl state or may not be a micropython device.
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "cli.py", line 800, in <module>
File "site-packages\click\core.py", line 764, in __call__
File "site-packages\click\core.py", line 717, in main
File "site-packages\click\core.py", line 1137, in invoke
File "site-packages\click\core.py", line 956, in invoke
File "site-packages\click\core.py", line 555, in invoke
File "cli.py", line 551, in repl
File "ampy\pyboard.py", line 239, in read_until_hit
File "ampy\pyboard.py", line 162, in read_until
File "site-packages\serial\serialutil.py", line 590, in inWaiting
File "site-packages\serial\serialwin32.py", line 257, in in_waiting
serial.serialutil.SerialException: ClearCommError failed (PermissionError(13, 'Access is denied.', None, 5))
[33844] Failed to execute script cli
I found the cause of this problem. I had created a git repository so that I could work on this project between two computers.
This created a .git folder in the project directory which RT-Thread was then trying to sync to the device. This must have caused some kind of problem or conflict for the board. Is there a way for RT thread to ignore this folder when syncing?
Device - ESP32 DEVKIT
COM connection - Silicon Labs CP210x USB to UART Bridge
System - Windows 10
I have already flashed this device with micropython on a Mac via the following commands.
and was able to sync and run micropython fine.
I'm now trying to use the same device on my PC. I can find and connect to the device ok, and the Run button works, but when I try to sync the device it fails with.
The connected device may not be in repl state or may not be a micropython device.
The text was updated successfully, but these errors were encountered: