完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
大家好,我试图在“u***host_pic32mz_ec_sk”配置中使用引导加载程序basic的示例应用程序。设备被更改为PIC32 MZ1024EC144.2。配置位a.#pragma config ICESEL=ICS_PGx2 to ICS_PGx1 b.#pragma config FCKSM=CSDCMD to CSECME c.#pragma config FPLLMULT=MUL_50 to MUL_100 d.#pragma config UPLLFSEL=FREQ_24MHZ to FREQ_12MHZ//使用12Mhz晶体而不是24MHz3。为了避免在Bootloader_Tasks()中按BTL开关启用引导,一些行被注释,如图所示;情况BOOTLOADER_CHECK_._PROGRAM: {/*检查用户重置地址是否被擦除。*//if(0xFFFFFFFFFF===*(无符号int*)BOOTLOADER_RESET_ADDRESS) {bootloaderData.currentState=BOOTLOADER_OPEN_DATASTREAM; }//否则{/*用户重置地址不被擦除。启动程序。*//bootloaderData.currentState=BOOTLOADER_ENTER_.;}break;}在进行这些更改之后,我的引导加载程序应用程序状态没有超过BOOTLOADER_WAIT_._HOST_ENABLE。任何建议都是非常欢迎和感谢的。请注意:硬件与SD卡的MSDFATFAX多磁盘应用程序运行良好。所以我不认为有任何硬件配置问题。谢谢,SunilP。
以上来自于百度翻译 以下为原文 Hello guys, i am trying to using demo application of boot loader basic in "u***host_pic32mz_ec_sk" configuration. What changes i have done are: 1. Device is changed to PIC32MZ1024ECH144. 2. Configuration Bits a. #pragma config ICESEL = ICS_PGx2 to ICS_PGx1 b. #pragma config FCKSM = CSDCMD to CSECME c. #pragma config FPLLMULT = MUL_50 to MUL_100 d. #pragma config UPLLFSEL = FREQ_24MHZ to FREQ_12MHZ // to use 12 Mhz Crystal instead of 24 MHz 3. to avoid BTL switch press to enable bootlaoding in Bootloader_Tasks() some lines are commented as shown; case BOOTLOADER_CHECK_FOR_PROGRAM: { /* Check if the User reset address is erased. */ //if (0xFFFFFFFF == *(unsigned int *)BOOTLOADER_RESET_ADDRESS) { bootloaderData.currentState = BOOTLOADER_OPEN_DATASTREAM; } // else { /* User reset address is not erased. Start program. */ // bootloaderData.currentState = BOOTLOADER_ENTER_APPLICATION; } break; } After doing these changes my boot loader application state is not exceeding from BOOTLOADER_WAIT_FOR_HOST_ENABLE. Any suggestion will be most welcome and thankful. please do. Note : Hardware is working well with sdcard_msd_fat_multi_disk application. so i don't think there is any hardware configuration issue. Thanks & Regards, SunilP |
|
相关推荐
4个回答
|
|
跳过V1.09(或V2.01B)中的引导加载程序,我不确定V1.06工作得非常好。
以上来自于百度翻译 以下为原文 Skip to the Bootloader in V1.09 (or V2.01b) I am not sure V1.06 works very well. |
|
|
|
你好,NKurzman,谢谢你的建议,我尝试了V1.09,问题是一样的。问候,SunilP。
以上来自于百度翻译 以下为原文 Hello NKurzman thanks for your suggestion, i tried with V1.09 as well problem is same. Regards, SunilP |
|
|
|
我不确定这里的问题是什么,但是这将是一个很好的改变EFH的IDAE。
以上来自于百度翻译 以下为原文 I am not sure the ECH is is issue here. But it would be a good idae to change to the EFH |
|
|
|
嗨,我认为ECH不是问题的症结所在,因为与Harmony V1.06提供的u***主机和sdcard_multidisk示例应用程序一样,ECH也能很好地工作。我会转向EFH,但现在不能。问候,SunilP。
以上来自于百度翻译 以下为原文 Hi, I think ECH is not the issue for the problem, because same is working well with u*** host and sdcard_multidisk example applications provided with Harmony V1.06. I will switch to EFH but cannot now. Regards, SunilP |
|
|
|
只有小组成员才能发言,加入小组>>
5178 浏览 9 评论
2003 浏览 8 评论
1931 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3177 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2228 浏览 5 评论
738浏览 1评论
622浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
509浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
636浏览 0评论
533浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-27 07:19 , Processed in 1.167076 second(s), Total 82, Slave 66 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号