1
完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我试图用MDB自动化编程。大多数例子都在这样的文本文件中:“c:…MDB.BAT”& lt;pg.txtWe工作得很好。在我的PGM.TXT中,我使用以下命令:设备PIC32 MX795F512LHWORK-ICD3- pDeal. ./MyFr.HEX“QuthoWOWFEWO我试图制作一个通用的.BAT,它适用于任何HEX文件。这导致如下:(ECHO设备PIC32 MX795F512LCHO HWoToRT-ICD3- PECHO程序%1ECHORE退出)“C:…MDB.BAT”。在编程设备之后,“退出”命令永远不会执行,而我只剩下一个异常:“gt;& gt;线程中的异常”。“java. UtiL NouChelEngExpRebug:在Java.UTI.Scult.NestLoad(扫描仪.java:1540)在COM.Microchip .MPLAB。MDB.Debug命令。Mun.Run(main .java:163)在COM.M处找不到任何行。如果我省略了文件的PGM TXT版本中的“退出”命令,就会出现同样的异常。如果我把“退出”作为.BAT程序中的第一个命令,MDB将简单地显示一个空的“& gt”,表示输入被接受,但它不会退出。剩下的命令仍然执行。我尝试过的所有其他命令,不管我如何输入它(文本文件,从.BAT,手动输入),但退出命令似乎都被忽略了。有谁能解释一下为什么会这样?我目前正在运行MPLABX 3.15。
以上来自于百度翻译 以下为原文 I'm trying to automate programming using MDB. Most of the examples pipe in a text file like this: "C:...mdb.bat" < pgm.txtThis works fine. In my pgm.txt I use the following commands: device PIC32MX795F512LHowever I was trying to make a general .bat that would work for any hex file. This lead to the following: (This works as expected with one caveat. After programming the device the "quit" command never executes and I'm left with an exception: >This same exception will occur if I omit the "quit" command in the pgm.txt version of the file. If I put "quit" as the first command in the .bat program, MDB will simply show an empty ">" indicating that the input was accepted, but it won't quit. The rest of the commands still execute. Every other command that I've tried works no matter how I input it (text file, from a .bat, manual input), but the quit command seems like it's being ignored for some reason. Can anyone shed some light as to why that is? I'm currently running MPLABX 3.15. |
|
相关推荐
3个回答
|
|
谢谢你报告这个问题。这是MDB中的一个bug。首先我们不要考虑这种情况。我们正在努力解决这个问题,我们需要更多的测试来确保它确实解决了你提到的所有问题。既然我们已经为V4.20分支了,我们希望这个修复将在V4.20之后的版本版本中。
以上来自于百度翻译 以下为原文 Thank you for reporting this issue. This is a bug in MDB. We might not well consider this situation at the first place. We are working on the fix, and we need more tests to make sure it did fix all the issues you mentioned. Since we already branched for v4.20, we hope this fix will be in the release version that is after v4.20. |
|
|
|
|
|
|
|
看来MDB从“一般”.BAT文件中获得“退出”(结束一个空间)。当MDB处理命令时,它对输入字符串进行修整。但是,当它检查“退出”命令退出时,它不会修剪输入字符串以供比较。一旦我们解决了这个问题,这个异常就不再被抛出。正如我之前提到的,这个修复将在V4.20之后的版本版本中。
以上来自于百度翻译 以下为原文 It appears that MDB got "quit " (end with a space) for the "echo quit" from your general .bat file. When MDB processes the command, it trims the input string. But when it checks for "quit" command to quit, it doesn't trim the input string for the comparison. Once we fixed this issue, the exception was not thrown anymore. As I mention before, this fix will be in the release version that is after v4.20. |
|
|
|
只有小组成员才能发言,加入小组>>
5238 浏览 9 评论
2028 浏览 8 评论
1950 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3204 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2253 浏览 5 评论
778浏览 1评论
666浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
595浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
677浏览 0评论
576浏览 0评论
小黑屋| 手机版| Archiver| 德赢Vwin官网 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-23 06:10 , Processed in 1.448429 second(s), Total 81, Slave 65 queries .
Powered by 德赢Vwin官网 网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
德赢Vwin官网 观察
版权所有 © 湖南华秋数字科技有限公司
德赢Vwin官网 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号