CDCE6214-Q1: automated programming using ticspro from command line prompt with batch file

Part Number: CDCE6214-Q1
Other Parts Discussed in Thread: USB2ANY

Tool/software:

I want to automate programming device with TICSPRO from the command line execution in a batch file using usb2any.  The GUI works but I need to automate it for production runs and I do not want to use python or other scripting programs.  I can modify TICSPRO.ini file with device and .tcs configuration file (if possible).  I would also like the command line to force the EEPROM programming from registers if possible from the same command line prompt.

  • There's no usage model for the TICS Pro executable that support the kind of command line programming you're describing. I have a feeling that what you really want is the TI equivalent of the ClockBuilder Pro command line tools, but these supporting tools have not been constructed for TICS Pro. At this time, we can offer guidance and support for the programming process, or review of programming sequence/procedure.

  • Hi Derek,  I develop board level test solutions using LABVIEW.  I have the ability to launch this application from LABVIEW using SYSEXEC.vi but I need to automate as much as possible the programming sequence of TICS Pro.  It already works as a GUI, but I would like it to have default settings for the device and the configuration file .tcs.  The DEVICE_NAME00-CDCE6214-1Q is already set in the SETUP of TICS Pro.ini file, can I do the same thing for the .TCS file too?  It would be nice if I could set a mode in the TICS Pro executable to automatically start the register-to-program-eeprom operating when launched.  Thanks for your help in advance.  -Pat

  • There is a single command line flag that can be applied to specify a custom settings file, which can control some startup behaviors. The one I could potentially see being of use to you is the locally-bound TCP socket server API, which can do things like set field values, write registers, load configurations, etc. We include a python wheel, ti_ticspro, within the installer (installed to C:\Program Files (x86)\Texas Instruments\TICS Pro by default), which includes an example python client implementation for the socket server communication. I think you could review this client file and come up with an equivalent vi that can TCP Open Connection to the local TICS Pro socket server, TCP Write the message, and TCP Read the response. Then you can load the configuration and press the "BTN_EEP_REGCOMMIT" button via TCP server APIs from within labview. The actual mechanics of the APIs are extremely straightforward, and merely requires string join/split and prepend/append or strip of some standard ascii characters. Please give the python client file a quick look, and let me know if this seems like a reasonable proposal.