• slider image 442
  • slider image 477
  • slider image 479
  • slider image 480
  • slider image 481
  • slider image 482
:::

論壇索引


Board index » All Posts




Re: 2005年第一季的教育訓練課程已經排定,歡迎參加
版主
版主


要傳報名表確定報名成功。

人到就可以了,如果有Laptop的會最好帶來。
講義,實驗器具,午餐 由Microchip 準備。

發表於: 2004/12/30 13:48
頂部


Re: 如何更新PICKIT1 2.0.2分位
版主
版主


要重新燒一顆 PIC16C745 換掉舊的。

發表於: 2004/12/30 13:45
頂部


Re: C語言問題...
版主
版主


注意一下,在PIC18Fxxxx裡 INT0 永遠為高優先權的中斷。

發表於: 2004/12/30 13:43
頂部


Re: 燒錄後怪怪ㄉ!
版主
版主


要download程式到 ICD2 之前,一定要確定程式已經 Baild All 且確定編譯成功,不然就會得到如下的錯誤:

ICDWarn0015: Program memory has changed since last program operation? Continue with Debug operation?


ICD0083: Target not in debug mode, unable to perform operation
是 ICD2 無法正確執行監督程式,檢查一下震盪的設定或電路吧!

發表於: 2004/12/30 13:39
頂部


Re: __EEPROM_DATA
版主
版主


可以的,利用 #progma romdata 的設定就可以了,其方式如下所示 :
1. 設定一個 EE_Section 的節區宣告,並設定 EEPROM 的陣列資料
#pragma romdata EE_Section
const rom char LCD_ROM_MSG[ ] ="0123456789ABCDEFGHIJK";
#pragma code
2. 加入 PIC18Fxxxx.lkr有關eedata的節區描述如下所示
SECTION NAME=CONFIG ROM=config
SECTION NAME=EE_Section ROM=eedata

3. 先設為 MPLAB SIM 模式再 build all 後,打開EEPROM window 就可以看到陣列資料以在裡面了

4. 記住,用 ICD2 燒錄時要將EEPROM的選項打開

此種方式 EEPROM 的 data 會以存在 HEX 檔案中,如下所示:

:0200000400F00A
:10000000303132333435363738394142434445464E
:060010004748494A4B007D


發表於: 2004/12/30 13:33
頂部


Re: 燒PIC16F819的問題
版主
版主



發表於: 2004/12/30 11:58
頂部


燒PIC16F819的問題
初級會員
初級會員


版主:
我是使用ICD2的TOOL,想要燒程式到PIC16F819,oscillator=INTRC-RA6 is clkout
MCLR select bit=RA5 is MCLR
都始終會出現 ICD0161的訊息,請問一下我的設定哪裡還有
問題阿..........救命阿


Programming Target...
...Erasing Part
...Programming EEPROM Memory
...Programming Program Memory (0x0 - 0x7FF)
...Programming User IDs
Verifying...
...Program Memory
...EEPROM
...User ID Memory
...Verify Succeeded
Programming Configuration Bits
.. Config Memory
Verifying configuration memory...
...Verify Failed (and stopped)
ICD0161: Verify failed (MemType = Config, Address = 0x2007, Expected Val = 0x802, Val Read = 0x0)
ICD0275: Programming failed.
MPLAB ICD 2 Ready

發表於: 2004/12/30 9:58
頂部


__EEPROM_DATA
新會員
新會員


請敎各位前輩

HI-TECH C 可如這樣 __EEPROM_DATA(1, 2, 232, 5, 2, 8);
在燒IC時將 DATA 寫入 EEPROM 中, C18可以嗎,怎麼做 ???謝謝.

發表於: 2004/12/29 14:39
頂部


Re: 燒錄後怪怪ㄉ!
高級會員
高級會員


版主你好...
我有試過你所說的方法...
果然變成無法執行了!
當我按下"Step Into"單歨執行後出現一個對話框...
ICDWarn0015: Program memory has changed since last program operation?Continue with Debug operation?
選擇ok!出現下面文字...
Auto-connect not enabled - Not connecting (Try enabling auto-connect on the ICD2 settings pages.)
MPLAB ICD 2 Ready
Connecting to MPLAB ICD 2
...Connected
Setting Vdd source to target
Target Device PIC18F252 found, revision = Rev 0x5
...Reading ICD Product ID
Running ICD Self Test
...Passed
MPLAB ICD 2 Ready
Resetting Target
MPLAB ICD 2 Ready
ICDWarn0015: Program memory has changed since last program operation? Continue with Debug operation?
Stepping Target
ICD0083: Target not in debug mode, unable to perform operation
MPLAB ICD 2 Ready
之後每按一次"Step Into"都重複出現...
ICD0083: Target not in debug mode, unable to perform operation
MPLAB ICD 2 Ready
Stepping Target
請問這是代表哪邊出現錯誤...
努力尋找中!!!

發表於: 2004/12/29 11:04
頂部


Re: C語言問題...
中級會員
中級會員


我的問題已經解決了
加入
INTCON3bits.INT1IP = 0;
INTCON3bits.INT1IE = 1;
即可

我的想法是雖然Libraries很好用很方便,但是太依賴反而會造成困擾,我覺得還是要從暫存器下手設定比較可靠,個人想法~~

發表於: 2004/12/29 3:30
頂部



« 1 ... 7290 7291 7292 (7293) 7294 7295 7296 ... 7520 »



:::

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... ]

教育訓練中心

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