Re: ICD2调试问题
|
||||
---|---|---|---|---|
初級會員
|
没有进展!
早上上了仿真器,连试3个程序,全部好使。说明CRYSTAL没有问题。 ICD2的PIN,PGD PGC VDD VSS MCLR直接插座,MCLR和VDD之间串联512电阻 不是ICD2和芯片问题。 大家看是什么问题,见鬼!~ 刚刚在网上测完IQ,只得26分(满40),还超时了...... 郁闷中!!!........
發表於: 2005/1/20 14:47
|
|||
|
Re: ICD2调试问题
|
||||
---|---|---|---|---|
版主
|
檢查一下板子上的 PGC pin 是否有接了一個 pull-up resister?
如果有,請把這個電阻拿掉。 另外 check 一下 crystal 的振盪是否正常。
發表於: 2005/1/19 17:28
|
|||
|
Re: ICD2调试问题
|
||||
---|---|---|---|---|
初級會員
|
如下是开机后,下载时的信息:
Connecting to MPLAB ICD 2 ...Connected Setting Vdd source to target Target Device PIC16F877 found, revision = b4,b5,b6 ...Reading ICD Product ID Running ICD Self Test ...Passed MPLAB ICD 2 Ready Programming Target... ...Erasing Part ...Programming Program Memory (0x0 - 0x7FF) ...Loading DebugExecutive ...Programming DebugExecutive ...Programming Debug Vector ...Programming User IDs Verifying... ...Program Memory ...User ID Memory ...Debug Executive ...Debug Vector ...Verify Succeeded Programming Configuration Bits .. Config Memory Verifying configuration memory... ...Verify Succeeded Connecting to debug executive ICD0082: Failed MPLAB ICD 2 operation ICD0024: Failed to write to Com Port ($7F00 ?) (MPLABCOM = 0x6) (USBCOM = 0x1) (0x0) ICD0082: Failed MPLAB ICD 2 operation ICD0082: Failed MPLAB ICD 2 operation ICD0082: Failed MPLAB ICD 2 operation ICD0082: Failed MPLAB ICD 2 operation ICD0275: Programming failed. MPLAB ICD 2 Ready
發表於: 2005/1/19 15:46
|
|||
|
ICD2调试问题
|
||||
---|---|---|---|---|
初級會員
|
有2个一样的电路板,其中一块连接后
Connecting to MPLAB ICD 2 ...Connected Setting Vdd source to target Target Device PIC16F877 found, revision = b4,b5,b6 ...Reading ICD Product ID Running ICD Self Test ...Passed MPLAB ICD 2 Ready build ALL后等几十秒后就如下了: =============================== Resetting Target ICD0082: Failed MPLAB ICD 2 operation ...Failed to reset target MPLAB ICD 2 Ready ICD0082: Failed MPLAB ICD 2 operation ICD0082: Failed MPLAB ICD 2 operation ICD0082: Failed MPLAB ICD 2 operation ================================ 如果不使用build ALL命令,象往常一样 运行时,就会停不下,暂停不好使。。。。。。。。。 看来,连接成功了,但有什么问题呢? 现在排除ICD2和芯片问题,但,也没有什么了,扳子前些天还正常工作呢,只不过把ICD2水晶头座焊在板子上..... 但另一个扳子就没有问题。 前辈帮忙! 斑竹救命!!
發表於: 2005/1/19 15:24
|
|||
|