TCL Scripting for OpenOCD

Thanks.yes i used tcl for creating a Telnet application . i can run scan_chain command via my tcl application. but when im using it for drscan or irscan command it wont work.i didnt configured a target yet.difficult to configure target because the target im goning to define is not in OpenOCD.my target chip is XC9536XL. :frowning: that is the problem) Help me please.