完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
我有一些旧的项目使用原来的MCC。MCC V3似乎无法识别配置文件。有没有人知道如何让MCC V3加载旧文件?克雷格
以上来自于百度翻译 以下为原文 I have some older projects using the original MCC. MCC v3 doesn't seem to recognize the configuration files. Does any know how to get MCC v3 to load the old files? Tnx, Craig |
|
相关推荐
12个回答
|
|
我认为你不能,你可能得从头开始。
以上来自于百度翻译 以下为原文 I do not think you can. You may have to start over. |
|
|
|
这就是我要做的脑震荡。MP实验室的新版本不支持原来的MCC。这是一个PIC18F26K22项目,我只需要在设计中添加一条I/O线,而且日程紧凑。除了CC问题之外,这个项目还使用了在新编译器版本中不再支持的外围库。所以我需要留在XC8 V1.34上。幸运的是,我仍然安装了安装了旧CC的MP实验室3.26,所以我可以回到那个版本并完成这项工作。我有一个类似的问题,从PIC24FJ256GA110迁移到PIC24FJ1024GA610,而我花了大约一个星期的时间来转换所有的外围库。D工作。在这种情况下,我不得不升级,因为新的芯片不支持旧的编译器版本。Microchip在新版本的编译器和MP LabISS中放弃支持的策略变成了真正的痛苦!
以上来自于百度翻译 以下为原文 That was the concussion I was coming to. The new versions of MP Lab don't support the original MCC. This is a PIC18F26K22 project, I only need to add one I/O line to the design and the schedule is tight. In addition to the CC problem this project uses peripheral libraries that are no longer supported in the newer compiler releases. So I need to stay with XC8 v1.34 for that. Fortunately I still have MP Lab 3.26 installed which has the old CC installed, so I can go back to that version and get this done. I had a similar problem migrating from a PIC24FJ256GA110 to a PIC24FJ1024GA610 a while back and it took me about a week to get all of the peripheral libraries converted and working. In that case I had to upgrade as the new chip was not supported by the older compiler versions. Microchip's policy of dropping support in new versions of compilers and MP Lab is becoming a real pain! |
|
|
|
旧的编译器和旧的MPLAB版本都可以下载。外围库也可以作为一个单独的下载,可以安装在较新的编译器中。MCC是一个不同的问题。似乎有一个新版本将不再导入旧文件的点。
以上来自于百度翻译 以下为原文 The old compilers and old MPLab versions are all available for download. The peripheral libraries are also available as a separate download that can be installed in newer compilers. MCC is a different issue. There appears to be points where a new version will no longer import old files. |
|
|
|
好的,谢谢。我有XC8 V1.34和V1.41在MP实验室3.55可用。它编译和链接OK与1.34,但与1.41我得到错误(PLIB)。当我查看编译器目录下的包含时,我看到PLIB为1.34,而不是1.41。我可以复制这个目录吗?还是需要安装(路径等)?还是最好再下载一次?克雷格
以上来自于百度翻译 以下为原文 OK, thanks. I have XC8 v1.34 and v1.41 available under MP Lab 3.55. It compiles and links OK with 1.34 but with 1.41 I get errors (plib). When I look in the compiler directories under include, I see plib for 1.34 but not for 1.41. Can I just copy that directory over or does it need installations (paths, etc.)? Or is it best to download it again? Tnx, - Craig |
|
|
|
我不知道复印件是否行得通。你可以试试。但是安装是这样的。从找到的编译器下载同一个页面的库。请确保在安装过程中告诉您要安装的编译器。
以上来自于百度翻译 以下为原文 I don't know if a copy will work. You can try. But the install does. Download the libraries from the same page were you found the compilers. Make sure you tell it during install which compiler you wanted to install too. |
|
|
|
更新:我从网站上下载了PLIB包,并安装在XC8V1.41目录中。但是现在,我得到了其他错误:SWIMAN/EEPROM。C:115:警告:(1404)不受支持:不再支持WreWestByeEP例程。请使用MPLAB XMCC。SWMNE/EEPROM。C:118:警告:(1404)不支持:BuyYyEEP程序不再支持。请使用MPLAB XMCC。SWMNE/EEPROM。C:118:警告:(1404)不支持:BuyYyEEP程序不再支持。请使用MPLAB X MCC,看起来像是MP实验室3.26的另一次旅程…-克雷格
以上来自于百度翻译 以下为原文 Update: I downloaded the plib package from the website and installed it in the XC8 v1.41 directory. However now I get other errors like: SW_Main/eeprom.c:115: warning: (1404) unsupported: The Write_b_eep routine is no longer supported. Please use the MPLAB X MCC. SW_Main/eeprom.c:118: warning: (1404) unsupported: The Busy_eep routine is no longer supported. Please use the MPLAB X MCC. SW_Main/eeprom.c:118: warning: (1404) unsupported: The Busy_eep routine is no longer supported. Please use the MPLAB X MCC. Looks like another trip back to MP Lab 3.26... - Craig |
|
|
|
我认为您还需要检查链接器设置中的外围设备库。
以上来自于百度翻译 以下为原文 I think you also need to check use peripheral libraries in the linker settings |
|
|
|
显然,安装可以使用外围设备库。升级编译器的主要原因是调试模式中有一个非常奇怪的问题。在某些函数和文件中,调试器不识别本地变量,也不会在这些函数中观察断点。这是使用XC8 V1.34。我已经尝试了ICD 3和一个真正的冰。现在我通过将变量移到函数之外并声明它们是静态的,使变量成为全局变量。我试着在函数中使它们成为本地静态的,但没用。非常奇怪……因为我需要做一些编码,我现在就用V1.34。克雷格
以上来自于百度翻译 以下为原文 The installation apparently set the option to use the peripheral libraries as it is on. The main reason for wanting to upgrade compilers is that I have a very strange problem in debug mode. in some functions and files, the debugger does not recognize local variables nor will it observe breakpoints in those functions. The is using XC8 v1.34. I have tried with a ICD 3 and a Real ICE. For now I have made the variables global by moving them outside the function and declaring them static. I tried making them local static in the functions, but that didn't help. Very strange... As I need to get some coding done, I am living with this for now and using v1.34. - Craig |
|
|
|
这听起来更像是优化问题。添加NOP(),以确保你有一个断点目标。使用全局变量,或者声明变量为易失性。
以上来自于百度翻译 以下为原文 That sounds more like optimization issues. add nop(); to insure you have a break point target. use globals and or declare the variables as volatile. Remove the no ops an volatiles when you are done. |
|
|
|
是的,我同意。这可能是一个优化问题。我尝试了挥发性,静态和挥发性静态,但唯一的工作,我使他们全球。我提出了一个条件,这样我就可以编译任何一种方式。感谢NoP(克雷格)的提示,BTW,它需要大写:谢谢,-
以上来自于百度翻译 以下为原文 Yes, I agree. This is probably an optimization issue. I tried volatile, static and volatile static but the only thing that works I making them global. I put a conditional in so I can compile either way. Thanks for the tip on NOP(), BTW, it needs to be upper case :) Thanks, - Craig |
|
|
|
|
|
|
|
我会记住(希望),谢谢你的帮助!
以上来自于百度翻译 以下为原文 I will remember that (I hope). Thanks for the help! |
|
|
|
只有小组成员才能发言,加入小组>>
5248 浏览 9 评论
2037 浏览 8 评论
1957 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3218 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2265 浏览 5 评论
788浏览 1评论
679浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
608浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
685浏览 0评论
582浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-28 02:10 , Processed in 1.415211 second(s), Total 100, Slave 84 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号