Microchip
直播中

李子跃

7年用户 200经验值
私信 关注
[问答]

IPE命令行(ipecmd)是否禁止日志文件?

嘿,所有,我现在把一个Windows批处理文件用于生产环境中,通过IPE命令行(iPECDM.jar)编程设备。我写的设备没有问题,但是每次运行命令时,我最终得到5个日志文件:Log.0Log.1Log.2MPLABxLog.XMLMPLABXLog.xML.LCKIs身体知道是否有一种方法来抑制这些日志?IPECM.HTM文件的自述文件似乎根本没有提到这些日志文件,更不用说如何抑制它们了。这可能是我们的生产机器的一个潜在问题,因为它们将从网络位置运行批处理文件,并且没有对这些批处理文件运行的目录的写权限。我想这会产生一个错误消息,虽然我还没有在一台生产机器上测试过。只要能压制它们就很理想了。如果有人有Em,欣赏任何技巧。

以上来自于百度翻译


      以下为原文

    Hey all,

I'm currently putting together a windows batch file for use in a production environment to program a device via the ipe command line (ipecmd.jar).

I'm writing the device no problem, but every time I run the command I end up with 5 log files:
log.0
log.1
log.2
MPLABXLog.xml
MPLABXLog.xml.lck

Is anybody aware if there is a way to suppress these logs?  The Readme for IPECMD.htm file doesn't seem to mention these log files at all, let alone how to suppress them.  This could be a potential issue with our production machines, as they will be running the batch file from a network location, and do not have write permissions for the directory from which these batch files will be run.  I would imagine this would throw an error message, although I haven't tested this on one of the production machines yet.  It would be ideal to just be able to suppress them.

Appreciate any tips/tricks if anyone out there has 'em.

回帖(3)

张兰英

2018-10-16 11:33:25
MPLAB IPE用户的引导HTTP://WW1.MICCHIP.COM/DeLoSs/En/DeVICEDC/OC02222C.PDFD提供了抑制日志文件的信息。这需要用户使用高级模式登录(设置-GT;高级模式,如用户指南的图2-5所示)。在高级模式下,设置部分给用户控件选择所需的消息日志记录级别(在诊断部分的表中提供的更多信息,用户指南的表2-6)。将日志记录级别设置为OFF会抑制日志文件。

以上来自于百度翻译


      以下为原文

    MPLAB IPE User's Guide http://ww1.microchip.com/downloads/en/DeviceDoc/50002227C.pdf provides information on suppressing the log files. This requires the user to log in using the Advanced Mode (Settings -> Advanced Mode, as shown in Figure 2-5 of the User's Guide). In Advanced Mode, the Settings section gives the user control to select the desired  message logging level (more information available in the section on Diagnostics, TABLE 2-6 of the User's Guide). Setting the logging level to OFF suppresses the log files.
举报

王雪

2018-10-16 11:49:06
嘿,谢谢!

以上来自于百度翻译


      以下为原文

    Hey, thanks!
举报

jf_69020935

2022-2-11 20:21:52
请问知道仅烧录qtp文件与hex文件命令怎么写?ipecmd  -Sa.num   -M  -HCS300  -Tppk3  每次都报缺少hex文件,可以之传num文件没有hex吗
举报

更多回帖

发帖
×
20
完善资料,
赚取积分