完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我试图在一个示例中将MCU从给定的PIC32MM0256GPM064更改为PIC32MX250f128D。原始示例进行编译,但当我按照指令将项目MCU更改为所需的MCU,然后编译项目时,它无法编译。我注意到USB h文件包含一个USB_hal_pic32mm.h文件,但是我在MLA目录V2016_11_07中找不到一个等价的USB_hal_pic32mx.h文件。问题是MLA是否支持PIC32MX系列?
以上来自于百度翻译 以下为原文 I am trying to change the MCU in one of the examples from the given PIC32MM0256GPM064 to a PIC32MX250f128D. The original example compiles but when I follow the instruction for changing the projects MCU to the required one and then compiling the project it fails to compile. One thing I have noticed is that the USB h file includes a USB_hal_pic32mm.h file but I cannot find an equivalent USB_hal_pic32mx.h file in the MLA directory V2016_11_07. The question is does the MLA support the PIC32MX family? |
|
相关推荐
3个回答
|
|
嗨,抱歉,我想简单的答案是不。答案在《微芯片库应用发布说明》v2016-11-07中,._notes_mla.htmm中声明其中的USB代码只覆盖PIC32MM。在MLA重写开始之前,MLA中有许多用于USB的示例代码,以及一个l大约在2013年,其他应用程序和框架库都发生了变化,并且MLA被宣布对PIC32MX设备已经过时。您可以回到MLA版本v2013-06-15,它现在被称为“当前遗留MLA”,这本身就是一个矛盾。您可以尝试使用Micro.Code Configurator MCC,该MCC现在覆盖了MX1xx、MX2xx、MX3xx和MX4x家族中的多个PIC32设备,除了PIC32MM.MCC本身不提供所有内容之外,MCC还依赖MLA来通信。通信堆栈,比如您正在尝试使用的USB。在我看来,PIC32MM的MCC与PIC24和dsPIC33的关系比与PIC32MX的关系更密切。因此,移植一个在PIC32MX250上运行PIC32MM的示例可能会遇到一些困难。MCC扩展了它们支持的设备的选择,以及libr。每个新版本都使用白羊座。MCC的发布说明是几个文档,并不总是容易找到正确的。
以上来自于百度翻译 以下为原文 Hi, Sorry, I think the simple answer is No. The answer is in Release Notes for Microchip Libraries for Applications v2016-11-07, release_notes_mla.htm which state that USB code in there cover PIC32MM only. There was a lot of example code for USB in MLA before a rewrite of MLA started, together with a lot of other application and framework library changes, around 2013, and MLA was declared obsolete for PIC32MX devices. You may go back to MLA version v2013-06-15 which is now called 'Current Legacy MLA', which is a contradiction in itself. http://www.microchip.com/mplab/microchip-libraries-for-applications/mla-legacy You may try with Microchip Code Configurator MCC which now cover a number of PIC32 devices in MX1xx, MX2xx, MX3xx and MX4xx families, in addition to PIC32MM. MCC do not provide everything by itself, MCC rely on MLA for communication stacks, like USB that you are trying to use. It seem to me, that MCC for PIC32MM is related more to PIC24 and dsPIC33, than to PIC32MX. so there might be some catch in porting an example working for PIC32MM to run on PIC32MX250. MCC expand the selection of devices they support, and the libraries used, with each new release. Release notes for MCC is several documents, and not always easy to find the correct one. Regards, Mysil 'Absolutum Obsoletum - when it works, it's out of date.' by Stafford Beer |
|
|
|
谢谢您的回复,我会看一下。我想现在的问题是,为PIC32MX开发USB HID代码的最佳方法是什么?大家推荐什么?
以上来自于百度翻译 以下为原文 Thanks for your replies I shall have a look at that. I suppose the question now is what is the best way to develop USB HID code for PIC32MX? What does everyone recommend? |
|
|
|
“对不起,我认为简单的答案是否定的。”这将假定答案是简单的。MLA确实支持PIC32 MX。但是他们试图将每个人推向和谐。如果在当前的MLA工作中不支持旧的版本。但是如果你有一个更新的MX PIC,那么它可能不被支持。你也需要传统的外围库。(并且检查它是否支持你的PIC)注意到和声USB确实起作用,但我假设它更大。
以上来自于百度翻译 以下为原文 "Sorry, I think the simple answer is No." That would assume the Answer was simple. MLA did support the PIC32MX. But they are trying to push everyone to Harmony. If it is Not Supported in a current MLA work backwards older versions do. But if you have a Newer MX PIC then it may not be supported. You would need the Legacy Peripheral Libraries too. (and check if it supports your PIC) Note that The Harmony USB does work, but I would assume is larger. |
|
|
|
只有小组成员才能发言,加入小组>>
5368 浏览 9 评论
2100 浏览 8 评论
2004 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3277 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2312 浏览 5 评论
879浏览 1评论
767浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
706浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
764浏览 0评论
653浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-3-6 02:38 , Processed in 1.577041 second(s), Total 79, Slave 63 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191