controlling trace32 via command line

白昼怎懂夜的黑 提交于 2019-12-02 07:13:14

问题


I have to flash single output files one by one to mpc controller, instead of using the GUI i am trying to do it automatically via command prompt, i have searched and i found this link controlling lauterbach through command line i tried to use the demo in C:\T32\demo\api\capi\test\t32rem.exe like the answer says but i can not find the t32rem.exe specified in the answer Can anyone please help me ?


回答1:


t32rem.exe should be located at C:\T32\bin\windows\t32rem.exe

However for your goal of programming a flash without the GUI, I would recommend to use a PRACTICE script (*.cmm file) instead of using the remote API. Pass your PRACTICE script to your TRACE32 executable on start with -s <file>

E.g.

C:\T32\bin\windows\t32mppc.exe -s C:\T32\myFlashScript.cmm

In your script use the FLASH commands and close TRACE32 with QUIT <returncode>



来源:https://stackoverflow.com/questions/24883140/controlling-trace32-via-command-line

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