• 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
返回

电子发烧友 电子发烧友

  • 全文搜索
    • 全文搜索
    • 标题搜索
  • 全部时间
    • 全部时间
    • 1小时内
    • 1天内
    • 1周内
    • 1个月内
  • 默认排序
    • 默认排序
    • 按时间排序
  • 全部板块
    • 全部板块
大家还在搜
  • 基于DS402协议的伺服电机原点回零模式怎么实现?

    基于DS402协议的伺服电机原点回零模式怎么实现?

    2021-09-30 06:29

  • MPLAB X 3.45 MDB代码覆盖率Java错误

    信息:OS:Windows 10MPLAB X版本:V3.45 PIC:PIC24FJ64 GA204I一直试图让MDB工作在代码覆盖范围内,但遇到Java错误。请参阅下面的错误消息。我正在运行带有配置文件的MDB,下面也会显示。生成MPLAB X(使用模拟器的设置)中的CODECPLAGE输出似乎很好。我已经试着作为管理员运行,但结果相同。这是MDB中的一个bug,还是我在这里做了什么错事?错误消息:MDB命令 以上来自于百度翻译 以下为原文 Information:OS: Windows 10MPLAB X version: v3.45PIC: PIC24FJ64GA204 I've been trying to get the MDB working with code coverage, but ran into an Java error. See below for the error message.I'm running the MDB with an configuration file, also shown below. Generating the codecoverage output in MPLAB X (using the simulator's settings) seems to work just fine. I've already tried to run as administrator, but same result.Is this a bug in the MDB or am I doing something wrong here? Error message:Programming target...Resetting SFRsResetting peripheralsProgram succeeded.set codecoverage.enabled "Enabled/Reset on Run"set codecoverage.enableoutputtofile trueset codecoverage.outputfile "C:\Users\jdebruijn\Documents\GitHub\VSP\codecoverage.txt"ResetResetting SFRsResetting peripheralsSleep 1500RunRunningSleep 5000QuitSimulator haltedStop ataddress:0x1e40>E0108-SIM: Failed simulator operation: java.lang.NullPointerExceptioncom.microchip.mplab.mdbcore.simulator.Simulator.RunTarget(Simulator.java:342)com.microchip.mplab.mdbcore.debugger.MCDebugger$1.run(MCDebugger.java:352)java.lang.Thread.run(Thread.java:745)Exception in thread "Thread-5" java.lang.NullPointerExceptionat com.microchip.mplab.mdb.debugapi.CodeCoverageReport.GenerateReport(CodeCoverageReport.java:183)at com.microchip.mplab.mdb.debugapi.CodeCoverageReport.DoReport(CodeCoverageReport.java:123)at com.microchip.mplab.mdb.debugapi.CodeCoverageReport.access$000(CodeCoverageReport.java:36)at com.microchip.mplab.mdb.debugapi.CodeCoverageReport$1.run(CodeCoverageReport.java:71)at java.lang.Thread.run(Thread.java:745) MDB commands.txt:Device PIC24FJ64GA204Hwtool SIMset oscillator.frequency 8set oscillator.frequencyunit Megaset oscillator.rcfrequency 1set oscillator.rcfrequencyunit KiloSet uart1io.uartioenabled trueSet uart1io.output fileSet uart1io.outputfile "C:\Users\jdebruijn\Documents\GitHub\VSP\out.txt"Program "C:\Users\jdebruijn\Documents\GitHub\VSP\VSP.X\dist\default\production\VSP.X.production.hex"set codecoverage.enabled "Enabled/Reset on Run"set codecoverage.enableoutputtofile trueset codecoverage.outputfile "C:\Users\jdebruijn\Documents\GitHub\VSP\codecoverage.txt"ResetSleep 1500RunSleep 5000Quit

    2019-06-10 09:07