完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我正在测试H2.04,我发现我不能用MHC配置任何项目,并让它工作。我为构建和运行的PIC32 MZYEFST建立了MSDXBASIC演示。然后从头开始一个新项目,看看是否能使它工作。新项目PIC32 MZ2048 EFH144,BSP PIC32 MZYEFSTST.TH。是我打开的:1。时钟/ IO是由BSP 2设置的。USB接通,中断,函数MSD,LUN 0=NVM3。这将开启系统TMR,设备NVM。4。生成代码。这也将产生一个32 K的DISK图像。5。将USB汉德尔添加到App.h AppDATA结构。6。将USB事件处理程序添加到App.C(从MSDYBasic项目的App.c复制)7。更新App.c以预置USB手柄,并打开USB设备。(从MSDYBASIC项目的App.c复制)8。将LED重新映射为需要。构建和程序。构建良好,但在Windows 7系统上从不安装。这应该是一个简单的配置,但如何使它工作????那么,在工作之后,如何添加FS呢?????
以上来自于百度翻译 以下为原文 I am testing H2.04 and am finding that I can't get any project to be configured with MHC and have it work. I took the msd_basic demo for the PIC32MZ_EF_ST which builds and runs. Then I start a new project from scratch to see if I can get it to work. New Project, PIC32MZ2048EFH144, BSP PIC32MZ_EF_ST. This is what I turn on: 1. Clock / IO is setup by the BSP. 2. USB on, Interrupt, Function MSD, LUN 0 = NVM 3. This will turn on System TMR, Device NVM. 4. Generate code. This will also generate a diskimage of 32K as well. 5. Add USB Handel to app.h appData structure. 6. Add USB event handler to app.c (copy from app.c of msd_basic project) 7. update app.c to preset the USB handle, and to open the u*** device. (copy from app.c of msd_basic project) 8. Remap the LED's as required. build and program. Builds just fine but never mounts on the window 7 system. This should be a simple configuration, but how to I get it to work??? Then how do I add FS after it is working???? |
|
相关推荐
3个回答
|
|
我将MSDYBASIC项目复制到一个新目录。我确保它在PIC32 MZYEFSKSK上工作。然后我打开了2个客户机的FS。即使应用程序不访问FS,它也不会安装。
以上来自于百度翻译 以下为原文 I copied the MSD_BASIC project to a new directory. I made sure it would work on the PIC32MZ_EF_SK. Then I turned on the FS for 2 clients. Now it will not mount at all, even when the application does not access the FS. |
|
|
|
你已经在2小时内取得了很大的进步,做得很好。我认为,太糟糕的和谐不仅仅是更直观。
以上来自于百度翻译 以下为原文 You have made significant progress in 2 hours, well done. It is my opinion that it is too bad Harmony is not just a little more intuitive. |
|
|
|
当我意识到MSDYBASIC具有系统/FS/SysFS和已经包含的媒体时,我备份并取出FFS。问题是,它不适用于项目的应用层。如果在我的应用程序中包含“St/FS/SysFix.h”,我会得到错误。任何人都会得到MSD和Applica。两者都可以访问NVM或SPI存储器吗??
以上来自于百度翻译 以下为原文 I backed-up and took the FS out once I realized that the msd_basic has the system/fs/sys_fs and media already included. The problem is, it is not available to the application layer of the project. If I include the "system/fs/sys_fs.h" in my application I get errors. Anyone ever get the MSD and application to both have access to NVM or SPI memory?? |
|
|
|
只有小组成员才能发言,加入小组>>
5202 浏览 9 评论
2016 浏览 8 评论
1942 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3188 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2243 浏览 5 评论
753浏览 1评论
640浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
544浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
652浏览 0评论
552浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-4 06:51 , Processed in 1.324796 second(s), Total 80, Slave 64 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号