Closed kellykan closed 1 year ago
Code below: log_good.tx run from python terminal, log_bad.txt run from jenkins
import pylink
jlink = pylink.JLink()
product_name = 'LPC54608J512' error = jlink.open() error = jlink.product_name print(error) jlink.oem error = jlink.opened() print(error) error = jlink.connected() print(error) error = jlink.target_connected() print(error) error = jlink.set_tif(pylink.enums.JLinkInterfaces.SWD) print(error) error = jlink.connect(product_name, speed='auto') print(error) jlink.close() [log_bad.txt](https://github.com/square/pylink/files/11541251/log_bad.txt) [log_good.txt](https://github.com/square/pylink/files/11541255/log_good.txt)
this was found to be a hardware related error
Will have further details tomorrow but maybe someone has come across this issue before:
However when run from Jenkins the connect command hangs and doesn't return hence Jenkins locks up. Any ideas?