完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我用PICtiT3编程了一个16F87A的UART。所有的工作都很好,直到我断开了微芯片和程序员之间的通信电缆。在UART上不再有通信。似乎UART已经死了,直到我再次连接皮卡,al工作得很好。
以上来自于百度翻译 以下为原文 I programmed the UART of a 16f877a with pickit3. All works well till I disconnect the communication cable between the microchip and the programmer. There is no communication anymore over the UART. It seems the UART is dead till I connect the pickit again, al works fine then. |
|
相关推荐
17个回答
|
|
我已经在其他帖子里读到了。LVP不连接,MCLR在VCC上,具有10K电阻器,接地为OKEE。
以上来自于百度翻译 以下为原文 I read this in other post already. LVP is not connect, MCLR is on Vcc with a 10k resistor, ground is okee. |
|
|
|
|
|
|
|
好的:但是请交叉连接你的相关线程:http://www. McCys.com…/M101864 4.ASPX 1018644。
以上来自于百度翻译 以下为原文 good :) but please cross-connect your related threads: http://www.microchip.com/.../m1018644.aspx#1018644 |
|
|
|
HIU可能用调试构建程序来编程PIC,这取决于调试执行操作的拾取器和调试器。
以上来自于百度翻译 以下为原文 Hi You probably programmed the PIC with a debug build that depends on the pickit and the debugger for the debug executive operation. Reprogram it with a "release" build instead. Best regards Jorge |
|
|
|
亲爱的豪尔赫,PICTIT3 1页手册说:/*在调试模式下执行代码,通过选择Debug和Gt;调试项目执行调试运行。调试运行将生成项目,用图像编程目标并调试执行程序,并启动调试会话。或者在非调试(发布)模式下执行代码,执行由StuttRunun & Gt;运行项目运行。运行将构建项目,用图像编程目标并运行设备。在编程后保持设备处于复位状态,使用THORTROBLE中的HOLD IN重置图标,而不是使用RunProject。* /虽然菜单栏中不再有“Run”,但在IDE V4.01中被“生产”替换。在生产中,我根本找不到“Run”,以前的版本也一样。所以我使用绿色箭头“运行项目”按钮。在我读到的地方,这也是一个“释放”模式设置,或者这不是吗?另外,我在PIC的配置寄存器中设置了“调试”位。有点傻,因为我知道这是由编译器在选择调试模式按钮或释放模式按钮时完成的。所以我知道我使用的是发布模式而不是调试模式,是吗?最好的问候,Eduard。
以上来自于百度翻译 以下为原文 Dear Jorge, The PicKit3 1 page manual says: /* To execute your code in Debug mode, perform a debug run by selecting Debug>Debug Project. A debug run will build the project, program the target with the image and debug executive, and start a debug session. OR To execute your code in Non-Debug (release) mode, perform a run by selecting Run>Run Project. A run will build the project, program the target with the image and run the device. To hold a device in Reset after programming, use the Hold in Reset icon in the toolbar instead of using Run Project. */ Although there is no 'Run' in the menu bar anymore but is replaced by 'Production' in the IDE v4.01. Under production I can not find 'Run' at all, the same in previous versions. So I use the green arrowed 'RunProject' button. Somewhere I read this is also a 'release' mode setting, or is this not? Also I set the 'DEBUG' bit OFF in the Configuration register of the Pic. Bit silly because for what I know this is done by the compiler when you choose for a debug mode button or a release mode button. So for I know I did use the release mode and not a debug mode, did I? Best Regards, Eduard. |
|
|
|
亲爱的达里奥,我是这个论坛上的新人,你能告诉我如何进行交叉连接吗?这很容易,不是吗?考虑到
以上来自于百度翻译 以下为原文 Dear Dario, I am new on this forum, can you tell me how to make a cross-connection? It shall be easy, not? Regards Eduard |
|
|
|
一个很简单,只需从一个主题/帖子中抓取一个“PyMalink”并粘贴到另一个主题的帖子上,这样我们就可以跟踪与同一个用户/项目或问题相关的不同主题。
以上来自于百度翻译 以下为原文 Hi Hi That one is easy. Just grab a "permalink" from one topic/post and paste it on a post of the other topic. This way we can all track different topics related to the same user/project or issue. Just my 2 cents.... Best regards Jorge |
|
|
|
文档中所说的,调试时处理的调试位是由调试器处理的。当你编写一个发布版本时,PIC会接收你放入“CONFIG”语句中的任何内容,这就是为什么你需要在代码中显式地设置调试位。电气问题。地面质量,电源噪声等。想想任何电气条件,可能会受到影响的存在的皮卡硬件连接到您的电路。
以上来自于百度翻译 以下为原文 Hi Not exactly. What the documentation says is that when debugging the DEBUG bit is handled by the debugger. When you program a release build the PIC receives whatever you put in the "CONFIG" statements, that is why you need to explicitly set the DEBUG bit OFF in your code. Well, in that case get back to electrical issues. Ground quality, power supply noise, etc... Think of any electrical condition that can be affected by the presence of the pickit hardware connected to your circuit. Best regards Jorge |
|
|
|
我的钱是你忘了连接你的串行设备之间的地面,而你得到它免费当PK3连接。
以上来自于百度翻译 以下为原文 My money is on you forgetting to connect the ground between your serial devices, and you're getting it for free when the PK3 is connected. |
|
|
|
|
|
|
|
亲爱的QHB,我爱你,它的工作现在没有皮卡。”豪尔赫:你的权利我混淆了编译器和调试器。但是,如果您必须自己设置它,为什么调试位不在“设置配置位”下拉列表中?问题解决了,谢谢你们。爱德华。
以上来自于百度翻译 以下为原文 Dear qhb, I love you, it's working now without the PicKit. @ Jorge: Your right I mixed up compiler and debugger. But why is the DEBUG bit not in the 'Set Configuration bits' dropdown list if you have to set it yourself? problem solved Thank to you all. Eduard |
|
|
|
你并不孤单。我看到很多人犯了这个错误。你不必自己动手。你根本不应该碰那个位子,让工具管理它。
以上来自于百度翻译 以下为原文 You're not alone. I've seen plenty of people make that mistake. You do NOT have to set it yourself. You should NEVER touch that bit at all, let the tools manage it. |
|
|
|
我将在这里表示不同意。最好的建议是“不要在代码中设置调试位”。最安全的方法就是不引用它。
以上来自于百度翻译 以下为原文 I'm going to respectfully disagree here. The better advice is "Do not set the DEBUG bit to ON in your code." The safest way is simply not to refer to it all. |
|
|
|
Hii在这里会有不同的意见。更好的建议是“不要在代码中设置调试位”。最安全的方法就是不引用它。同意,这可能是OP无法在“下拉”中找到它的原因。不是每个人都做“MILIN点击”。我们有些人出生在“X”之前。顺便说一句,我不是一个“默认的信徒”。
以上来自于百度翻译 以下为原文 Hi I'm going to respectfully disagree here. The better advice is "Do not set the DEBUG bit to ON in your code." The safest way is simply not to refer to it all. Agreed, and it might be the reason that the OP can't find it in the "dropdown". Well not everybody does everything with the "milion clicks interface", and some of us were born well before the "X" thing. ;) BTW, I'm not exactly a "defaults believer". Best regards Jorge |
|
|
|
我的钱是你忘了连接你的串行设备之间的地面,而你得到它免费当PK3连接。晚安大家
以上来自于百度翻译 以下为原文 My money is on you forgetting to connect the ground between your serial devices, and you're getting it for free when the PK3 is connected. good night everybody |
|
|
|
达里奥的选择太多了。每个人都集中在调试模式之后,这就是为什么我插嘴。:)
以上来自于百度翻译 以下为原文 Too many options Dario. ;) Everyone concentrated on Debug mode after that, which is why I chimed in. :) |
|
|
|
你是对的,就像多任务的大脑一样,思维和书写太多了!
以上来自于百度翻译 以下为原文 You're right it's the f*ing female-like multitasking brain that thinks and writes too much (!) |
|
|
|
只有小组成员才能发言,加入小组>>
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 05:13 , Processed in 1.510312 second(s), Total 108, Slave 92 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号