通过命令行控制 trace32 [英] controlling trace32 via command line

查看:89
本文介绍了通过命令行控制 trace32的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须将单个输出文件一个一个地闪存到 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 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 ?

推荐答案

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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆