完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
五个板,电源是好的(两个4.3V USB电源为IO和1.8V+/-CULL)。编辑-RISC指出它是4.5-5.5V芯片,在USB电源上移除二极管。无故障,当它试图开始运行。MCLR电路是好的(标题在MCU,系列120,10K/0.1UF RC)。PGC和PGD是非常投篮和信号好。程序和验证。20MHz XTAL是第一个嫌疑犯,所以我选择了FRC。所以,如果我有好的电源,我可以编程,配置比特选择正确的PIX-PrimaMac配置模块= PGD1//ICD通信信道选择位(在PGEC1和PGED1上通信)内部振荡器γ-PrAPMA配置FFNC=FRC//初始振荡器源选择位(内部快速RC(FRC))配置IESO=OF//双速振荡器启动位(带有用户选择的振荡器源的启动设备):PrimaMac配置,POSCMD=无/ /主振荡器模式选择位(主振荡器禁用),γ-PracMA配置OSCIOFNC=OF//OSC2 PIN I/O功能使能位(OSC2为时钟输出)一个板在Goto 0x200复位向量上假装停止。该板具有一个CAN XCVR、一个RS485 XCVR、一个FTDI FT230X和一对外部ADC,但是老实地说,除了MCLR、VCAP、VDD、PGC和PGD之外的每个其他引脚都可以被短路到地上,并且它应该运行直到它改变PIN ST为止。吃饭!
以上来自于百度翻译 以下为原文 Five boards, power is good (both 4.3V USB power for IO and the 1.8V+/- core. [edit - RISC points out it's a 4.5-5.5V chip, removed diode on USB power!] No glitch when it attempts to start running. MCLR circuit is good (header right at MCU, series 120, 10K/0.1uF RC). PGC and PGD are very shot and signals OK. Programs and verifies. 20MHz XTAL was the first suspect, so I selected FRC. So, if I have power good, I can program, config bits are chosing the right pins #pragma config ICS = PGD1 // ICD Communication Channel Select Bits (Communicate on PGEC1 and PGED1) Internal oscillator #pragma config FNOSC = FRC // Initial oscillator Source Selection Bits (Internal Fast RC (FRC)) #pragma config IESO = OFF // Two Speed Oscillator Start-Up Bit (Start up device with user selected oscillator source) #pragma config POSCMD = NONE // Primary Oscillator Mode Select Bits (Primary Oscillator disabled) #pragma config OSCIOFNC = OFF // OSC2 Pin I/O Function Enable Bit (OSC2 is clock output) The one board that pretends to start halts on the goto 0x200 reset vector. The board has a CAN XCVR, an RS485 XCVR, an FTDI FT230X, and a couple external ADC's, but honestly every other pin besides MCLR, VCAP, VDD, PGC, and PGD could be shorted to ground and it should run at lest until it changes PIN states! |
|
相关推荐
7个回答
|
|
嗨,你可以在生产模式编程你的DSPIC,但你不能调试?如果是的话,这意味着问题是在配置位中选择ICSP调试对:{ PrimaPrimaCigsIC= PGD1==& gt;是否使用ICSP的引脚6和7?如果您使用PGD2/C2或PGD3/C3引脚,则必须更改上面的“γ”语法配置,以匹配您的ICSP接口。
以上来自于百度翻译 以下为原文 Hi, So you can program your dsPIC in production mode but you cannot debug ? If so, it means that the issue is the selection of the ICSP debug pair in the configuration bits : #pragma config ICS = PGD1 ==> did you use the pins 6 and 7 for ICSP ? If you use PGD2/C2 or PGD3/C3 pins then you must change the #pragma config above to match your ICSP pins Regards |
|
|
|
RISC,不太骄傲,承认我曾经花了两天的错误,但这次不是。QFN,所以引脚2和3。我已经附加了局部的示意图和PCB。VCAP测量干净和毛刺自由。VDD引脚10。尝试MCLR有无帽,思维缓慢上升时间。削减时钟引脚,并使用FRC(编辑)下令DIP部分,将建立一个手电缆核心,以防有QFN EP连接问题。
以上来自于百度翻译 以下为原文 RISC, not too proud to admit that I once spent two days on that mistake, but not this time. QFN, so pins 2 & 3. I have attached the local part of the schematic and PCB. VCAP measured clean and glitch free. VDD pin 10 as well. Tried MCLR with and without the cap, thinking slow rise time. Cut the clock pins and used FRC. (edit) ordered DIP part and will build up a hand wired core in case there is a QFN EP connection issue. Attached Image(s) |
|
|
|
嗨,你确定…PGEC1=PIN 3和PGED1=PIN 4…BTW,我非常担心你的VDD(4.3V,可能更少?)这部分应该正常运行在4.5V到5.5V之间。我知道它说VDDmin=VBOR,但是……仔细阅读数据表页349:它说(注4):VDD应该上升到4.6V以上。看起来这可能不会发生在你的病例中,也说4.15V & lt;vbor & lt;4.4vNote 3表示Vbormin。VDD & lt;Vddmin(有点奇怪……)你能做以下的试验:试着用一个5V电源操作你的设计,看看调试是否有效。你可以重新张贴你的照片或者制作一个PDF吗?他们的决心太小了。
以上来自于百度翻译 以下为原文 Hi, Are you sure...PGEC1 = pin 3 and PGED1 = pin 4... BTW, I am very worried by your Vdd (4.3V and possibly less?)...this part should normally operate between 4.5V and 5.5V. I know that it says Vddmin = Vbor but...read very carefully the datasheet page 349 : it says that (note 4) : Vdd should rise above 4.6V. It seems this may not happen in your case It also says that 4.15V < Vbor < 4.4V Note 3 says Vbormin < Vdd < Vddmin (a bit strange this ...) Could you please make the following trial : try to operate your design from a 5V power supply and see if debug works. Can you please re-post your images or make a pdf. They are just too small resolution ;=) Regards |
|
|
|
我将测试5V不知何故,但我所有的容易来源是USB衍生。我有一个15W 5V供应另一个项目在这里某处。它不会让我张贴PDF之前。希望BMP更好。我确信PIN(Altudio图书馆贴纸),与数据表一致。我完全错过了电压规格这么紧。这肯定会解释很多,并阻止我在USB供电产品中使用这个芯片。
以上来自于百度翻译 以下为原文 I will test the 5V somehow, but all my easy sources are USB derived. i do have a 15W 5V supply for another project here somewhere. It would not let me post a pdf before. Hope the BMP are better. I am sure about the pins (Altium library decal, agrees with datasheets. I totally missed the voltage spec being so tight. That would certainly explain a lot and prevent me from using this chip in a USB powered product. |
|
|
|
|
|
|
|
如果你使用一个小型的3.3V LDO调节器,你可以使用任何一个DSPIC33 EP芯片而不是EV。
以上来自于百度翻译 以下为原文 If you use a small 3.3V LDO regulator, you can use any of the dsPIC33EP chips instead of EV. |
|
|
|
嗨,如果你真的需要一个5V的设计,那么也许可以实现一个升压转换器(MCP1640)?当做
以上来自于百度翻译 以下为原文 Hi, If you really need a 5V design, then maybe implement a boost converter (MCP1640) ? Regards |
|
|
|
只有小组成员才能发言,加入小组>>
5318 浏览 9 评论
2073 浏览 8 评论
1978 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3250 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2286 浏览 5 评论
831浏览 1评论
724浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
670浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
723浏览 0评论
619浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-2-1 12:10 , Processed in 1.231426 second(s), Total 88, Slave 72 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号