controlling lauterbach through command line

痞子三分冷 提交于 2019-12-02 06:41:58

问题


I have condition that i have to flash multiple output files one by one to the mpc controller. We use GUI for lauterbach to do the flashing and running software. Now i want to do the same via >command line argument. Some one please explain me what all things are needed for controlling the lauterbach through command prompt.

I want to use Lauterbach Powerdebug interface/ usb2 for the debugging purpose.


回答1:


You can remote-control trace32 via a UDP port using the t32rem command. t32rem is typically installed in C:\T32\bin\windows64\

Your t32 configuration file (config.t32) must have "RCL=NETASSIST" in it. And you need to enable the API port, either via the t32start options or in your custom xxx.ts2 (configuration file).

Out of the box you should then be able to run any t32 command. E.g.:

C:\T32\bin\windows64\t32rem.exe localhost port=20000 data.dump 100000

Replace "data.dump 100000" with anything T32 understands, e.g. "do pgm_my_flash.cmm"




回答2:


You can also use telnet to remote control the debugger. NETASSIST must be set.



来源:https://stackoverflow.com/questions/6895207/controlling-lauterbach-through-command-line

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!