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


Browsing this Thread:   1 Anonymous Users




(1) 2 »


Re: PIC 16f886使用ICD2 debug的問題
#12
中級會員
中級會員


查看用戶資訊
參照:

Ryang 寫到:
F/W 換過後還是依樣嗎?
MPLAB IDE 重新啟動後,會不會有相同的問題發生?


是的

16F946也有換過兩顆(新的,沒使用過的,16F946使用連接座的),Program space used 14.4%,Data Space used 8.9%,應該沒有記憶體不足的問題。
目前使用Programmer模式下除錯,還是可以進行。

發表於: 2007/8/3 10:54
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: PIC 16f886使用ICD2 debug的問題
#11
版主
版主


查看用戶資訊
F/W 換過後還是依樣嗎?
MPLAB IDE 重新啟動後,會不會有相同的問題發生?

發表於: 2007/8/3 10:43
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: PIC 16f886使用ICD2 debug的問題
#10
中級會員
中級會員


查看用戶資訊
參照:

Ryang 寫到:
MPLAB IDE 的版本為何? 試一下在 Debug 選項下更新 Operation OS ( ICD2 Firmware)。



MPLAB IDE 的版本7.52

ICD2 Firmware換新的ICD2,ICD2會重新Download Firmware。
也有在操作過程中於Debug模式下重新下載ICD2 Firmware。

發表於: 2007/8/3 10:36
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: PIC 16f886使用ICD2 debug的問題
#9
版主
版主


查看用戶資訊
MPLAB IDE 的版本為何? 試一下在 Debug 選項下更新 Operation OS ( ICD2 Firmware)。

發表於: 2007/8/2 9:52
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: PIC 16f886使用ICD2 debug的問題
#8
中級會員
中級會員


查看用戶資訊
參照:

Ryang 寫到:
ICD0031的錯誤,照MPLAB IDE help裏的說明是 :MPLAB IDE and MPLAB ICD 2 are out of synch with each other. Here are some common reasons and corrective actions.

Reconnect to the MPLAB ICD 2.
Try the operation again. It is possible the error was a one time glitch.
The version of MPLAB IDE installed may be incorrect for the version of firmware loaded on the MPLAB ICD 2. Follow the steps outlined in <General Corrupted Installation Actions>, and then manually download the MPLAB ICD 2 Operating System.
If the problem persists contact Microchip.

所以先更新ICD2的Operation System, 如果還是不行連線請送修。


我使用pic 16f946 做ICD2 的debug時出現下列訊息:

ICD0031: API: Framing error
ICD0151: Failed to sync memory (MT = Data) (Dir = 0x0)
ICD0082: Failed MPLAB ICD 2 operation
ICD0082: Failed MPLAB ICD 2 operation

重新連線後,可執行,但是如果執行BreakPoint則是產生以上問題。
ICD2換過兩台,其中ㄧ台為未拆封的,所得出的結果是相同的。
不知這是什麼問題產生的。

發表於: 2007/8/2 7:31
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: PIC 16f886使用ICD2 debug的問題
#7
版主
版主


查看用戶資訊
ICD0031的錯誤,照MPLAB IDE help裏的說明是 :MPLAB IDE and MPLAB ICD 2 are out of synch with each other. Here are some common reasons and corrective actions.

Reconnect to the MPLAB ICD 2.
Try the operation again. It is possible the error was a one time glitch.
The version of MPLAB IDE installed may be incorrect for the version of firmware loaded on the MPLAB ICD 2. Follow the steps outlined in <General Corrupted Installation Actions>, and then manually download the MPLAB ICD 2 Operating System.
If the problem persists contact Microchip.

所以先更新ICD2的Operation System, 如果還是不行連線請送修。

發表於: 2007/5/4 11:09
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: PIC 16f886使用ICD2 debug的問題
#6
新會員
新會員


查看用戶資訊
你能否先用ICD2光盘的范例调试一下。

發表於: 2007/5/4 10:52
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: PIC 16f886使用ICD2 debug的問題
#5
新會員
新會員


查看用戶資訊
不好意思~~
我再做debug時,還是會顯示這些訊息:

ICD0031: API: Framing error
ICD0151: Failed to sync memory (MT = Data) (Dir = 0x0)
ICD0082: Failed MPLAB ICD 2 operation
ICD0082: Failed MPLAB ICD 2 operation

不曉得最大的問題出在哪裡?

請大大能再給我一些建議!!謝謝

發表於: 2007/5/2 15:46
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: PIC 16f886使用ICD2 debug的問題
#4
版主
版主


查看用戶資訊
;   The definitions and variants for the configuration bits are found in the
;   appropriage p16f887.inc
 
          
        __CONFIG _CONFIG1
,  _INTRC_OSC_NOCLKOUT _WDT_OFF _PWRTE_OFF _MCLRE_ON _CP_OFF _CPD_OFF _BOR_ON _IESO_OFF _FCMEN_OFF _LVP_OFF _DEBUG_ON ;
        
__CONFIG _CONFIG2,  _WRT_OFF _BOR40V;


我是這樣設定的。

Download 新的 OS 可以在 Project 目錄下找到。

發表於: 2007/5/2 13:47
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: PIC 16f886使用ICD2 debug的問題
#3
新會員
新會員


查看用戶資訊
1.我用的是MPLAB IDE v7.52 的版本,那7.52版附屬ICD2 OS download 就是新的還是說要另外下載更新檔更新. .

2.我的震盪也是為Inter-RC,若要檢查是否有震盪,是檢查ICD2的clock接腳是否有傳到PIC內嗎??

謝謝.....

發表於: 2007/5/2 13:08
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... ]

教育訓練中心

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