完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
即使当我使用-mP标志告诉IPECMD只对程序内存进行编程时,它仍然设置配置位。它不允许我使用-OP标志来保存配置位。只有这样做才能拥有两个单独的十六进制文件,一个带有代码保护,另一个带有代码保护?像这样吗?我没有PIC16S的问题,只有PIC32
以上来自于百度翻译 以下为原文 Even when I use the -mP flag to tell IPECMD to only program program memory, it sets the config bits anyways.C:PIC32_ProgrammerDiscoverer2.0binDebug>java -jar ipecmd.jar -P32MX695F512L -TSJIT154910146 -e -C Selected Programming Tool Sno: JIT154910146 ***************************************************** Connecting to MPLAB REAL ICE... Currently loaded firmware on REAL ICE Firmware Suite Version.....01.43.35 Firmware type..............PIC32MX Target voltage detected Target device PIC32MX695F512L found. Device ID Revision = 0x54300053 Erasing... Erase successful Blank Checking... Blank check complete, device is blank. Operation Succeeded C:PIC32_ProgrammerDiscoverer2.0binDebug>java -jar ipecmd.jar -P32MX695F512L -TSJIT154910146 -mP -k -y -F"E:CTG2A_v2.0.5_2016-03-07Hex files 2016-02-12Hex files 2016-02-12ctg2aNETv2.1.3.HEX" Selected Programming Tool Sno: JIT154910146 ***************************************************** Connecting to MPLAB REAL ICE... Currently loaded firmware on REAL ICE Firmware Suite Version.....01.43.35 Firmware type..............PIC32MX Target voltage detected Target device PIC32MX695F512L found. Device ID Revision = 0x54300053 The following memory area(s) will be programmed: program memory: start address = 0x0, end address = 0x7ffff boot config memory configuration memory Programming... Programming/Verify complete REALICE Program Report 24-Aug-2016, 12:42:44 Device Type:PIC32MX695F512L Program Succeeded. REALICE Verify Report 24-Aug-2016, 12:42:44 Device Type:PIC32MX695F512L The following memory areas(s) will be verified: program memory: start address = 0x0, end address = 0x7ffff boot config memory configuration memory The device is code protected. The device is code protected. The device is code protected. Verify failed It won't let me preserve the config bits using the -OP flag either C:PIC32_ProgrammerDiscoverer2.0binDebug>java -jar ipecmd.jar -P32MX695F512L -TSJIT154910146 -m -OP0x1FC02FF0-0x1FC02FFF -k -y -F"E:CTG2A_v2.0.5_2016-03-07Hex files 2016-02-12Hex files 2016-02-12ctg2aNETv2.1.3.HEX" Value not in range [0x1d000000, 0x1d080000] Is the only way to do this to have two separate hex files, one with code protect off and with it on? Like so? C:PIC32_ProgrammerDiscoverer2.0binDebug>java -jar ipecmd.jar -P32MX695F512L -TSJIT154910146 -e -C Selected Programming Tool Sno: JIT154910146 ***************************************************** Connecting to MPLAB REAL ICE... Currently loaded firmware on REAL ICE Firmware Suite Version.....01.43.35 Firmware type..............PIC32MX Target voltage detected Target device PIC32MX695F512L found. Device ID Revision = 0x54300053 Erasing... Erase successful Blank Checking... Blank check complete, device is blank. Operation Succeeded C:PIC32_ProgrammerDiscoverer2.0binDebug>java -jar ipecmd.jar -P32MX695F512L -TSJIT154910146 -m -k -y -F"E:CTG2A_v2.0.5_2016-03-07Hex files 2016-02-12Hex files 2016-02-12ctg2aNETv2.1.3 w BL No CP.HEX" Selected Programming Tool Sno: JIT154910146 ***************************************************** Connecting to MPLAB REAL ICE... Currently loaded firmware on REAL ICE Firmware Suite Version.....01.43.35 Firmware type..............PIC32MX Target voltage detected Target device PIC32MX695F512L found. Device ID Revision = 0x54300053 The following memory area(s) will be programmed: program memory: start address = 0x0, end address = 0x7ffff boot config memory configuration memory Device Erased... Programming... Programming/Verify complete REALICE Program Report 24-Aug-2016, 12:54:21 Device Type:PIC32MX695F512L Program Succeeded. REALICE Verify Report 24-Aug-2016, 12:54:21 Device Type:PIC32MX695F512L The following memory areas(s) will be verified: program memory: start address = 0x0, end address = 0x7ffff boot config memory configuration memory Verification successful. Verify Succeeded. Checksum = F92C9D26 Operation Succeeded C:PIC32_ProgrammerDiscoverer2.0binDebug>java -jar ipecmd.jar -P32MX695F512L -TSJIT154910146 -mc -F"E:CTG2A_v2.0.5_2016-03-07Hex files 2016-02-12Hex files 2016-02-12ctg2aNETv2.1.3.HEX" Selected Programming Tool Sno: JIT154910146 ***************************************************** Connecting to MPLAB REAL ICE... Currently loaded firmware on REAL ICE Firmware Suite Version.....01.43.35 Firmware type..............PIC32MX Target voltage detected Target device PIC32MX695F512L found. Device ID Revision = 0x54300053 The following memory area(s) will be programmed: configuration memory Programming... Programming/Verify complete REALICE Program Report 24-Aug-2016, 12:55:42 Device Type:PIC32MX695F512L Program Succeeded. Operation Succeeded I don't have this problem with PIC16s only the PIC32 |
|
相关推荐
2个回答
|
|
它似乎对我来说很好。-MP开关程序只是程序内存。它既不擦除也不编程配置内存。你能解释一下你的用例吗?为什么你认为2个十六进制文件会对你有帮助?谢谢,Sudheer
以上来自于百度翻译 以下为原文 It seems to work fine for me. -MP switch programs only the program memory. It will neither erase nor program the configuration memory. Can you please explain your use case? Why do you think 2 hex files will help you? Thanks, Sudheer |
|
|
|
|
|
|
|
只有小组成员才能发言,加入小组>>
5244 浏览 9 评论
2035 浏览 8 评论
1955 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3214 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2261 浏览 5 评论
780浏览 1评论
676浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
602浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
684浏览 0评论
581浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-26 01:44 , Processed in 0.688239 second(s), Total 44, Slave 37 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号