Forum Discussion
covfefe
Occasional Contributor
3 years agoThank you, the following successfully closes the service path:
set m_path [lindex [get_service_paths master] 0 ]; set c_path [claim_service master $m_path ""]; close_service master $c_path;
Now, to be able to re-claim an existing path, I first need to be able to check if it is closed. However, this command returns 0 regardless of the status (open or closed).
is_service_open master {/devices/5AGT(FD3H3|MD3G3)|5AGXBB3D4|..@1#USB-1/(link)/JTAG/(110:132 v1 #0)/phy_0/master}
Which then errors on the next command to claim it
claim_service master {/devices/5AGT(FD3H3|MD3G3)|5AGXBB3D4|..@1#USB-1/(link)/JTAG/(110:132 v1 #0)/phy_0/master} m CLIENT (sock2256): claim_service master {/devices/5AGT(FD3H3|MD3G3)|5AGXBB3D4|..@1#USB-1/(link)/JTAG/(110:132 v1 #0)/phy_0/master} m SERVER (sock2256): Invalid command from the client ErrorMsg : Could not claim service at /devices/5AGT(FD3H3|MD3G3)|5AGXBB3D4|..@1#USB-1/(link)/JTAG/(110:132 v1 #0)/phy_0/master: Channel is opened
Is it possible "close_service master" does not really close it?
- ShengN_altera3 years ago
Super Contributor
Hi,
After close_service, you have to get_service again in order to claim_service. claim_service can't be done straight away after closing service.
Best regards,
Sheng
p/s: If any answer from community or Intel support are helpful, please feel free to mark as solution and give Kudos.