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
STC gal can not function properly on my Windows 10 1803 with Python 3.7
Useful error message raise StcProtocolException("status packet too short") stcgal.protocols.StcProtocolException: status packet too short
Full error message:
C:\WINDOWS\system32>stcgal -p COM6
Waiting for MCU, please cycle power: Protocol error: status packet too short
Traceback (most recent call last):
File "c:\users\think\appdata\local\programs\python\python37\lib\site-packages\stcgal\frontend.py", line 155, in run
self.protocol.connect(autoreset=self.opts.autoreset, resetcmd=self.opts.resetcmd)
File "c:\users\think\appdata\local\programs\python\python37\lib\site-packages\stcgal\protocols.py", line 310, in connect
raise StcProtocolException("status packet too short")
stcgal.protocols.StcProtocolException: status packet too short
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\users\think\appdata\local\programs\python\python37\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "c:\users\think\appdata\local\programs\python\python37\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\Users\think\AppData\Local\Programs\Python\Python37\Scripts\stcgal.exe_main.py", line 9, in
File "c:\users\think\appdata\local\programs\python\python37\lib\site-packages\stcgal\frontend.py", line 243, in cli
return gal.run()
File "c:\users\think\appdata\local\programs\python\python37\lib\site-packages\stcgal\frontend.py", line 175, in run
self.protocol.disconnect()
File "c:\users\think\appdata\local\programs\python\python37\lib\site-packages\stcgal\protocols.py", line 357, in disconnect
self.write_packet(packet)
File "c:\users\think\appdata\local\programs\python\python37\lib\site-packages\stcgal\protocols.py", line 393, in write_packet
raise NotImplementedError
NotImplementedError
The text was updated successfully, but these errors were encountered:
STC gal can not function properly on my Windows 10 1803 with Python 3.7
Useful error message
raise StcProtocolException("status packet too short") stcgal.protocols.StcProtocolException: status packet too short
Full error message:
C:\WINDOWS\system32>stcgal -p COM6
Waiting for MCU, please cycle power: Protocol error: status packet too short
Traceback (most recent call last):
File "c:\users\think\appdata\local\programs\python\python37\lib\site-packages\stcgal\frontend.py", line 155, in run
self.protocol.connect(autoreset=self.opts.autoreset, resetcmd=self.opts.resetcmd)
File "c:\users\think\appdata\local\programs\python\python37\lib\site-packages\stcgal\protocols.py", line 310, in connect
raise StcProtocolException("status packet too short")
stcgal.protocols.StcProtocolException: status packet too short
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\users\think\appdata\local\programs\python\python37\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "c:\users\think\appdata\local\programs\python\python37\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\Users\think\AppData\Local\Programs\Python\Python37\Scripts\stcgal.exe_main.py", line 9, in
File "c:\users\think\appdata\local\programs\python\python37\lib\site-packages\stcgal\frontend.py", line 243, in cli
return gal.run()
File "c:\users\think\appdata\local\programs\python\python37\lib\site-packages\stcgal\frontend.py", line 175, in run
self.protocol.disconnect()
File "c:\users\think\appdata\local\programs\python\python37\lib\site-packages\stcgal\protocols.py", line 357, in disconnect
self.write_packet(packet)
File "c:\users\think\appdata\local\programs\python\python37\lib\site-packages\stcgal\protocols.py", line 393, in write_packet
raise NotImplementedError
NotImplementedError
The text was updated successfully, but these errors were encountered: