• 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: 關於MPLAB ICD2的Debug 單步執行問題
#4
版主
版主


查看用戶資訊
你應該是初學著,建議暫時先不要去使用 PIC18F4550,那顆 IC 的內部震盪電路設計因要配合 USB 的速度所以設計成比較複雜的時脈震盪電路。如果可以的話換一顆震盪電路比較基本的先玩玩,PIC18F452 就很單純。外接一個 4MHz~10MHz 的 crystal + 2 個 22pF 電容接地,Configuration 選 HS Mode 就好了。
用組與設定請參考底下之說明:
如何在 MPLAB C18 直接設定 Configuration Bits 的範例

http://www.microchip.com.tw/modules/m ... 10&orderby=titleA&show=10

發表於: 2008/3/28 8:22
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 關於MPLAB ICD2的Debug 單步執行問題
#3
新會員
新會員


查看用戶資訊
關於Config. 裡的震盪器設定問題, 我是設定成CONFIG FOSC = HS
而程式範例裡為c code ,我現在的環境無法執行,想請問是否有別的範例可以參考呢(最好是組語)。

看討論區內也有人提出相同的問題,無法進入debug模式,不知能否提供他們的解決方式呢?



發表於: 2008/3/27 17:25
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 關於MPLAB ICD2的Debug 單步執行問題
#2
版主
版主


查看用戶資訊
看起來是 Config. 裡的震盪器設定問題,沒有震盪導致ICD2無法進入 debug Mode。你可以先參考 http://www.microchip.com.tw/modules/wfdownloads/viewcat.php?list=U 裡的程式範例,用它的設定跑跑看。

發表於: 2008/3/24 16:13
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


關於MPLAB ICD2的Debug 單步執行問題
#1
新會員
新會員


查看用戶資訊
你好,我一直很想使用ICD2中的模擬功能,並按照說明書上的步驟來設定,其步驟如下:
1、選擇debugger->select tool->maplab icd2
2、在Configure->Configuration Bits 中,設定Backgroud Debugger mode enable
3、燒錄程式進去並執行
結果會一直出現下面的訊息:
ICD0083: Debug: Unable to enter debug mode. Please double click this message for more information.
ICDWarn0015: Program memory has changed since last program operation? Continue with Debug operation?
ICD0200: Operation Aborted (Warning 14).
ICD0069: Debug: Unable to run target
不知我是否缺少了什麼?或是我有不正確的作法,謝謝。
環境:AP013 實驗板、MPLAB ICD2 、MPLAB v8.02、組語程式
目標:想要在硬體上做單步執行的動作,並監看一些記憶體位置

發表於: 2008/3/24 14:57
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... ]

教育訓練中心

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