完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
大家好,我在用Pickit 3编写dspic33fj128mc804 PIM时遇到了问题。到目前为止,我做了如下工作:(1)我用PK3创建了一个项目。(2)我连接了从PK3到PIM的下列管脚:PK3管脚1=/MCLR,PK3管脚2=VDD,PK3管脚3=GND,PK3管脚4=PGED3,PK3管脚5=PGEC3(有一个小三角形)。(3)我给PIM的pin2提供了独立的3.3V。(4)我还通过PGEC3/PGED3端口配置了处理器:#pragma config ICS=1//Program。VDD)。你必须连接到一个目标设备使用皮卡3。我在这里丢失了什么?有什么想法吗?任何小费都是值得赞赏的。当心。
以上来自于百度翻译 以下为原文 Hi guys, I am having problems in programming dspic33fj128mc804 PIM with Pickit 3. What I did so far is as follows: (1) I created a project with PK3. (2) I connected the following pins from PK3 to the PIM: PK3 pin1=/MCLR, PK3 pin2=VDD, PK3 pin3=GND, PK3 pin4=PGED3, PK3 pin5=PGEC3 (there is a little triangle on PK3 that tells me where pin1 is). (3) I supplied a separate 3.3V to the PIM's pin2. (4) I also configured the processor with: #pragma config ICS=1 // Program through PGEC3/PGED3 ports Now, I am getting the following message from mplabx: Target device was not found (could not detect target voltage VDD). You must connect to a target device to use PICkit 3. What am I missing here? Any ideas?? Any tip is appreciated. Take care. |
|
相关推荐
5个回答
|
|
所有这些#pragma配置对于编程来说根本不重要。如果您有AVdd和AVss,我应该已经提到连接它们。日志是否说它现在识别了设备ID?
以上来自于百度翻译 以下为原文 None of the #pragma configs matter at all for programming. I should have mentioned connecting up AVdd and AVss if you have them. Does the log say it recognised the device ID ok now? |
|
|
|
嗨,我从来没有使用过PIM,但这是当没有密码到PIKIT 3的PIN 2时出现的信息。我想你已经知道这就是为什么你尝试了一个单独的3.3V电源。骗子从目标引向3?所以,在拾音器3,针2&安培3之间是否存在3.3v的测量值。对于这个错误信息,我认为与编程、MCLR针或任何配置设置无关。这一切归结于引脚2和3之间的电压。我的意思是,如果你把拾音器3完全从电路上断开,并且通过引脚2&3提供3.3v,那么你会得到什么信息?也许试着用IPE看看是否有什么结果。可能来自工具的动力目标?考虑到
以上来自于百度翻译 以下为原文 Hi, I have never used a PIM, but that's the message that appears when there is no power to pin 2 of the pickit 3. I guess you know that already which is why you have tried a separate 3.3v supply. Crook lead from target to pickit 3? So, is there 3.3v measured between pin 2 & 3 directly at the pickit 3. For this error message, I don't think it matters about the programming or MCLR pins or any config settings. It all comes down to the voltage across pin 2 & 3. I mean if you disconnect the pickit 3 entirely from the circuit and supply 3.3v across pins 2 & 3, what message to you then get? Maybe try using IPE and see if that turns up anything. Power target from tool perhaps? regards Tim |
|
|
|
谢谢你的小费。我尝试了所有可能的方案。但是,如果PK3从3.3V电源断开,那么这就是我得到的:连接到MPLAB PICkit 3...当前在PICkit 3Firmware Suite Version...01.42.18Firmware type........dsPIC33F/24F/24HTarget设备上加载的固件(无法确定)CT目标电压VDD)。你必须连接到一个目标设备来使用皮卡3。因此,在前一个对话框中,PK3得到了电源。接下来,我想尝试一下PGEC1/PGED1端口,并更改配置,但是我现在认为它也没有意义。而且,我相信Vcap是用来平滑紧张的供应,而不是用于编程。
以上来自于百度翻译 以下为原文 Thanks for the tip. I tried all possible scenarios. However, if PK3 is disconnected from the 3.3V power source, this is what I get: Connecting to MPLAB PICkit 3... Currently loaded firmware on PICkit 3 Firmware Suite Version.....01.42.18 Firmware type..............dsPIC33F/24F/24H Target device was not found (could not detect target voltage VDD). You must connect to a target device to use PICkit 3. So, in the previous dialog, PK3 was getting the power source. I am tempted to try PGEC1/PGED1 ports next and change the config, but I am gathering at this point that it is also pointless. Also, I believe Vcap is for smoothing out jittery supplies, not to much for programming. |
|
|
|
值得一试。我记得有些设备有PGEC3/PGED3特有的差错。您不必改变配置来通过交替引脚编程,只需要通过那些引脚去调试。Vcap是芯片正确运行的VITAL。在电路编程中是使用设备内部的逻辑,所以这是VITAL的核心。直截了当地绕过。
以上来自于百度翻译 以下为原文 It's worth a try. I recall some devices having errata specific to the PGEC3/PGED3. You don't have to change the config to program throgh alternate pins, only to DEBUG through those pins. Vcap is VITAL for the chip to run correctly. In circuit programming is using logic inside the device, so it is VITAL that this is correctly bypassed. |
|
|
|
现在,我把所有的VDDS连接到3.3V和“全部”GND到0V,PK3可以对芯片进行编程。我当时只用“一个”VDD和“一个”GND端口将芯片连接到3.3V和0V,假设VDD可以为所有电路供电。但是,事实证明,除了AVDD、AVSS和VCAP之外,还需要连接“所有”VDDS和“所有”GND。你还需要在/MCLR和VDD之间加一个电阻(5K到10K之间),因为这个电阻器是上拉电阻。VCAP包括在PIM的PCB上,但是你需要给它的端子加VDD和GND。谢谢你们。
以上来自于百度翻译 以下为原文 Now, I connected "all" the VDDs to 3.3V and "all" GNDs to 0V, and PK3 can program the chip. I was using only "one" VDD and "one" GND port to connect the chip to 3.3V and 0V, assuming that VDD can power all the circuitry. But, it turns out you need to connect "all" VDDs and "all" GNDs besides AVDD, AVSS and VCAP. You also need to include a resistor (between 5K and 10K) between /MCLR and VDD as this resistor serves a pull-up resistor. VCAP is included on the PCB of the PIM, but you need to supply VDD and GND to its terminals. Thanks, guys. |
|
|
|
只有小组成员才能发言,加入小组>>
5129 浏览 9 评论
1984 浏览 8 评论
1914 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3151 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2212 浏览 5 评论
699浏览 1评论
587浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
469浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
604浏览 0评论
496浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-4 02:56 , Processed in 1.188847 second(s), Total 56, Slave 50 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号