完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
您好,我有一个现有的项目,我用18F2550,由于限制,我决定走一步从8位到16位内存寻址,我决定使用“PIC24FJ64 GBB22T-I/SS SMD”,但我还没有实现编程的MPU,因为我不断得到“目标设备ID(0x0)是一个D设备ID。请检查使用MPLABX-IDE V3.61和PACKIT3与固件套件版本01.4818和18F2550的MePLAB IPE V2.00的Error AM的连接,并使用MPLAB IPE V2.00开始使用PIC24FJ64 GB00 2,它正在获得“目标设备”。ID(0x0)与预期的设备ID不匹配……“用MPLAB IDE V2.00内置程序员,我得到了同样的结果。我怀疑可能是用PICtiT3固件出错了,我安装了最新版本的MPLAB XIDE(V3.61),但是只有SeaEi是从我的目标DeVi得到的。CE ID(0x0)与预期的设备ID不匹配。“to”目标设备ID(0x0)是无效的设备ID。请检查您与目标设备的连接。“我阅读数据表和Flash编程指南,并根据指南讲述电路、上拉电阻、去耦电容建立电路。但是结果是一样的,有没有人用PICTIT3编程实现PIC24FJ64 GB9002T-I/SS SMD?如果是这样的话,请给出编程电路,请帮助您感谢巴里斯
以上来自于百度翻译 以下为原文 Hello, I have existing project that I made with 18F2550, due to RAM limitations I decided to go one step up from 8 bit to 16 bit memory addressing, I decided to use "PIC24FJ64GB002T-I/SS SMD" but I have not achieved to program that MPU yet, because I constantly get "Target Device ID (0x0) is an Invalid Device ID. Please check your connections to the Target Device" error I am using MPLABX-IDE v3.61 and pickit3 with Firmware Suite Version 01.48.18 with 18F2550 I was using MPLAB IPE v2.00 and everthing was going well, I started to use PIC24FJ64GB002 with MPLAB IPE v2.00, it was getting "Target Device ID (0x0) does not match expected Device ID .....", with MPLAB IDE v2.00 builtin programmer I got same result. I suspected that may be something goes wrong with pickit3 firmware and I installed lastest version of MPLAB X IDE (v3.61) but only change was with message what I constantly get like from "Target Device ID (0x0) does not match expected Device ID ....." to "Target Device ID (0x0) is an Invalid Device ID. Please check your connections to the Target Device" I read datasheet and flash programming guide and set up circuit according to what guide tells about circuit, pullup resistors, decoupling capacitors but result is same, has anyone achieved to program PIC24FJ64GB002T-I/SS SMD with pickit3? if so please give programming circuit out somehow please help Thank you Regards Baris |
|
相关推荐
19个回答
|
|
|
我们在使用PICTIT3编程PIC24FJ1025GB610和PIC24FJ256GB206时也有类似的经验。我们的PICTIT3将与PIC18F450、PIC16F87和其他8位控制器的工作良好。我们怀疑PICTIT3电平移位器U8、U9、U11已经损坏。取代它们并没有解决这个问题。去除ESD保护器件Tr1、Tr2、Tr3确实使我们的PICTIT3工作。这是一个黑客攻击。去除ESD保护部件不是一个好主意,但现在它在工作。&编辑和改正EDS ESD的错误类型,ESD是静电放电的缩写,在这种情况下,它被用来描述5伏齐纳二极管,用来保护连接到IN CIR的PIXIT3 I/O引脚。目标设备串行编程接口。
以上来自于百度翻译 以下为原文 We have had a similar experience using the PICkit3 when programming the PIC24FJ1025GB610 and the PIC24FJ256GB206. Our PICkit3 would work fine with PIC18F4550, PIC16F887 and others of the older 8-bit controllers. We suspected that the PICkit3 level shifters U8,U9,U11 had been damaged. Replacing them did not fix this. Removing the ESD protection devices TR1,TR2,TR3 did get our PICkit3 working. This is a hack. It's not a good idea to remove the ESD protection parts but for now it's working. Corrected typo of EDS to ESD. ESD is an acronym for Electro-Static-Discharge and in this context it is used to describe the 5 volt Zener diodes used to protect the PICkit3 I/O pins that connect to the In-Circuit-Serial-Programming interface of the target device. |
|
|
|
|
|
在VCAP引脚(10μF,6.3 V或更大,陶瓷或钽)上是否有适当的电容值和类型?
以上来自于百度翻译 以下为原文 Do you have the proper value and type of capacitor on the VCAP pin (10 µF, 6.3 V or greater, ceramic or tantalum)? |
|
|
|
|
|
鲍伯,我用钽10uf 16V电容器,100NF陶瓷为228 27(VDD,VSS)和13-8(VDD,VSS)引脚,10K和470个上拉电阻器用于MCLR,由PikIt自身供电,3.25个奇怪的事情是,当消息出现在屏幕上时,我测量VDD上的电压为3.13V,MCLR为3.09V,但我不能。当PICTIT3试图使MPU出错时,PGEC上的电压和PGED大于0.01~0.02V。在我看来,PICTIT3从来没有试图实现MPU,并且抛出了错误消息,说明MCLR和电阻器和PICTIT3之间的距离尽可能低,这是B。其中一个问题,但我不认为它的主要是1138,你是什么意思“EDS保护装置Tr1,Tr2,Tr3”?这些是放大器、调节器或类似的皮卡3?谢谢你
以上来自于百度翻译 以下为原文 Bob, I used tantalum 10uF 16V capacitor, 100nF ceramic for 28-27 (Vdd,Vss) and 13-8 (Vdd,Vss) pins, 10k and 470 pull-up resistors for MCLR, Powered by Pickit itself with 3.25 V Strange thing is that when message appears on screen, I measure voltage on Vdd is 3.13V and on MCLR is 3.09V but I could not measure voltage on PGEC and PGED above 0.01-0.02 V, when Pickit3 is trying to realize the MPU before error message appears. It seems to me, Pickit3 never tries to realize MPU and throws an error message Datasheet mentions that the distance between MCLR and resistors and Pickit3 as low as it can, this can be one of the problem but I don't think its main one Dan1138, what do you mean by "EDS protection devices TR1,TR2,TR3"? these are some sort of Amplifiers, Regulators or something like that on Pickit3? Thank you Regards Baris |
|
|
|
|
|
我是否正确理解MCLR上有一个470欧姆上拉电阻?你可能想看看PIC24F好奇心DEV板的原理图。在DOC中有一个示意图,它显示了ICSP的正确连接。它与PICTIT3一起工作,没有任何修改。史提夫
以上来自于百度翻译 以下为原文 Did I understand it correctly that you have a 470 Ohm pull-up resistor on MCLR? You might want to take a look at the schematic of the PIC24F Curiosity Dev board. There's a schematic in the doc which shows the proper connections for ICSP. It works with PicKit3 without any modification. Steve |
|
|
|
|
|
史提夫,我把它们连接起来就像“PIC24FJ64 GA1/GB0系列闪存编程规范”图2-2和“PIC24FJ64 GBB4族数据表”推荐的最小连接图2-1当电路连接如图所示时,我测量VCAP/VDDCORM引脚0 V(而VDD仍为3.13V,MCLR为3)。09V),我尝试了470欧姆,没有变化的两个MPU ANDI得到了相同的结果。IDO不认为我应该把它们都烧掉。我怀疑PICTIT3固件,“与MCLRpin相关的任何组件都应该放在PIN的0.25英寸(6毫米)内。”在“PIC24FJ64 GBB4系列数据表”中提到“2.3主清除(MCLR)PIN SECTIONI尝试了其他所有的东西。这两件事还有其他建议吗?是否有任何文件如故障排除指南谢谢
以上来自于百度翻译 以下为原文 Steve, I connected them like "PIC24FJ64GA1/GB0 Families Flash Programming Specification" figure 2-2 and "PIC24FJ64GB004 Family Data Sheet" recommended minimum connnections figure 2-1 when circuit connections are as figures show, i measure Vcap/VddCore pin 0 V (while still Vdd is 3.13V and on MCLR is 3.09V), I tried that without 470 ohm, nothing has changed I have two MPU and I got same result with these two. I do not think I could have burned both of them out. I am suspecting PicKit3 firmware and "Any components associated with the MCLRpin should be placed within 0.25 inch (6 mm) of the pin." is mentioned in "PIC24FJ64GB004 Family Data Sheet" 2.3 Master Clear (MCLR) Pin section I tried everything other than these two things Any other suggestions? Is there any document like troubleshooting guide Thank you Regards |
|
|
|
|
|
|
|
|
|
|
|
嗨,你能确认你在VCAP/VDDCARE(PIN 20)上放了10UF吗?10VF对于VDD不是必需的,但是对于VDDCORE(请参阅数据表中的第26.2节),它是强制稳定PIC24核心的内部调节器。PICTIT3不是电源……它被设为30Ma。我强烈建议您使用外部电源。来自PICTIT3的BORD总是有一个电压降。请确保设置一个3.4V的VDD,看看McLR上有10K的ULL到VDD。当做
以上来自于百度翻译 以下为原文 Hi, Can you confirm that you did put a 10uF on Vcap/vddcore (pin 20) ? (10uF is not necessary for Vdd but for Vddcore (look at section 26.2 in the datasheet) It is mandatory to stabilize the internal regulator which powers the PIC24 core. Pickit3 is not a power supply....it is garanted for 30mA. I would strongly suggest you use an external power supply. If you power your bord from Pickit3 there is always a voltage drop. Make sure to set a Vdd of 3.4V and see what happens. di you have a 10K oull to Vdd on MCLR ? Regards |
|
|
|
|
|
BADGGN,你的问题建议改变方法,这可能是有成效的,因此值得你考虑。你所引用的数字不是示意图,它们只是例子。我理解的问题是,如何成功地把你的PICTIT3连接到MICRO3。Flash编程规范的图2-2没有告诉你如何做到这一点。同上,数据表的FIG 2-1。正如你已经看到的那样,替换零件可能是有效率的,也可能不是有效的。我用了几英寸的痕迹,没有任何问题。如果你直接进入一个已知的工作实例,并将其与你正在做的工作进行比较,这可能会节省时间。论坛上的一个问题,澄清了一个微芯片出版参考设计和你的设计之间的差异会给你更精确和有用的建议。我建议PIC24F好奇心板,因为示意图和配置保险丝设置容易访问。还有很多其他的PIC24参考文档。这是一个24F示意图。PIC24部件可以使用不同组的IO引脚进行编程。注意,哪个组用于ICSP:HTTP:/WW1.MICCHIP.COM/DeLoSs/En/DeVICEDC/OC0252534 A.PDFF,这里是在该示意图上运行的示例代码:HTTPS://MPLABXPress。MICCHIP.COM/MPLABLYDR/ExpRe/DeLys/268好狩猎!史蒂夫
以上来自于百度翻译 以下为原文 Baardgn, Your questions suggest a change in method which would likely be productive and therefore would merit your consideration. The figures that you cited are not schematics, they are merely examples. The question, as I understand it, is how to successfully connect your PicKit3 to the Micro. Figure 2-2 of the Flash Programming Specification does not tell you how to do that. Ditto for Fig 2-1 of the Datasheet. As you have already seen it may or may not be productive to substitute parts. And I have used trace lengths of several inches without any problem. It would likely save time if you went directly to a known working example and compared that to what you are doing. A question here on the forum clarifying the difference between a Microchip-published reference design and your design would give you much more precise and useful suggestions. I suggested the Pic24F Curiosity board because the schematic and Config Fuse settings are readily accessible. There are lots of other PIC24 reference docs as well. Here is a 24F schematic. PIC24 parts can use different groups of IO pins for programming. Note which group is used for ICSP: http://ww1.microchip.com/downloads/en/DeviceDoc/50002534a.pdf And here is sample code that runs on that schematic: https://mplabxpress.microchip.com/mplabcloud/example/details/268 Good Hunting! Steve |
|
|
|
|
|
除了RISC关于电容器的评论外,还要确保它是低ESR的。苏珊
以上来自于百度翻译 以下为原文 In addition to RISC's comment about the capacitor, make sure that it is a low ESR one. Susan |
|
|
|
|
|
史提夫,我看了“PIC24F好奇心DeV板的原理图”,在你的前台之后,它看起来和我为我的MPU设置的一样,但是因为不同的架构而不同的引脚,而比较PIC24FJ64 GB00(我使用的MPU)PopIC24FJ256GB10(PIC24F古玩示意图的MPU)RISC,I剪辑的10uF电容器(钽-16V)的引脚尽可能短,孤立一个Leon VCAP/VDDCORE(引脚20)和另一条腿上的引脚19(DISVREG),使调节器,Irechecked MCLR和绑10K之间Vdd和MCLR,I Ti0.1UF陶瓷电容器之间的每一个VDD和VSS上MPU无论类比还是数字。我禁用MCLR和VDD在PACTIT3和DoDeWoad上,外部电源为3.40 dCVoT,我仍然在VCCA/VDDCORE上测量MCDR和0V上的VDD引脚3.3.1V和3.37 V。苏珊,10UF钽-16VI应该满足您的建议。
以上来自于百度翻译 以下为原文 Steve, I looked at "schematic of PIC24F Curiosity Dev board" after your previous post, it seems to be similar to what I setup for my MPU but differs for some of pins because of different architecture while comparing PIC24FJ64GB002(MPU that I am using) to PIC24FJ256GB10 (MPU for schematic of PIC24F Curiosity Dev board). RISC, I clipped pins of 10uF capacitor (tantalum-16V) as short as possible, I soldered one leg on Vcap/vddcore (pin 20) and the other leg on pin 19 (DISVREG) to enable Regulator, I rechecked MCLR and tied 10K between Vdd and MCLR, I tied 0.1uF ceramic capacitor between every Vdd and Vss on MPU regardless of analog or digital. I disabled MCLR and Vdd on Pickit3 and drove board with external power supply with 3.40 DC Volt, I still measure Vdd pin around 3.41V and 3.37V on MCLR and 0V on Vcap/Vddcore. Susan, 10uF tantalum-16V should meet that you advised me Thank you Regards |
|
|
|
|
|
10UF 16V钽本身并不总是意味着低ESR,这也取决于制造商使用的电解液类型。您还可以确认您已经将DeVReg绑定到Vdd吗?请参阅数据表中的第2.4部分,也请参阅图2-1.SUSAN
以上来自于百度翻译 以下为原文 By itself 10uF 16V tantalum does not always mean low ESR as that also depends on the type of electrolyte used by the manufacturer. Can you also confirm that you have tied DISVREG to Vdd? Please see Section 2.4 in the data sheet and also Figure 2-1. Susan |
|
|
|
|
|
|
|
|
|
|
|
苏珊,它不是SMD,它是“DayWo三星106 16钽”,但我没有找到任何数据表。正如你提到的,它可能不是ESR,我没有把DVRG绑定到VDD,钽电容器的一条腿绑在ToVDDCype上,另一个绑在DVVRG上,DeVReg绑定到GND,钽电容器和MPU之间的跟踪大约是4mm或多一点,不超过6mm NothGee,另一条腿(DeVReg)被绑定到。在我把电容器焊接到20个和19个引脚之后,我意识到Error改变为“目标设备ID有效”0x…但是,当我被迫在MPU上编程时,它试图将代码写入MPU,但是由于内存错误而停止(我现在记不起来了),我认为我真的取得了一些东西,但仍然有路要走,但是意识到PGEC的PIN和PICD的PIX3的一个引脚被触摸+3.3V(P)。不知为什么,这是不是真的能提供时钟信号?为了进行更多的研究,我回到了PIC12F675代码,并尝试对PIC12F675进行编程,而PICTIT3提供了2.51 V时钟信号(PGC),并成功地在MPU上编写了代码,这意味着什么?可能是关于24FF系列的PICTIT3固件吗?谢谢
以上来自于百度翻译 以下为原文 Susan, It is not a SMD one, it is "Daiwo-Samsung 106 16 tantalum" but I did not find any datasheet about that. as you mentioned it may not be ESR, I did not tie DISVREG to Vdd, Tantal capacitor's one leg tied to Vddcore, the other one tied to DISVREG and DISVREG is tied to GND and trace between Tantal capacitor and MPU is approx. 4mm or little bit more, does not exceed 6mm NorthGuy, other leg (DISVREG) is tied to GND also. After I soldered capacitor to 20 and 19 pins, I realized that error was changed to like "Target device ID is valid "0x... but is not expected...", when I forced to program on MPU, it was trying to write code to MPU but stopping with memory error (I can not remember that now), I thaught that I really achieved something but still had way to go, but realized that one of the pins of PGEC and PGED of Pickit3 was touched +3.3V (positive line of breadboard) somehow, this made me think that does pickit3 really provide clock signal? for more investigations I went back to any PIC12F675 code and tried to program PIC12F675 and Pickit3 was providing 2.51 V clock signal(PGC) and wrote code successfully on MPU what does that mean? may it be regarding firmware of Pickit3 for 24F family? Thank you Regards |
|
|
|
|
|
这听起来更像是在0V和5V之间计时,接近50%的占空比。你真的需要一个示波器来正确地看到这些信号。
以上来自于百度翻译 以下为原文 That sounds more like it was clocking between 0V and 5V with close to a 50% duty cycle. You really need an oscilloscope to see these signals correctly. |
|
|
|
|
|
我深感怀疑,你是如何连接DVVRG(这必须是地面如果你想启用内部调节器)和电容器VCAP/VDDCORE(电容器的正侧到引脚,负侧对地。您需要与NordGee所提供的电路相同。在编程时您收到的最新错误消息意味着您在MPLABX项目中选择了错误的设备。每个MCU都有一个设备类型ID,一旦PICTIT3建立了连接,程序员就检查它是否正在与正确的设备(如在项目中设置并在编译/链接过程中使用)交谈。事实上,你强迫它继续并最终导致内存错误,因为你的程序很可能有一个内存布局和设备另一个-这就是为什么检查。
以上来自于百度翻译 以下为原文 I am deeply suspicious of how you have connected DISVREG (which must be to ground if you want to enable the internal regulator) and the capacitor to Vcap/Vddcore (the positive side of the capacitor goes to the pin and the negative side does to ground. You need the same circuit as NorthGuy has provided. The latest error message you have received while programming means that you have the wrong device selected in the MPLABx project. Each MCU has a device type ID and once the PicKit3 establishes the connection, the programmer checks to see if it is talking to the correct device (as set in the project and used during the compile/link process). The fact that you forced it to continue and it ended up with a memory error is quite expected as your program could well have one memory layout and the device another - this is why that check is made. Susan |
|
|
|
|
|
嗨,如果你在VDDCys/VCAP上测量0V左右,那么你确实在某个地方有问题,什么都不能工作(PICTIT3永远不会认出你的PIC……)。VDDCORE必须是2.5V是所有PIC电路是好的。你可以显示你的电路图片,也张贴一个示意图(更新到当前状态)?最糟糕的情况是你的PIC24已经死了…
以上来自于百度翻译 以下为原文 Hi, If you measure around 0V on Vddcore/Vcap then you really have an issue somewhere and nothing can work (pickit3 will never recognize you PIC...). Vddcore must be 2.5V is all the PIC circuitry is ok. Can you please show a picture of your circuit and also post a schematic (updated to current status) ? Worst case your PIC24 is dead... Regards |
|
|
|
|
|
苏珊,我很确定我把DeVReg绑在了GNDor Tantalum电容器上。电容的另一条腿连接到VDDCARP引脚。我总是检查引脚之间的连接,然后开始驱动电源板。我向你们保证,在连接测试中,DeVReg总是以多米来测试。28,27(VDD,VSS),13,8(VDD,VSS),1(MCLR)和VDDCORE,Vddcorehas微电压,但它是MV级,即10或最多15-20。在不经过内部调节器的情况下,GND应该是电流泄漏。希望我没有烧坏内部调节器。谢谢。
以上来自于百度翻译 以下为原文 Susan, I am pretty sure that i tied DISVREG either to GND or Tantalum capacitor. The other leg of capacitor is tied to Vddcore pin. I always check connectivity of pins before i start to drive power to the board. I assure you DISVREG always beeps during connectivity test with Multimetre. 28,27(Vdd,Vss), 13,8(Vdd,Vss), 1(MCLR) and Vddcore as well. Vddcore has tiny voltage but it is mV levels, say 10 or at most 15-20. What i understand that internal regulator cannot enable itself because could not get enough current. there should be a current leaking somehow to the GND without passing by internal regulator. I hope i have not burned internal regulator. Thank you Regards |
|
|
|
|
|
嗨,你为什么不展示你的示意图?你有PCB吗?请附上一张照片。你在Vu***和VBUS引脚上连接了什么吗?在这个阶段,你有一个主要的问题,要么在原理图中要么PIC24已经死了…只要你在VDDCARCH上看不到2.5V,你就不能做任何进步…我建议你订购/焊接另一个PIC24,如果你确信你的示意图……
以上来自于百度翻译 以下为原文 Hi, Why don't you show your schematic ? Do you have a PCB ? please attach a picture ? Did you connect anything on Vu*** and Vbus pins ? At this stage you have a major issue either in the schematic or the PIC24 is dead... As long as you do not see 2.5V on Vddcore you won't be able to do any progress... I suggest you order/solder another PIC24 if you are sure about your schematic... Regards |
|
|
|
|
|
如果删除PICTIT3,你在MCLR、VDD、VDDCore上测量什么电压?
以上来自于百度翻译 以下为原文 If you remove PICkit3, what voltages do you measure on MCLR, VDD, VDDCore? |
|
|
|
|
只有小组成员才能发言,加入小组>>
MPLAB X IDE V6.25版本怎么对bootloader和应用程序进行烧录
473 浏览 0 评论
5793 浏览 9 评论
2334 浏览 8 评论
2224 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3530 浏览 3 评论
1122浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
1095浏览 1评论
我是Microchip 的代理商,有PIC16F1829T-I/SS 技术问题可以咨询我,微信:A-chip-Ti
873浏览 1评论
MPLAB X IDE V6.25版本怎么对bootloader和应用程序进行烧录
475浏览 0评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-2 00:46 , Processed in 1.088887 second(s), Total 78, Slave 71 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
2950