Open boortel opened 3 years ago
What probe are you using & OS? I'll try here - to be honest I've just been rerunning it without noticing a problem. The underlying library doesn't have a "close" function which suggests we don't either.
You might be able to delete the object (at least the ctypes
interface) which could close it?
I use the Texas Instruments XDS100+RS232 V1.0 A TI16QHTYA probe and Win10 OS.
The problem occurs only, when I rerun the initialization part - the next run returns only empty probes. Removing the interface and jtag variables doesn't help - I always have to restart the whole kernel.
I have same problem and its also with XDS100. @boortel did you find solution or you just made workaround with resetting kernel?
Hello again,
I continue with the experiments and I'm not able to find, how to close the JTAG reference properly. This cause troubles in finding probes, when I restart the processor, or when I try to run the script again.
The dummy code, which leads to error by its re-running, is following:
The following error occurs when running the script again:
Everything works properly while the first run and I can fix the re-run problem with the kernel restart. However, I need to re-run my script and BS for several times and the restart solution is not suitable for me. It would be nice to close everything and then to initialize the references again. Could you please help me with this issue?
Thanks in advance!
Sims