完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
嗨,我使用的是SDCCTool.Plugin,除了一件事之外,一切似乎都工作得很好……我注意到,默认情况下,当我启用它并编译代码时,开发仪表板中的符号使用状态是禁用的;构建过程完成时没有错误,但随后显示error消息:程序文件无法加载:4所以我想知道在启用该特性时,是否有人知道为什么会发生这种情况,我使用符号使用量来告诉我使用了多少内存,以及有多少程序空间可用。圣人我会很高兴知道的。谢谢。
以上来自于百度翻译 以下为原文 Hi, I am using SDCC Toolchain Plugin and everything seems to work quite well, except for one thing... I noticed that the symbol usage status in the development dashboard is disabled by default, when I enable it and compile my code; the build process completes without errors but it then displays an error message: The program file could not be loaded: 4 So I was wondering if anyone figured out why this is occurring when enabling this feature, i use the symbol usage to tell me how much memory I have used and how much program space is available. If there is another alternative to obtain the symbol usage I will be happy to learn about it. Thanks. |
|
相关推荐
9个回答
|
|
它对于MeHTPSPS:/SNAG.GY/MT0ZE8JPGDO工作正常,您有最实际的SDCC插件(版本2.0.2)吗?
以上来自于百度翻译 以下为原文 It works just fine for me https://snag.gy/MT0ze8.jpg Do you have the most actual SDCC plugin (version 2.0.2)? |
|
|
|
您好,Jarin。您已经将我的Mplab X环境更新为v3.50,将SDCC工具链更新为v3.6.5。SDCC插件已经处于v2.0.2。我还发现,通过启用和禁用不同的代码片段,我从输出窗格中得到了不同的错误消息:无法加载程序文件:无法加载程序文件:无法加载程序文件:字符串索引超出范围:1
以上来自于百度翻译 以下为原文 Hi Jarin. Hi have updated my Mplab X Environment to v3.50 and the SDCC Tool-chain to v3.6.5. The SDCC Plugin was already at v2.0.2. What I also found was that by enabling and disabling different pieces of my code I get different error messages from the output pane: The program file could not be loaded: 4 The program file could not be loaded: null com.microchip.mplab.mdbcore.program.exceptions.ProgramFileProcessingException at com.microchip.mplab.mdbcore.program.processors.ProgramFileCoffDefault.InitializeCOFFReader(ProgramFileCoffDefault.java:418) [catch] at com.microchip.mplab.mdbcore.program.processors.ProgramFileCoffDefault.Load(ProgramFileCoffDefault.java:629) at com.microchip.mplab.mdbcore.program.processors.ProgramFileCoffDefault.LoadSymbols(ProgramFileCoffDefault.java:266) at com.microchip.mplab.mdbcore.loader.MCLoader.Load(MCLoader.java:329) at com.microchip.mplab.nbide.loader.MdbLoader$1.run(MdbLoader.java:43) at java.lang.Thread.run(Thread.java:745) The program file could not be loaded: String index out of range: 1 java.lang.StringIndexOutOfBoundsException: String index out of range: 1 at java.lang.String.charAt(String.java:658) at com.microchip.mplab.mdbcore.program.processors.CoffCommon.adjustPathForProject(CoffCommon.java:265) at com.microchip.mplab.mdbcore.program.processors.CoffCommon.getFileName(CoffCommon.java:317) at com.microchip.mplab.mdbcore.program.processors.CoffReaderC18v2.BuildSymbolTable(CoffReaderC18v2.java:154) [catch] at com.microchip.mplab.mdbcore.program.processors.ProgramFileCoffDefault.Load(ProgramFileCoffDefault.java:694) at com.microchip.mplab.mdbcore.program.processors.ProgramFileCoffDefault.LoadSymbols(ProgramFileCoffDefault.java:266) at com.microchip.mplab.mdbcore.loader.MCLoader.Load(MCLoader.java:329) at com.microchip.mplab.nbide.loader.MdbLoader$1.run(MdbLoader.java:43) at java.lang.Thread.run(Thread.java:745) |
|
|
|
如何向MPLAB X开发团队提交可能的bug报告?
以上来自于百度翻译 以下为原文 How do I submit a possible bug report to MPLAB X development team? |
|
|
|
|
|
|
|
MPLAB X Plugin页面状态为Community Contributed Plugin,因此可以向SDCC查询更新。SDCC工具链Community Contributed PluginVersion:2.0.2Date:6/20/16Source:Micro...PluginsHomepage:https://github.com/mc6pac/toolchainSDCChttp://sdcc.sourceforge.net/
以上来自于百度翻译 以下为原文 MPLAB X Plugin page states Community Contributed Plugin, so maybe check with SDCC for updates. SDCC Toolchain Community Contributed Plugin Version: 2.0.2 Date: 6/20/16 Source: Microchip Third Party Plugins Homepage: https://github.com/mc6pac/toolchainSDCC http://sdcc.sourceforge.net/ |
|
|
|
这不是SDCC插件错误。在我看来是sdcc/gputils工具链coff文件生成错误。如果您创建了简单的(或相同的)程序,请与MPLABX分开使用这个工具链编译它,并使用它的gpvc实用程序来预览coff结果,您会得到奇怪的节名。这就是我的情况。
以上来自于百度翻译 以下为原文 This isn't SDCC plugin error. In my opinion is sdcc/gputils toolchain coff file generation error. If you create simple (or the same one) program, compile it with this toolchain separatly from MPLABX and use its gpvc util to preview coff results you get strange section names. That is my case. Albert |
|
|
|
嗨,我现在正在处理SDCC插件。问题还在发生吗?你能给我详细介绍一下你的项目吗?在发布或调试模式下构建?你的目标是什么?问候,Patrick Hayes
以上来自于百度翻译 以下为原文 Hi. Im taking care of the SDCC plugin at the moment. Is the problem still happening? Can you give me a bit more details on your project? Building in Release or debug mode? What device are you targeting? Regards, Patrick Hayes |
|
|
|
嗨,我现在正在处理SDCC插件。从我看到的,它看起来好像MPLABX找不到你的“[outputfile.cof”。请确保它存在,并且像生成的.hex文件一样命名。
以上来自于百度翻译 以下为原文 Hi. Im taking care of the SDCC plugin at the moment. From what i can see, it looks like MPLABX can't find your "[outputfile].cof" Make sure it is present, and named like the .hex file produced. Regards, Patrick Hayes |
|
|
|
这看起来像是GPUTILLS V1.x的一个问题,特别是GPLink问题。V1.4.x工作正常。生成的COFF文件似乎无效。我已经报告了它的一个错误。Patrick Hayes,SDCC插件。
以上来自于百度翻译 以下为原文 Well, it looks like a problem with gputils v1.5.x - specificly a problem with gplink. v1.4.x works just fine. The generated COFF file seems invalid. I have reported a bug on it. Patrick Hayes, SDCC plugin. |
|
|
|
只有小组成员才能发言,加入小组>>
5189 浏览 9 评论
2009 浏览 8 评论
1933 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3181 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2232 浏览 5 评论
743浏览 1评论
629浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
512浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
642浏览 0评论
538浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-30 07:41 , Processed in 1.408570 second(s), Total 91, Slave 77 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号