top of page

Fix tinyprog error "serial.serialutil.SerialException: Cannot configure port"



This post shows a solution to "serial.serialutil.SerialException: Cannot configure port, something went wrong." when using tinyprog. The solution is: close other programs that are using the COM port.


Note


This problem may be seen in other Python programs.



Symptom


After typing tinyprog --program design.bin the program hangs and then after sometime you see:


Solution


There is something running on Windows that current owns the port. In my case, I had VirtualBox open. Once I closed VirtualBox, I was able to successfully download:


References

  • TinyFPGA BX User Guide at [link]

bottom of page