完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
大家好,我有一个pickit 3,我使用PIC 8位单片机,如PIC16F877A、PIC18F4520、PIC18F45K80,以及一些较低范围的集成电路,如PIC16F676等。IDE:MPLABX编译器:XC8I读到PICKIT 3可以用于调试目的,但我想怎么办?我找不到任何文件来帮助我。我不能提供购买ICD 3或真正的冰,作为一个自我爱好者。我使用ARDUIO已经很久了,所以直到现在我都在使用PIC的UART来调试。但是我觉得这很耗时,最好的和有效的方法是什么。我希望我能执行以下调试1。显示存储在变量中的值,如ADC值…2。在执行程序时向变量写入一个值…谢谢
以上来自于百度翻译 以下为原文 Hi guys, I have a pickit 3 and I work with PIC 8-bit MCU's like PIC16F877A,PIC18F4520,PIC18F45K80 and also some lower range IC's like PIC16F676 etc.... IDE : MPLABX Compiler: XC8 I read that PICKIT 3 can be used for debugging purpose, but how am I suppose to do it? I cannot find any documentation to help me. I cannot offered to buy a ICD 3 or real ICE, being a self hobbyist. I have used Arduino for a long time now, so till now I am using USART of PIC for my debugging purpose. But I find it time consuming, what is the best and effective way to do this. I wish I can perform the following debugging 1. Display the value stored in a variable, like an ADC value....... 2. Write a value to a variable while the program is being executed .... Thanks in advance |
|
相关推荐
3个回答
|
|
HiBebe认为调试会占用一些Flash和RAM资源,而Pickit需要处理ICSPLK、ICSPDAT和MCLR线路。也不是所有的PICS都有调试硬件,例如PIC16F67没有。对于那个,您需要一个特殊的芯片,它以“DEB”的形式出现。UG报头“(161667的AC162052)。您将在这里找到相关文档。PARNONO=PG164130HIHESHOST
以上来自于百度翻译 以下为原文 Hi Bear in mind that debugging eats up some Flash and RAM resources and the Pickit will need to handle the ICSPCLK, ICSPDAT and MCLR lines. Also not all PICs have the debug hardware in place, for example the PIC16F676 doesn't. For that one you will need a special chip that comes in the form of a "debug header" (AC162052 for the 16F676). You wil find the relevant documentations here... http://www.microchip.com/DevelopmentTools/ProductDetails.aspx?PartNO=PG164130 HIH Best regards Jorge |
|
|
|
嗨,这就是为什么使用最新的PIC16F1XXX或PIC16F1YYY是非常有意义的,因为它们总是包括片上调试;=)外部报头不再需要;
以上来自于百度翻译 以下为原文 Hi, This is why it makes a lot of sense to use the latest PIC16F1xxx or PIC16F1yyyy because they always include on-chip debug ;=) External header is not anymore needed ;=) Regards |
|
|
|
嗨,原来海报上已经使用的40针PIC16F877A在芯片上有调试器硬件,可以使用MPLAB X(或8)和PICkit 3进行调试。PIC18设备也有通过两个针进行电路内调试(ICD)。这样只剩下PIC16F676不能自己调试。
以上来自于百度翻译 以下为原文 Hi, The 40 pin PIC16F877A that original poster is already using have debugger hardware on the chip, and may be debugged using MPLAB X (or 8) and PICkit 3. Also the PIC18 devices have In-Circuit Debug (ICD) via Two Pins. That leave only the PIC16F676 that cannot be debugged on it's own. Regards, Mysil |
|
|
|
只有小组成员才能发言,加入小组>>
5013 浏览 9 评论
1923 浏览 8 评论
1860 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3078 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2148 浏览 5 评论
582浏览 1评论
450浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
479浏览 0评论
378浏览 0评论
IPECMD命令烧录AVR128DA48芯片,报找不到芯片错误
863浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-8-23 09:21 , Processed in 1.146807 second(s), Total 53, Slave 46 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191