• slider image 514
  • slider image 516
  • slider image 517
  • slider image 518
  • slider image 519
:::


Browsing this Thread:   2 Anonymous Users






Re: PICkit 2 programmer Bug with pic16f887
#4
版主
版主


查看用戶資訊
這樣來解釋說明一下:

1. 較新版的 MPLAB IDE 用 ICD2 時已區分為 Debug Mode 及 Programmer Mode,兩著之間的設定有些不同:
-- 使用 Debug Mode : 有一Release/Debug選項必須設為 Debug ,這樣做主要是將 ICD2 除錯時所需要用到的RAM資源給予保留避免與程式共用造成錯誤。
-- 在Configuration的設定會自動將Debug bit打開以啟動ICD的除錯Module。
-- Debug Mode 燒錄時,最後會將ICD Module要使用到的除錯OS燒到PIC的最後面,讓 PIC課以跟ICD2溝通傳送訊息。
-- 無法單獨執行應用程式,需透過 ICD2 來操作。

2. MPLAB IDE 下使用 ICD2 Programmer Mode:
-- 需選擇 Release
-- Configuration 自動將 Debug 位元 disable
-- 可以單獨執行應用程式。

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


Re: PICkit 2 programmer Bug with pic16f887
#3
資深會員
資深會員


查看用戶資訊
謝謝

已經在 forum.microchip.com 找出問題點了

主要兩個問題造成我的困擾

一、MPLAB 的 configure->configuration bit 不會顯示 debug 這個選項。

二、PICkit2 programmer 2.4 燒錄的時候不會主動將 debug disable ,而 mplab 會。


而造成我 mplab 燒正常,pickit2 programmer 2.4 不正常。

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


Re: PICkit 2 programmer Bug with pic16f887
#2
版主
版主


查看用戶資訊
剛剛試了一下 PKit2 + 16F887 在Programmer Mode 的底下可以正確的將 Configuration Words 的資料燒到 IC 裡。是不是你的程式裡並沒有做 Config. 的設定,直接在 MPLAB IDE 下直接設定呢? 如果程式裡沒有寫 Config. 的設定那 Pickit2 Programmer 就不會有設定資料了。

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


PICkit 2 programmer Bug with pic16f887
#1
資深會員
資深會員


查看用戶資訊
你好:

我第一次利用 PCI 16F887 配合 app001 來寫程式(採用內部振盪)。

我用 ICD2 debug ,寫完之後,產生 hex file

我用 mplab 7.61 配合 ICD2 or PicKit2 來download 都能正常運作。

但是我用 pickit2 programmer 2.4 配合 Pickit2 來download ,程式卻不法運作。

我交插檢查了一下

我發現 pickit2 programmer 2.4 在燒錄 PIC16F887 時,『不會將 configuration 寫入』。


發表於: 2007/9/28 18:12
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... ]

教育訓練中心

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