完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
大家好,这是我第一次使用DSPIC,我有一个奇怪的问题,一个DSIC33 EP64 MC202。我建立了一个自定义板,我可以编程,但我不能调试DSPIC。我的HW配置是由一个24MHz的外部OSC。4K7电阻在MCLR,7UF在VCAP和I使用PGED2和PGEC2用于ICSP。MCC I配置:FoSC=120 MHz,PTG=禁用。有没有一些想法或暗示?提前感谢。
以上来自于百度翻译 以下为原文 Hi all, This is the first time I use a dsPIC I have a strange problem with a dsPIC33EP64MC202. I build a custom board and I can program but i Can't debug the dsPic. My HW configuration is composed by: an 24Mhz external osc. 4k7 resistor in MCLR, 7uF on Vcap and i use PGED2 and PGEC2 for ICSP. with MCC I configured : FOSC=120 MHz and PTG = disabled. Does some has some ideas or hints? Thanks in advance.. |
|
相关推荐
6个回答
|
|
你的保险丝设置是通过PGED2/PGEC2进行调试的吗?
以上来自于百度翻译 以下为原文 And your fuse settings are for debugging via PGED2/PGEC2 ? |
|
|
|
+1-配置设置对于编程不重要,但是调试是必需的。因为没有显示配置设置,所以我们必须断定您没有设置它。
以上来自于百度翻译 以下为原文 +1 That config setting doesn't matter for programming, but it is REQUIRED for debugging. As you did not show your config settings, we must conclude you have not set it. |
|
|
|
嗨,谢谢你给我答案,但是也许你们两个都对了:也许我在HW中连接了PGED3E PGEC3并把它设置成MCC的PGED2E PGEC2管脚。昨天当我完成电路时已经太迟了,经过一些电路更改,也许我错了MCC的设置。可能是真正的错误。今晚,我必须检查参数。
以上来自于百度翻译 以下为原文 Hi all thank's for answer to me, but maybe both of you have right: maybe I connected in HW the PGED3 e PGEC3 and set into MCC the PGED2 e PGEC2 pins. Yesterday when I finished the circuit it was too late, And after some circuital change, maybe I Wrong the setting of MCC. Im not sure, but probably This can be the real error. This evening, I must check the parameters. |
|
|
|
嗨,In MCC,可以设置配置位。确保你选择的ICSP配对与你的电子示意图相匹配。其他要点:你提到VCAP= 7UF。帽子看起来很奇怪,真的是7UF吗?Vcap是非常重要的4.7uf绝对最小(包括容差),并且必须是钽技术(低ESR),用于MCLR上拉,您可能想要增加到10K或更多。
以上来自于百度翻译 以下为原文 Hi, In MCC it is possible to set configuration bits. Make sure that the ICSP pair you select matches your electronic schematic. Other point : you mention Vcap = 7uF. It seems a very strange value for a cap is it really 7uF ? Vcap is very important 4.7uF absolute min (including tolerance) and must be tantalum technology (low ESR) For MCLR pull-up you may want to increase to 10K or more Regards |
|
|
|
如果不是调试引脚,第二个答案是振荡器。
以上来自于百度翻译 以下为原文 if it isn't the debug pins, the number two answer is the oscillator. |
|
|
|
钽帽传统上具有低可靠性和不短。在一系列的董事会倒闭之后,我很久没有使用过。有好的陶瓷,使用4.7uf(或左右)与100NF和100PF并行也有帮助。
以上来自于百度翻译 以下为原文 Tantalum caps have traditionally had low reliability and fail to a short. i have not used one in a LONG time after a slew of board failures. There are good ceramics and using a 4.7uF (or so) in parallel with 100nF and 100pF can also help. |
|
|
|
只有小组成员才能发言,加入小组>>
5231 浏览 9 评论
2026 浏览 8 评论
1950 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3200 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2253 浏览 5 评论
770浏览 1评论
658浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
587浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
668浏览 0评论
570浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-19 01:45 , Processed in 1.464567 second(s), Total 88, Slave 72 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号