完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
亲爱的Microchip团队,我问如何在我的当前项目中添加自己的C文件,而他们在不同的文件夹中呢?添加H-文件不是问题,我在图片上这样做(C包括DRIs)。但是对于C文件,它不起作用,只是当我把所有的C文件添加到“源文件”文件夹中时,它才起作用,但我不想这么做,因为以后C文件的数量将是巨大的,我希望保持OrcIs。第二个问题是,我想使用PGD3和PGC3而不是PGD /C 1。要使用Pins,我只需要将配置文件中的ICS文件更改为PGD3,对吗?谢谢,亲切的问候。
以上来自于百度翻译 以下为原文 Dear Microchip Team, I am asking how to add own C-Files to my current project while they are in different folders? Adding H-Files was not a problem, I did like this on the picture (C include dirs). But for C-Files it doesnt work, it seems that it works only, when I add all C-Files into "source files" Folder but I dont want to do this because later the amount of C-Files will be huge and I wants to keep the organisation. The second question is, I want to use PGD3 and PGC3 instead of PGD/C 1. To use that Pins, I only have to change the ICS Files to PGD3 in the configuration bits, right? Thank you. Kind regards. Attached Image(s) |
|
相关推荐
9个回答
|
|
这是一个用户论坛。你和其他用户交谈,只是偶尔会有微芯片的员工。在那里,硬盘空间很便宜。我不会担心把所有东西放在一个文件夹里。你可以使用任何你想要的一对来进行编程。配置设置只影响将用于调试的一对。(显然,因为你必须能够编程芯片获得配置信息到它。)要知道,在大多数图片与多个编程引脚,所有的PGD引脚将切换在编程周期。在分配PIN时要注意这一点。
以上来自于百度翻译 以下为原文 This is a user forum. You're talking to other users, and only occasionally Microchip employees. Can't help there. Hard drive space is cheap. I wouldn't be so worried about putting everything in one folder. You can use any pair you want for programming. The CONFIG setting only affects which pair will be used for debugging. (Obviously, as you have to be able to program the chip to get the CONFIG information into it.) Be aware, on most PICs with multiple programming pins, all the PGD pins will be toggling during the programming cycle. Be aware of this when assigning your pins. |
|
|
|
|
|
|
|
嗨,为了创建MPLAB X项目,配置位,我建议您使用MICHCHIPDealEdvestWeb上的教程:http://MyCHIPCDeaveR.COM/特别是:http://MyCHIPCDeave/COM/TLS0101:StestReGARDS
以上来自于百度翻译 以下为原文 Hi, To create MPLAB X projects, configuration bits I suggest you use the tutorial on microchipdeveloper website : http://microchipdeveloper.com/ In particular : http://microchipdeveloper.com/tls0101:start Regards |
|
|
|
“注意,在大多数具有多个编程引脚的图形,所有的PGD引脚将在编程周期切换。在分配你的别针时要意识到这一点。“这是一个有趣的事实。
以上来自于百度翻译 以下为原文 "Be aware, on most PICs with multiple programming pins, all the PGD pins will be toggling during the programming cycle. Be aware of this when assigning your pins." That is an Interesting Fact! |
|
|
|
那么,你推荐什么呢?我应该使用默认的配对,比如PGC/D 1吗?
以上来自于百度翻译 以下为原文 So, What are you recommend for this? Should I use the default Pairs like PGC/D 1? |
|
|
|
建议使用适合你的设计的一双最好的。
以上来自于百度翻译 以下为原文 The recommendation is to use the pair that suits your design the best. |
|
|
|
我还有最后一个问题,因为我还不清楚。从一个闪闪发光的PIC微控制器(PIC24FJ128GA702),我可以在开始使用PGC/D 3个闪存引脚,并且在设置了配置之后,我可以使用调试器吗?其他未使用的PGC/D 1和2引脚可以用作GPIO或PPS引脚,对吗?
以上来自于百度翻译 以下为原文 i have one last question because its still unclear for me. From an unflashed PIC Mircocontroller (PIC24FJ128GA702), I can use at the beginning the PGC/D 3 Pins for Flashing and after setting the configbits, then I can use the debugger? Other unused PGC/D 1 and 2 Pins can be used as GPIO or PPS Pins right? |
|
|
|
|
|
|
|
在一个简单的情况复杂化的风险,下面可以应用:-你总是可以使用任何一对芯片编程(不要紧,如果芯片已被编程之前或不)-一个“发布”建设将不使用任何对(因为没有调试能力),所有的对可以使用您喜欢-Debug构建将使用CONFIG选项中指定的一对来调试目的,而其他对则可以使用,但您喜欢。苏珊
以上来自于百度翻译 以下为原文 At the risk of complicating a simple situation, the following can apply: - You can always use any pair to program a chip (it doesn't matter if the chip has been programmed before or not) - A 'Release' build will not use any pair (as there is no debugging capability) and all pairs can be used however you like - A 'Debug' build will use the pair specified in the config option for debugging purposes only and the other pairs can be used however you like. Susan |
|
|
|
只有小组成员才能发言,加入小组>>
5178 浏览 9 评论
2003 浏览 8 评论
1931 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3177 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2228 浏览 5 评论
737浏览 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-26 16:55 , Processed in 1.617684 second(s), Total 93, Slave 76 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号