Microchip
直播中

王露

7年用户 175经验值
私信 关注
[问答]

如何处理新的xc32上的“dee_emulation_pic32”功能?

在XC32版本上没有安装XC32的PLIB,如果我不安装“PIC32遗留外围库”,如何处理这个问题?我应该包括哪些文件?如何在和谐中配置这个功能?错误信息:…Buff/dBG-WFC/Dea/DeIyMyTypP332。O:在函数“DATAEEIN”中:…/DeIyMyTracePIC32. C:310:未定义的引用“NVMELASHEPITS”…/DeIyMyTracePIC32. C:353:未定义的引用“NVMWrWord Word”…/DeIyMyTracePIC32. C:367:未定义的引用“NVMWr.WoWor”D'Bug/dBG-WFC/DeG/DeE/DeMytimePIC32 .O:在函数“DATAEEDRIGHT”中:…/DeIyMyTracePIC32. C:496:未定义的引用“NVMWrdEnWord”…/DeIyMyTracePIC32. C:499:未定义的引用“NVMWrWord Word”…/DeIyMyTracePIC32. C:520:未定义的引用“NVMWriteWord”

以上来自于百度翻译


      以下为原文

    There will no plib installed with xc32 on newer  xc32 version, if I don't install "PIC32 Legacy Peripheral Libraries", how to deal with this problem? Which files should I include?
How to configure this function on hARMony?

error infomation:

...
build/dbg-wfc/production/dee/dee_emulation_pic32.o: In function `DataEEInit':
.../dee_emulation_pic32.c:310: undefined reference to `NVMErasePage'
.../dee_emulation_pic32.c:353: undefined reference to `NVMWriteWord'
.../dee_emulation_pic32.c:367: undefined reference to `NVMWriteWord'
build/dbg-wfc/production/dee/dee_emulation_pic32.o: In function `DataEEWrite':
.../dee_emulation_pic32.c:496: undefined reference to `NVMWriteWord'
.../dee_emulation_pic32.c:499: undefined reference to `NVMWriteWord'
.../dee_emulation_pic32.c:520: undefined reference to `NVMWriteWord'

回帖(2)

魏紫瑜

2019-3-1 06:25:59
您好,MPLAB和谐有它自己的外围库,因此您不需要安装其他的。“遗产”库只适用于那些希望继续使用MLA或相关的独立应用程序的人,它们不在和谐中。这些仅适用于PIC32 MX。

以上来自于百度翻译


      以下为原文

    Hello,
 
MPLAB Harmony has its own peripheral libraries, and so you will not need to install the others.
 
The "legacy" libraries are only for those who wish to continue to use MLA or related stand-alone apps, which are outside of Harmony.  These are only available for PIC32MX.
举报

李铭鑫

2019-3-1 06:32:30
您好,您可以从C://程序文件/Microchip/XC32/V1.34/PIC32-LIbs/PurralAl/NVM/SoCube和包含文件从:C//程序文件/Microchip /XC32/V1.34/PIC32 LIbs/CopyDe/TurnalAl/NVM.HCOME导入到您自己的源代码目录和源代码库中,然后您需要所有代码。注意到,“DexIfMyTyPIC32”不容易移植到PIC32 MZ,更大的Flash页面大小,以及ECC内存保护,使得“DexyMyTimePIC32”可能需要重写。迈西尔

以上来自于百度翻译


      以下为原文

    Hi,
You may pick up source code from:
C:/Program Files/Microchip/xc32/v1.34/pic32-libs/peripheral/nvm/source
and the include file from:
C:/Program Files/Microchip/xc32/v1.34/pic32libs/include/peripheral/nvm.h
Copy into your own source code directory and source code repository,
then you have all code needed in the same place.
 
Note, that "dee_emulation_pic32" isn't easily ported to PIC32MZ,
the larger Flash Page size, and ECC memory protection, make that "dee_emulation_pic32" may need to be rewritten.
 
   Mysil
举报

更多回帖

发帖
×
20
完善资料,
赚取积分