完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
处理器:PIC32 MZ2048 ECG064 MPLABX:V3.65和声:V2Y03BI需要定制在BootHyror配置中选择如下的Bootloader:“使用Bootloader库”Bootloader类型“USAT”“构建Bootloader”?我需要定制它,因为我的应用程序需要完全不同的通信UART协议。我认为最好的办法是在“设备和项目配置”下选择“生成独立项目”,然后选择“项目配置”。我认为这是正确的方法。
以上来自于百度翻译 以下为原文 Processor: PIC32MZ2048ECG064 MPLABX: v3.65 HARMony: v2_03b I need to customize the bootloader created by selecting the following in the Harmony Framework Configuration: "Use Bootloader Library" Bootloader Type "USART" "Build a Bootloader?" I need to customize it because my application requires a completely different communication UART protocol. I figured the best way to do this was to select "Generate Standalone Project" under ""Device & Project Configuration" then "Project Configuration". I assume this is the proper way to do this? |
|
相关推荐
2个回答
|
|
回复我自己的帖子,这样我就可以把剩下的问题都包含进来。(它不会让我把下面的帖子放在“拒绝访问”的地方)这都是在下面的线程中安排的:HTTP://www. McCHIP.COM/FUMMS/M98937.ASPXI密切关注项目W中的文件布局。在做这个之前。在生成MHC之后,我看到与“Apple”文件夹相邻的“框架”文件夹不再存在,位于“框架”文件夹中的文件现在处于“StasyOnFig Debug 框架”文件夹之下。这是“头文件”和“源文件”的情况。我尝试编译Bootloader项目,现在有以前没有的编译错误。具体地说:在使用“生成独立项目”之后,我发现了下列与编译错误有关的线程:HTTP://www. McCHIP.COM/FUMMS/M954 27 .ASPXI临时更改了12月12日建议的项目编译器选项:XC32 GCC:未选中的“隔离一个区段中的每个函数”(ToTo)关闭函数段XC32 LD:未选中的“删除未使用的部分”(关掉GC部分),然后,在进行了清理和编译之后,我仍然得到编译错误(关于“DrviUsARTHARIONDECTION.H”)。有没有其他人遇到这个问题或有建议?
以上来自于百度翻译 以下为原文 Replying to my own post so that I can include the rest of my questions. (It won't let me put the following post without getting "Access Denied") This was all laid out in the following thread: http://www.microchip.com/forums/m948937.aspx I paid close attention to the layout of the files in the project window prior to doing this. After generating MHC, I see that the "framework" folder that was adjacent to the "apps" folder no longer exists and the files that were located in that "framework" folder are now under the "system_configdefaultframework" folder. This is the case for both the "Header Files" and the "Source Files". I tried compiling the bootloader project and now have compile errors I did not have before. Specifically: ../src/system_config/default/framework/driver/usart/drv_usart.h:56:35: fatal error: drv_usart_definitions.h: No such file or directory #include "drv_usart_definitions.h" I found the following thread related to compile errors after using "Generate Standalone Project": http://www.microchip.com/forums/m954278.aspx I temporarily changed the Project Compiler options suggested by twelve12pm: xc32-gcc: unchecked "Isolate each function in a section" (to turn off -ffunction-sections) xc32-ld: unchecked “Remove unused sections” (to turn off --gc-sections) Then, after doing a Clean and Compile, I still get the compile errors (on "drv_usart_definitions.h"). Has anyone else run into this or have suggestions? |
|
|
|
好的,我成功地把它建成了。我会告诉你我做了什么,如果你认为这是一个坏主意,让我知道。如果这是个好主意,也许其他人可以从中受益。有两个文件没有使我的项目成为一个“独立的”项目:“DrviUsARTARDh:“我复制了”DrviUsARTHARIX定义.h“文件位于ATC:Microchip HyralV2Y03BFraseStruts Unto到我的项目的 固件 SRCStReSysCyFig 默认框架驱动 USAT”文件夹。Microchip和谐 V2Y03BFraseDMA“到我的项目”固件 SRCStReSysCyFig “默认框架系统 DMA”文件夹。我认为这是可以的,因为项目被编译和链接。
以上来自于百度翻译 以下为原文 Ok, so I was able to get it to build successfully. I'll tell you all what I did, and if you think it's a bad idea, let me know. If it's a good idea, maybe someone else can benefit from it. There were two files that did NOT make it to my project when making it a "Stand Alone" project: “drv_usart_definitions.h” and “sys_dma_definitions.h” I copied the “drv_usart_definitions.h” file located at C:microchipharmonyv2_03bframeworkdriverusart to my project's "firmwaresrcsystem_configdefaultframeworkdriverusart" folder. I copied the “sys_dma_definitions.h” file located at "C:microchipharmonyv2_03bframeworksystemdma" to my project's "firmwaresrcsystem_configdefaultframeworksystemdma" folder. I assume this is OK because the project compiled and linked. |
|
|
|
只有小组成员才能发言,加入小组>>
5166 浏览 9 评论
2000 浏览 8 评论
1928 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3174 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2226 浏览 5 评论
734浏览 1评论
615浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
506浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
631浏览 0评论
528浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-25 00:22 , Processed in 1.331026 second(s), Total 80, Slave 64 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号