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
I try to make a boundary scan test bench based on your work but I face a problem with the "set_bsdl" method.
I work on Windows 10, I Install python 3.9.10 32bit and install the setup (py setup.py install). I use a Jlink Base probe for the JTAG communication and I include in my main folder the .DLL file.
I succes the connection with the probe and I can detect the device on the boundary scan chain. But when I want to link the BSDL file I have the error below :
this is my code :
`from jtagbs import jtagbs
from jtagbs.viveris import jtagcore
I'll see what happens - you might try replacing the DLL with a more recent version? The "bad parameter" sounds like some sort of error with either the filename or the self.device_id. You might try as a minor test moving the BSDL file into the exact same directory so the path is just K64_144qfp.bsdl in case the relative path is causing an error with the DLL.
I haven't seen that error, I'll give it a try later to see if I can recreate it which would be more useful for debugging (or maybe someone else has?)
Thank you for your quick answer.
The DLL is the most recent version. I already try to put the BSDL file into the same directory but nothing change.
Perhaps the error can come from a bad environement configuration ?
Is there any other action to do for initialize the project in addition to install python 32bit and execute the setup.py ?
Hello,
I try to make a boundary scan test bench based on your work but I face a problem with the "set_bsdl" method.
I work on Windows 10, I Install python 3.9.10 32bit and install the setup (py setup.py install). I use a Jlink Base probe for the JTAG communication and I include in my main folder the .DLL file.
I succes the connection with the probe and I can detect the device on the boundary scan chain. But when I want to link the BSDL file I have the error below :
this is my code :
`from jtagbs import jtagbs
from jtagbs.viveris import jtagcore
interface = jtagcore.JTAGCore()
jtag = jtagbs.JTAGBS(interface)
probes = jtag.list_available_probes()
print(probes)
jtag.open_probe('JLINK')
jtag.init_scanchain()
print(jtag.list_devids())
print(jtag.list_devices())
MK64 = jtag.get_device(1)
print(MK64)
#MK64.set_bsdl("./bsdl_files/st/stm32f4/STM32F405_415_407_417_LQFP64.bsd")
MK64.set_bsdl(r"./bsdl_files/nxp/MK/K64_144qfp.bsdl")`
Do you have an idea to solve this issue ?
Thank you
The text was updated successfully, but these errors were encountered: