myo-raw
myo-raw copied to clipboard
serial.serialutil.SerialException: Cannot configure port, something went wrong. Original message: PermissionError(13, 'The device connected to the system is not working.', None, 31)
Hello there! The package you provided is very useful, but when I was using it recently, the serial port was always broken. The error message is as follows: serial.serialutil.SerialException: Cannot configure port, something went wrong. Original message: PermissionError(13, 'The device connected to the system is not working.', None, 31) Those who hope to encounter similar problems can give a solution that has been debugged for a long time! Thank you
I also encountered the same problem when I run myo_raw.py
I tried a lot of things, but they didn't work, and it turned out to be a problem with device sleep. However, according to the official command set never to sleep, the result is the same, as if the command did not set the success, do not know the specific problems and solutions
if self.ser.isOpen():
pass
else:
try:
self.ser.open()
except:
print("发生异常:")
print('traceback.format_exc():\n{}'.format(traceback.format_exc()))
print("关闭串口:")
self.ser.close()
print("打开串口:")
self.ser.open()
print("打开串口成功:")
print("继续执行程序")
发生异常: traceback.format_exc(): Traceback (most recent call last): File "D:\xuxu\GPIB_ATUO\at_cmd.py", line 109, in write self.ser.open() File "C:\Python36-32\lib\site-packages\serial\serialwin32.py", line 78, in open self._reconfigure_port() File "C:\Python36-32\lib\site-packages\serial\serialwin32.py", line 222, in _reconfigure_port 'Original message: {!r}'.format(ctypes.WinError())) serial.serialutil.SerialException: Cannot configure port, something went wrong. Original message: PermissionError(13, '连到系统上的设备没有发挥作用。', None, 31)
Arduino:1.8.9 (Windows 10), Board:"LOLIN(WEMOS) D1 mini Lite, 80 MHz, Flash, Disabled, All SSL ciphers (most compatible), 1M (no SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
De schets gebruikt 386576 bytes (37%) programma-opslagruimte. Maximum is 1023984 bytes.
Globale variabelen gebruiken 28684 bytes (35%) van het dynamisch geheugen. Resteren 53236 bytes voor lokale variabelen. Maximum is 81920 bytes.
esptool.py v2.6
2.6
esptool.py v2.6
Serial port COM8
Traceback (most recent call last):
File "C:\Users\Arthur\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.2/tools/upload.py", line 25, in
I get this message. I don't know whats wrong, please help
I have corrected by just changing the port. I have already connected the esp8266 with COM16 and got the error. Now the code works fine with the port COM 17.
hi, i have the same problem, bcs i changed by error driver of "Dual RS232-HS (Interface 1 ) " from “FTDIBUS (vxxxx)” To usber (v1.0.0.0) and i dont know how i can come back or reset this driver bcs i can flash esp32 again ...
iam using : The ESP-WROVER-KIT with multi-protocol USB bridge (the FTDI FT2232HL)
faced the same problem when I was trying to upload code into the node MCU... the problem in my case was that I was trying to power large motors drivers with common vin, hence I cut the common vin and attached the motor driver separately with an external source. the reason this happens in my case was that i tried to power a large device with a small power source(i.e from my laptop) hence the laptops USB port automatically cuts the power hence it interrupts the uploading process.
hope this was helpful
发生异常: traceback.format_exc(): Traceback (most recent call last): File "D:\xuxu\GPIB_ATUO\at_cmd.py", line 109, in write self.ser.open() File "C:\Python36-32\lib\site-packages\serial\serialwin32.py", line 78, in open self._reconfigure_port() File "C:\Python36-32\lib\site-packages\serial\serialwin32.py", line 222, in _reconfigure_port 'Original message: {!r}'.format(ctypes.WinError())) serial.serialutil.SerialException: Cannot configure port, something went wrong. Original message: PermissionError(13, '连到系统上的设备没有发挥作用。', None, 31)
Have you solved this problem?
I get the same error i tried to search how to fix the error but i couldn't find anything please help.
Thanks this also solved my issue. Disconnected component from the 5V port and it worked
When I run the AT test script, an exception is thrown when opening the AT serial port: could no open port: "PermissionError(13, 'The device connected to the system is not functioning.', None, 31)" I get this message. I don't know whats wrong, please help!
Below is my code : try: self.controller = serial.Serial(self.com, self.rate) # self.log('[%s]open_serial...' % self.module_name) rev_threa = threading.Thread(target=self.receive_msg_from_port_thread_py3) rev_threa.setDaemon(True) self.log('open serial') rev_threa.start() except Exception as ex: self.log("SUMMARY:SUB SERVICE:%s,%s" % ("NA", "AT Port Exception")) self.log('[%s]serial_open [%s, %d], ERROR:%s' % (self.module_name, self.com, int(self.rate), str(ex)))
không biết những tôi đã chuyển Debug Port trong phần Tool thành Serial thì mọi thứ đều bình thường lại
Hello there! The package you provided is very useful, but when I was using it recently, the serial port was always broken. The error message is as follows: serial.serialutil.SerialException: Cannot configure port, something went wrong. Original message: PermissionError(13, 'The device connected to the system is not working.', None, 31) Those who hope to encounter similar problems can give a solution that has been debugged for a long time! Th
Hello there! The package you provided is very useful, but when I was using it recently, the serial port was always broken. The error message is as follows: serial.serialutil.SerialException: Cannot configure port, something went wrong. Original message: PermissionError(13, 'The device connected to the system is not working.', None, 31) Those who hope to encounter similar problems can give a solution that has been debugged for a long time! Thank you
try instaling CH340G. this help you to communicate with with the bored. the problem you have is pc is not able to give the data to the bored.
Possible Solution
Try to uninstall and install again the driver CH34X.
Here is the url Link to driver download follow the instructions:
And works fine, currently i use Windows 11 but in the page are steps to MacOS and Linux.
He solucionado el problema, a mi me funciono fue desintalar el driver CH341 original que windows 11 tenia, y volver a instalar el driver de la pagina https://parzibyte.me/blog/2020/02/09/instalar-driver-esp8266-windows/
After uploading,I received this message. A serial exception error occurred: Cannot configure port, something went wrong. Original message: PermissionError(13, '����ϵͳ�ϵ��豸û�з������á�', None, 31) Note: This error originates from pySerial. It is likely not a problem with esptool, but with the hardware connection or drivers.
Possible Solution
Try to uninstall and install again the driver CH34X.
Here is the url Link to driver download follow the instructions:
And works fine, currently i use Windows 11 but in the page are steps to MacOS and Linux.
Thanks bro, this is good