完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
大家好,我正试着用MPLABX项目工作。处理这些问题,但现在我碰到了一个我无法解决的问题。该过程应该是编译项目(使用XC32),然后使用MdB.BAT加载输出到微芯片模拟器。然而,当运行它时,我会遇到异常,并且进程失败。有一个Ruby脚本运行调试器并传递一个文件,该文件包含在模拟器中运行的命令列表。为了帮助调试,我只是从Windows PuthS壳运行模拟器,然后手工输入每个命令。我得到完全相同的错误。以下是会话细节……PS C:\\\\\\Cudie\CeDeLun-PIC32-Malth\BuffuxBudioTest\Out.gt;设备PIC32 MX250F128B& gt;HWoToeSimExt在线程“thule-2”COM.MICCHIP.MPLAB.COM.MPLAbExExcExp:Socket不可用(已经使用,缺少权限,不存在)在COM.Microchip .MPLAB .COM.MPLABCOMUBSbMicro.Run(MPLACOMUBSbBasic.java:517)在Java.Lang.Tr.Run(线程.java:748)中由JavaLang.Null PoExtExeExchange在COM.Microchip .MPLAB .COM.MPLABCUMSCBUMList.Run(MPLabCubsBuffic.Java:502)…1 MunJun 01, 2018 8:56:10AM JavaUti.PREFS WinWOSPRIONCEL&LIT;init & gt警告:无法打开/创建根目录节点软件javaSoFTPREFS在ROOT 0x8000 00 2。Windows RegCreateKeyEx(…)返回错误代码5。重置SFRSReSET外围设备&微芯片,这意味着什么?我死在水里,直到我能得到命令行进入模拟器工作。
以上来自于百度翻译 以下为原文 Hello everyone, I'm trying to get ceedling to work with an MPLABX project. Working through the issues but now I've hit one that I can't solve. The process is supposed to be compiling the project (using XC32) and then loading the output into the Microchip simulator using MDB.bat. However, I get an exception when I run it and the process fails out. There a ruby script that runs the debugger and passes it a file that contains the list of commands to run in the simulator. To help debug, I simply ran the simulator from the Windows PowerShell and then hand-entered each command. I get the exact same error. Here is the session details.... PS C:UsersjamesDownloadsCeedling-PIC32-masterfirmwarebuildtestout> mdbMicrochip, what does that all mean? I'm dead in the water until I can get the command line access to the simulator working. James. |
|
相关推荐
6个回答
|
|
看到错误消息中的“权限不足”,我想也许我需要运行这个“管理员”吗?我在Windows 10上,不认为我提到过。所以我运行了PuthBek作为管理员,然后从那个数据库中运行MDB——同样的结果,我使用了下面的命令行,i i TykKy运行MDB作为AdMistReal:“开始进程MDB-动词Runas”——同样的结果,任何人都有其他的想法。在哪?詹姆斯。
以上来自于百度翻译 以下为原文 Seeing the "lack of permissions" in the error message, I was thinking that maybe I need to run this "as administrator"? I'm on Windows 10, don't think I mentioned that. So I ran powershell as administrator and then ran mdb from that -- same result Then I used the following command line which _I think_ runs mdb as admistrator: "Start-Process mdb -Verb runAS" -- same result Anyone have any other thoughts about what is going on? James. |
|
|
|
一个非常类似的问题被报告给其他软件:HTTPS://StaskOfFult.COM/Strus/16428098/GROOVY-HELDE-CULD-NOT-OPET-CREATE-PREF-ROOT-NODES,基本上没有添加注册表项的权限,并导致了问题。我手动添加了这里建议的密钥,但问题仍然存在。
以上来自于百度翻译 以下为原文 A very similar issue being reported for other software: https://stackoverflow.com/questions/16428098/groovy-shell-warning-could-not-open-create-prefs-root-node Basically, there weren't permissions to add a registry key and that caused the problem. I manually added the keys suggested here but the issue remains. |
|
|
|
把它关掉。我在上面的链接中添加了两个键。起初它没有改变。然后我重新启动,现在模拟器不会崩溃。因此,到下一步的测试驱动开发设置…杰姆斯。
以上来自于百度翻译 以下为原文 Just to close this off. I added both keys in the link in the post above. Initially it didn't change. I then rebooted and now the simulator doesn't crash. So on to the next step of the test-driven development setup.... James. |
|
|
|
如果我理解正确,你想从Ruby运行MbB.BAT?“HWoToSsim”不应该造成这个异常,也没有其他MDB用户报告这一点。你能直接从命令行调用MdB.BAT并从命令行执行两个命令(“设备PIC32 MX250F128B”和“HWoToSsim”)吗?如果它们工作,那么MDB和Ruby就以某种神秘的方式相互冲突。如果他们不工作,那么…嗯,我不知道什么!格林先生:
以上来自于百度翻译 以下为原文 If I understand correctly, you are attempting to run mdb.bat from ruby? "hwtool sim" should not be causing this exception, and no other mdb users are reporting this. Can you invoke mdb.bat directly from the command line and execute the two commands ("device PIC32MX250F128B" and "hwtool sim") from the command line? If they work then mdb and ruby are conflicting with each other in some mysterious way. If they don't work then ... well I don't know what! mr green: |
|
|
|
感谢论坛用户CurpPm的帮助,他提供了离线这个问题。
以上来自于百度翻译 以下为原文 And thanks to forum user crespum for the help he offered off-line for this issue.... |
|
|
|
乔治,我发布了跟进,按照你的建议去做。结果是模拟器因为Java权限问题而崩溃,我可以复制它,而不与CEDELLIN或任何我想把它放在一起的自动化相关。我已经记录了上面的解决方案…
以上来自于百度翻译 以下为原文 George, I posted followups, doing exactly what you suggested. And it turns out the simulator was crashing because of a Java permission issue and I could reproduce it without having anything to do with ceedling or any of the automation I am trying to put together. I've documented the solution above.... |
|
|
|
只有小组成员才能发言,加入小组>>
5250 浏览 9 评论
2037 浏览 8 评论
1958 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3219 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2266 浏览 5 评论
792浏览 1评论
682浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
615浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
686浏览 0评论
585浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-30 00:08 , Processed in 4.045072 second(s), Total 56, Slave 50 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号