完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
|
背景:MPLAB X IDE V4.15,XC32 V2.05,和声V2.05,PIC32 MX430F064 H,PIC32 MX130F064 D。本周末我打算进行一些挖掘,但无法绕过它。我看到的是,上面的130F的Bootloader项目只使用7100字节的总程序内存,而430F使用10916字节。这种差异,至少在地图文件中看起来,来自一个标记为异常内存使用的区域。这个区域使用3652字节的内存。我的问题是我能通过一些设置和谐地关闭这个吗?我不执行/重写任何异常处理程序,而130F的引导加载程序在没有这一部分的情况下看起来是完美的。此外,两个项目在应用程序配置-Gt;异常处理和高级异常和错误处理下都具有相同的设置。
以上来自于百度翻译 以下为原文 Background: MPLAB X IDE v4.15, XC32 v2.05, HARMony v2.05, PIC32MX430F064H, PIC32MX130F064D. I meant to do some digging this weekend, but couldn't get around to it. What I'm seeing is that my bootloader project for the 130F above only uses 7100 bytes of total program memory, whereas the 430F uses 10,916 bytes. The discrepancy, at least looking in the map file, appears to come from an area labeled Exception-Memory Usage. That area uses 3,652 bytes of memory. My question is can I turn this off through some setting in Harmony? I don't implement/override any exception handlers and the bootloader for the 130F seems perfectly fine without this section. Additionally, both projects have the same settings under Application Configuration -> Exception Handling and Advanced Exception and Error Handling. |
|
相关推荐
1个回答
|
|
|
废弃我以前的帖子。130F有3K启动块,而430F有12K。对于前者,我锁定了启动块和程序Flash的第一个8K(BWP=ON和PWP=PWP8K)。这与映射文件保持一致,因为代码位于0x9d00,按每个KSGE0程序内存使用。这个引导加载程序对于我来说已经相当稳固了一段时间。跳到430F的引导加载程序中,如果我设置BWP= OFF,一切都会很好。然而,在读取地图文件之后,我所知道的整个Bootloader位于BootFlash:0x9FC01000和UP。所有这些都是由和声产生的,我没有接触任何LD文件。为什么我不能把BWP设置为ON?我能用另一个Bootloader来做它,我不喜欢把它丢掉。我可以张贴任何人需要看到。编辑:神圣的主,看起来有很多问题在勘误表。当我(希望)能把一切整理好的时候,我会停下来的。
以上来自于百度翻译 以下为原文 Scrap my previous post. The 130F has a 3K boot block, while the 430F has 12K. For the former, I locked down the boot block and the first 8K of program flash (BWP = ON and PWP = PWP8K). This jived with the map file, as the code was located starting at 0x9d000000 as per kseg0 Program-Memory Usage. This bootloader has been rock solid for me for quite some time. Jump to the bootloader for the 430F and everything will work fine IF I set BWP = OFF. However the entire bootloader to my knowledge, after perusing the map file, is located in bootflash: 0x9fc01000 and up. All of this was generated by Harmony and I've not touched any ld file. Why can't I set BWP to ON? I was able to do it with the other bootloader and I don't like the idea of leaving it off. I can post whatever anyone needs to see. Edit: Holy Lord, looks like there are quite a few issues in the errata. I'll stop back when I (hopefully) can get everything sorted. |
|
|
|
|
只有小组成员才能发言,加入小组>>
MPLAB X IDE V6.25版本怎么对bootloader和应用程序进行烧录
454 浏览 0 评论
5793 浏览 9 评论
2334 浏览 8 评论
2224 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3529 浏览 3 评论
1121浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
1094浏览 1评论
我是Microchip 的代理商,有PIC16F1829T-I/SS 技术问题可以咨询我,微信:A-chip-Ti
872浏览 1评论
MPLAB X IDE V6.25版本怎么对bootloader和应用程序进行烧录
460浏览 0评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-1 16:39 , Processed in 0.931006 second(s), Total 72, Slave 55 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
448