问题描述
我必须将单个输出文件一个一个地闪存到 mpc 控制器,而不是使用 GUI 我试图通过命令提示符自动执行此操作,我已经搜索并找到了此链接通过命令行控制劳特巴赫我尝试使用 C:\T32\demo\api\capi\test\t32rem.exe 中的演示,如答案所述,但我找不到答案中指定的 t32rem.exe任何人都可以帮我吗?
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 linkcontrolling lauterbach through command linei 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 answerCan anyone please help me ?
推荐答案
t32rem.exe 应该位于 C:\T32\bin\windows\t32rem.exe
t32rem.exe should be located at C:\T32\bin\windows\t32rem.exe
然而,为了在没有 GUI 的情况下对闪存进行编程,我建议使用 PRACTICE 脚本(*.cmm 文件)而不是使用远程 API.以 -s
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>
例如
C:\T32\bin\windows\t32mppc.exe -s C:\T32\myFlashScript.cmm
在您的脚本中使用 FLASH
命令并使用 QUIT
In your script use the FLASH
commands and close TRACE32 with QUIT <returncode>
这篇关于通过命令行控制 trace32的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!