• slider image 442
  • slider image 483
  • slider image 484
  • slider image 485
  • slider image 486
  • slider image 487
:::


Browsing this Thread:   1 Anonymous Users






Re: ICD2调试问题
#5
初級會員
初級會員


查看用戶資訊
没有进展!
早上上了仿真器,连试3个程序,全部好使。说明CRYSTAL没有问题。

ICD2的PIN,PGD PGC VDD VSS MCLR直接插座,MCLR和VDD之间串联512电阻

不是ICD2和芯片问题。

大家看是什么问题,见鬼!~

刚刚在网上测完IQ,只得26分(满40),还超时了......

郁闷中!!!........


發表於: 2005/1/20 14:47
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: ICD2调试问题
#4
初級會員
初級會員


查看用戶資訊
Ryang斑竹好!
因为这个扳子原来工作正常,前些天打扫卫生放在抽屉里
原来的水晶头座是别人的,现找到一个焊在电路板上,就如上述了,昨天连接后竟然跑程序,但暂停不了
今天是不跑程序。
还有一个跟这板子一模一样的,就没有问题

所以,我也早怀疑晶振问题。

因我被调到新成立部门,手头连示波器都没有.......

刚刚借到仿真器,串口线又坏了..........

刚刚打完乒乓球,哈哈,明天接着研究!

谢谢!



發表於: 2005/1/19 17:41
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: ICD2调试问题
#3
版主
版主


查看用戶資訊
檢查一下板子上的 PGC pin 是否有接了一個 pull-up resister?
如果有,請把這個電阻拿掉。

另外 check 一下 crystal 的振盪是否正常。

發表於: 2005/1/19 17:28
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 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
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
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


ICD2调试问题
#1
初級會員
初級會員


查看用戶資訊
有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
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部







You can view topic.
不可以 發起新主題
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create PDF files.
You cannot get print page.

[進階搜尋]


:::

Microchip連結

https://www.facebook.com/microchiptechnologytaiwan/
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=13
https://mu.microchip.com/page/tmu
http://elearning.microchip.com.tw/modules/tad_link/index.php?cate_sn=1
https://page.microchip.com/APAC-PrefCenters-TW.html
http://www.microchip.com/
http://www.microchip.com/treelink
http://www.microchipdirect.com/
http://www.microchip.com.cn/newcommunity/index.php?m=Video&a=index&id=103
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=2
http://www.microchip.com.tw/Data_CD/eLearning/index.html
http://www.microchip.com.tw/RTC/RTC_DVD/
https://www.microchip.com/development-tools/
https://www.youtube.com/user/MicrochipTechnology
[ more... ]

教育訓練中心

!開發工具購買
辦法說明 [業界客戶] [教育單位]
----------------------------------
!校園樣品申請
辦法說明 [教師資格] [學生資格]
----------------------------------