完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我是PIC产品使用的新手,我想知道如何在MPLAB中调试控制台消息?我可以创建一个简单的应用程序,选择调试主项目,它将成功编译程序并运行,但是我似乎看不到如何从工具中得到某种反馈……我有一个在USAT上的GSM调制解调器,所以我不能在那里使用串行,除非有其他地方。那么,如何建议我调试这个呢?什么工具或产品最能做到这一点…我无法想象在没有调试输出的情况下完成这个项目…谢谢。
以上来自于百度翻译 以下为原文 Im new to pic product use, i was wondering how to accomplish seeing console messages while debugging in MPLAB? I can create a simple application, select debug main project and it will successfully compile program and run, however i cannot seem to see how to get some sort of feedback from the tools... i have a GSM modem that is on the USART, so i cannot use serial there, unless there is another somewhere. So how is it recommend that i debug this? What tools or products would be best to accomplish this... I cant imagine finishing this project without some sort of debug output.. thanks. |
|
相关推荐
7个回答
|
|
谢谢你的回复。我不能用UART作为调制解调器在那里。但我需要的是能够写出价值观…评论等,当它运行…这是可能的吗?像STDRR和STDUT?谢谢,Greenie McGreen先生…
以上来自于百度翻译 以下为原文 thank you for your response. I cannot use the UART as a modem is there.. but what i need is to be able to write out values... comments etc while its running... is this possible? like stderr and stdout? thanks, Mr Greenie-McGreen... |
|
|
|
不,不在8位图片上。只能执行乔治描述的操作。
以上来自于百度翻译 以下为原文 No, not on 8 bit PICs. You can only do the actions that George described. |
|
|
|
我一直在看他们提供的测试代码,并且是基本的。似乎有一种方法使用PGC/PGD引脚作为串行输出调试器,这与UART/USAT不同吗?这在C中也有什么原因吗?其他陷阱?Snip SnpSNip谢谢大家…Greenie McGreenStink先生…
以上来自于百度翻译 以下为原文 Ive been looking at the test code they provided, and its in BASIC. It seems there is a way to use the PGC/PGD pins as a serial output debugger, thats different than the UART/USART? is there any reason this wont work in C also? other pitfalls? SNIP SNIP '* Set the port direction * TRISA = %10111111 TRISB = %00011101 LATB = 0 ADCON1 = %01111110 '* Set up the debug serial port * Declare Rsout_Pin PORTB.7 Declare Rsout_Mode True Declare Serial_Baud 9600 SNIP SNIP thanks everyone.. Mr Greenie McGreenStink... |
|
|
|
“他们”是谁?当然,你可以编写软件串行(=“BIT BUG”)代码来输出几乎任何PIN上的串行数据。你需要某种TTL串行接口来连接到PC,PK3不会这么做。
以上来自于百度翻译 以下为原文 Who is "they"? Of course you can write software serial (= "bit banging") code to output serial data on almost any pin. You will need some sort of TTL serial interface to connect that to a PC, the PK3 won't do it. |
|
|
|
“他们”是自称是无所不知的任务大师,他们每天都成功地混淆逻辑,试图强加一种内在无序的存在秩序。(读,…在我的客户的硬件团队重新:有点砰砰…好的,这就是我要找的…谢谢。
以上来自于百度翻译 以下为原文 "They" are the self declared omniscient task masters who succeed in confounding logic daily, in an attempt to impose order on an inherently disorderly existence. (read, ... the hardware team at my client) re: bit banging... Ok thats what i was looking for... thanks.. |
|
|
|
阿克!PGC/PGD属于挑食品。如果你想咬他们,皮卡会停止工作。(尽管可以在其他别针上敲击。)
以上来自于百度翻译 以下为原文 Ack! PGC/PGD belong to the PICkit. If you trying bit-banging on them the PICkit will stop working. (Feel free to bit bang on other pins though.) |
|
|
|
阿克!PGC/PGD属于挑食品。如果你想咬他们,皮卡会停止工作。(尽管可以在其他引脚上碰碰运气)如果芯片处于调试模式,那么PK3将继续工作,并且位敲击将失败,因为它不能控制引脚。
以上来自于百度翻译 以下为原文 Ack! PGC/PGD belong to the PICkit. If you trying bit-banging on them the PICkit will stop working. (Feel free to bit bang on other pins though.) If the chip is in debug mode, then the PK3 will keep working, and the bit-banging will simply fail because it cannot control the pins... |
|
|
|
只有小组成员才能发言,加入小组>>
5150 浏览 9 评论
1994 浏览 8 评论
1924 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3165 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2221 浏览 5 评论
716浏览 1评论
602浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
488浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
617浏览 0评论
515浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-15 02:14 , Processed in 1.157652 second(s), Total 90, Slave 74 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号