Microchip
直播中

董达勇

8年用户 216经验值
私信 关注
[问答]

Pickit3的PIC24F编程问题

您好,我有一个现有的项目,我用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)

张丽

2019-3-13 12:27:14
我们在使用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.
举报

周润艺

2019-3-13 12:32:27
在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)?
举报

任斌

2019-3-13 12:50:40
鲍伯,我用钽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
  
举报

刘丽菲

2019-3-13 12:57:52
我是否正确理解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
举报

更多回帖

发帖
×
20
完善资料,
赚取积分