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
It seems the state machine transition doesn't handle the case of being in idle and getting go_idle command. I've added workaround in my code to check for current state before issuing a JtagEngine.go_idle() command.
Traceback (most recent call last):
File "./cli.py", line 234, in <module>
main()
File "./cli.py", line 226, in main
sel_ft4232(ft4232_list, usb_tree)
File "./cli.py", line 55, in sel_ft4232
direct_ft4232_cli(ft_sn)
File "lib/lib_tc1_jtag.py", line 332, in direct_ft4232_cli
jtag.go_idle(chnl)
File "lib/lib_tc1_jtag.py", line 55, in go_idle
jtag.go_idle()
File "/usr/local/lib/python3.7/dist-packages/pyftdi/jtag.py", line 499, in go_idle
self.change_state('run_test_idle')
File "/usr/local/lib/python3.7/dist-packages/pyftdi/jtag.py", line 493, in change_state
self._ctrl.write_tms(events)
File "/usr/local/lib/python3.7/dist-packages/pyftdi/jtag.py", line 252, in write_tms
raise JtagError('Invalid TMS length')
pyftdi.jtag.JtagError: Invalid TMS length
The text was updated successfully, but these errors were encountered:
It seems the state machine transition doesn't handle the case of being in idle and getting go_idle command. I've added workaround in my code to check for current state before issuing a JtagEngine.go_idle() command.
The text was updated successfully, but these errors were encountered: