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


Browsing this Thread:   1 Anonymous Users






Re: ICD2 在Programmer正常,在Debugger就有問題
#5
高級會員
高級會員


查看用戶資訊
參考這份官方文件看看:Header Board Specification,裡面有介紹header的電路。
Microchip有些mcu確實沒有debuger的電路在裡面,所以沒有辦法用icd2去做debug。當你用header做debug時,是不需要16F628A,直接用header mcu代替它。
這問題我也卡過一次!!

發表於: 2008/1/28 16:29
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: ICD2 在Programmer正常,在Debugger就有問題
#4
新會員
新會員


查看用戶資訊
Thanks.
再請問一下,轉接座(AC162053)本身就可模擬PIC16F628A的
功能嗎(不需在接16F628A)?
還是ICD2接轉接座(AC162053)後,在接至16F628A的Chip呢?
PIC16F628A內部是否無Debug電路,所以ICD2 Debug時須外接轉接座(AC162053)?

發表於: 2008/1/28 16:14
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: ICD2 在Programmer正常,在Debugger就有問題
#3
版主
版主


查看用戶資訊
PIC16F628A 的轉接座編號 : AC162053

發表於: 2008/1/25 14:03
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: ICD2 在Programmer正常,在Debugger就有問題
#2
資深會員
資深會員


查看用戶資訊
如果是直接拿PIC16F628A是無法使用ICD2 Debug的,需要購買轉接的Header才行哦~

發表於: 2008/1/25 13:18
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


ICD2 在Programmer正常,在Debugger就有問題
#1
新會員
新會員


查看用戶資訊
請問 PIC16F628A在compiler完後,用ICD2可以燒錄並執行,但是換成debug mode就會出現Invalid target device id及Unable to enter debug mode到底問題出在哪?
Confg. bits : OSC(HS),LVP(Disable),Code Protect(Disable),
WDT(Disable)等我都檢查過了,且用16f628ai.lkr檔.是否有哪裡
沒設定好呢?

以下是Programmer正常執行結果:
Connecting to MPLAB ICD 2
...Connected
Setting Vdd source to target
Target Device PIC16F628A found, revision = Rev 0x8
...Reading ICD Product ID
Running ICD Self Test
...Passed
MPLAB ICD 2 Ready
Programming Target...
...Validating configuration fields
...Erasing Part
...Programming EEPROM Memory
...Programming Program Memory (0x0 - 0xF)
Verifying...
...Program Memory
...EEPROM
...Verify Succeeded
Programming Configuration Bits
.. Config Memory
Verifying configuration memory...
...Verify Succeeded
...Programming succeeded
25-Jan-2008, 09:27:38

MPLAB ICD 2 Ready

以下是Debugger無法執行的結果:
Connecting to MPLAB ICD 2
...Connected
Setting Vdd source to target
ICDWarn0020: Invalid target device id (expected=0x89, read=0x83)
...Reading ICD Product ID
Running ICD Self Test
...Passed
MPLAB ICD 2 Ready
Programming Target...
...Validating configuration fields
Connecting to debug executive
Entering Debug Mode
...Programming GOTO 0x00 command
...Restoring users code
ICD0083: Debug: Unable to enter debug mode. Please double click this message for more information.
MPLAB ICD 2 Ready

發表於: 2008/1/25 9: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... ]

教育訓練中心

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