• slider image 442
  • slider image 492
  • slider image 493
  • slider image 494
  • slider image 495
  • slider image 496
:::


Browsing this Thread:   1 Anonymous Users






Re: 遇到了ICDWarn0054的問題
#4
新會員
新會員


查看用戶資訊
嗯嗯,學到了,感謝Ryang大大

發表於: 2008/11/17 20:29
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 遇到了ICDWarn0054的問題
#3
版主
版主


查看用戶資訊
是的,PIC16F689 使用 OCD2 除錯時是要加除錯專用的 Header。

直接上 www.microdirect.com 刷卡購買。

再沒有 Header 情況下,可以考慮使用 PIC16F882 28-pin 依 PIC16F689 的接腳與周邊使用方式,先來完成成所有功能後,再用修改一下,用燒錄方式完成。

發表於: 2008/11/17 13:30
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 遇到了ICDWarn0054的問題
#2
新會員
新會員


查看用戶資訊
努力研究了好久,會不會是沒有加header的關係?

能不能請教一下
我用PIC16F689和ICD2,是不是要用AC162061這一款就可以呢?
要去哪裡買呢?

先感謝各位大大~

發表於: 2008/11/17 9:06
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


遇到了ICDWarn0054的問題
#1
新會員
新會員


查看用戶資訊
MCU是16F689,我用簡單的程式,測試燒錄功能是否正常,但發現
1.在relase下組譯→在programer下連結ICD2→program燒錄,程式可以正常執行
2.在debug下組譯→在debugger下連結ICD2→program燒錄,產生錯誤訊息,如下

Connecting to MPLAB ICD 2
...Connected
Setting Vdd source to target
Target Device PIC16F689 found, revision = Rev 0x6
...Reading ICD Product ID
Running ICD Self Test
...Passed
MPLAB ICD 2 Ready
Programming Target...
...Validating configuration fields
...Erasing Part
...Programming Program Memory (0x0 - 0x5B)
...Loading DebugExecutive
...Programming DebugExecutive
...Programming Debug Vector
Verifying...
...Program Memory
...Debug Executive
...Debug Vector
...Verify Succeeded
Programming Configuration Bits
.. Config Memory
Verifying configuration memory...
...Verify Succeeded
Connecting to debug executive
ICDWarn0054: MPLAB IDE has lost communications with the MPLAB ICD 2. Would you like to attempt to reconnect?
Connecting to MPLAB ICD 2
...Connected
Setting Vdd source to target
Target Device PIC16F689 found, revision = Rev 0x6
...Reading ICD Product ID
Running ICD Self Test
...Passed
ICD0083: Debug: Unable to enter debug mode. Please double click this message for more information.
MPLAB ICD 2 Ready

3.若反過來,先在debugger下連結ICD2→在debug下組譯→就會不斷產生ICDWarn0054訊息,一直連不上ICD2,且ICD2的BUSY一直亮著

我有拿另一種測試版,MCU是16F883,(這兩個版子功能相似,但線路不同),就可以很正常執行,所以我猜測PC與ICD2是正常的

懇請各位先進大大幫忙看一下,小弟先感恩了~

發表於: 2008/11/15 8:54
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... ]

教育訓練中心

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