This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

关于TICS PRO软件如何用command line控制,对LMK03318 进行烧录

Other Parts Discussed in Thread: LMK03318, USB2ANY

Hi TI,

    我们从TI官网购买了USB2ANY 烧录器对LMK03318进行烧录,我们目前在界面上用鼠标点能够实现烧录和读取,但是我们在另外一个平台去调用,需要用到command line,现在不知道怎么使用command line去烧录,我们发邮件去询问TI的技术人员,需要使用python去写一个外挂,我们的代码如下:

import win32com.client
tp = win32com.client.Dispatch("TICSPro.ActiveX")
tp.Initialize(r"C:\Program Files (x86)\Texas Instruments\TICS Pro")
tp.SelectDevice("LMK03318")

tp.PressButton("bCOPYEEPROM")
tp.PressButton("bPROGRAMEEPROM")

执行以上代码之后,软件界面可以调用出来,但是无法连接烧录器,连接显示为红色

我们手动打开烧录器连接为正常,显示为绿色。

请问我们要做什么配置吗?能否给一个详细的说明关于这个软件。或者写一个python的sample给到我们,如怎么调用tcs file,如何插入epr文件,如何program to EEPROM,如何copy to SRAM等等。

x 出现错误。请重试或与管理员联系。