完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我正在使用:MZ-EF启动器套件W/Cuto。MPLABX 4、和声2.04、XC32 1.44 HTTPNEti编译、加载并运行NETXWebJoServer演示。好的。然后,我从头开始了一个项目,从演示中复制了MHC设置,并尝试加载项目。获得以下错误:NbProj/MaFixIMP.MK:39:目标''.Buff-IMPL ''失败链接错误的配方:无法在0x990000大小的65536链接错误中分配节'nvMyMyaLaDea.NvMyMediaLaDATA:不能分配程序内存.如果我删除MPFSIMIG2.C文件,项目加载OK .如果我查错了NGE的NVM媒体开始地址到0x9D010000在MHC(驱动/ NVM),我得到同样的错误(为什么不在0x9D010000?)我错过了一些东西,有人有什么建议吗?
以上来自于百度翻译 以下为原文 I am using: MZ-EF Starter Kit w/crypto. MPLABX 4.00, HARMony 2.04, XC32 1.44 HTTP_NET I have compiled, loaded, and run the net_web_server demo. All OK. Then, I started a project from scratch, copied the MHC settings from the demo and tried to load the project. Got the following error: nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed Link Error: Could not allocate section '.NVM_MEDIA_DATA.NVM_MEDIA_DATA' at 0x9d000000 SIZE 65536 Link Error: Could not allocate program memory If I remove the mpfs_img2.c file, the project loads OK. If I change the NVM Media Start Address to 0x9D010000 in MHC (drivers/NVM), I get the same error (why not at 0x9D010000?). I am missing something here - does anyone have a suggestion where to look? |
|
相关推荐
2个回答
|
|
我把问题简化成一个简单的测试:1。使用PIC32 MZ2048 EFH144设备生成一个新项目-使用NVM驱动程序,设置NVM媒体启动地址=0x9d00,NVM媒体大小=64,启用擦除仪式功能,注册文件系统-系统服务/使用文件系统服务,微芯片文件系统-BSP配置,使用BSP= PIC32 MZ EF S塔特KIT2。MHC生成3。从“WebSythNETServer NVMMMPFS”演示项目4复制MPFSI.IMG2.C。生成主投影加载错误!更改NVM媒体启动地址=0x9D010000,负载错误消失。演示加载OK和这个简单的示例如何不?
以上来自于百度翻译 以下为原文 I reduced the problem to a simple test: 1. Generate a New Project with the PIC32MZ2048EFH144 device -Use NVM Driver, set NVM Media Start Address = 0x9D000000, NVM Media Size = 64, Enable Erase Rite Function, Register with File System - System Services/Use File System Service, Microchip File System - BSP Configuration, Use BSP = PIC32MZ EF Starter Kit 2. MHC Generate 3. Copy mpfs_img2.c from “web_net_server_nvm_mpfs” demo project 4. Build Main Project Load Error! Change NVM Media Start Address = 0x9D010000, and the load error goes away. How does the demo load OK and this simple example does not? |
|
|
|
更新:我在POST 1中发现了一个错误,因此0x9D010000的负载会加载,但不起作用,因为NVM媒体覆盖了那个位置的程序。在NVM媒体与程序不冲突的情况下,我必须不断增加加载起始地址。我使用的值是0x9D08000。虽然我可以破解负载,我想知道为什么和在哪里正确地修复它。黑客MHC使装载机工作不是一个好的解决方案。此外,演示项目为什么在0x990000中加载OK,而我的简单测试没有?有人吗?
以上来自于百度翻译 以下为原文 Update: I found an error in post #1, so that the load at 0x9d010000 does load but does not work because the NVM Media overlays the program at that location. I had to keep upping the load start address until the NVM Media did not conflict with the program. The value I used was 0x9D080000. Although I can hack the load, I would like to understand why and where to fix it correctly. Hacking MHC to make the loader work is not a good solution. Also, why does the demo project load OK at 0x9D000000 and my simple test does not? Anyone? |
|
|
|
只有小组成员才能发言,加入小组>>
5228 浏览 9 评论
2026 浏览 8 评论
1950 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3199 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2253 浏览 5 评论
770浏览 1评论
658浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
585浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
668浏览 0评论
570浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-18 13:24 , Processed in 1.185756 second(s), Total 79, Slave 62 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号