請問ICD0083的編譯問題
|
||||
---|---|---|---|---|
中級會員
|
大家好:
我使用的是18F8722,不過我是使用自已接線來燒錄ic,我把ICD2的5條線,都直接拉到chip對應的腳位,中間都沒有加任何的元件。 我在編譯的時後,都會遇到ICD0083的問題(我已經把OSC設成HS),請問是因為我不能直接把ICD2的線拉到chip上做燒錄,還是我軟體上有什麼該設定的或是我程式有寫錯呢? *****我的程式******************************* #include <p18f8722.h> // 适用于所有PIC18XXXX 器件的 #pragma config WDT = OFF, OSC = HS void main (void) { PORTD=0x00; TRISD=0x00; PORTDbits.RD0=1; PORTDbits.RD1=1; while (1); } ******************************************* *******編譯後出現的IC0083********************* Connecting to MPLAB ICD 2 ...Connected Setting Vdd source to target Target Device PIC18F8722 found, revision = Rev 0x0 ...Reading ICD Product ID Running ICD Self Test ...Passed MPLAB ICD 2 Ready Programming Target... ...Validating configuration fields ...Erasing Part ...Programming Program Memory (0x0 - 0xFF) ...Loading DebugExecutive ...Programming DebugExecutive ...Programming Debug Vector ...Programming RSBUG Verifying... ...Program Memory ...Debug Executive ...Debug Vector ...Verify Succeeded Programming Configuration Bits .. Config Memory Verifying configuration memory... ...Verify Succeeded Connecting to debug executive ICD0083: Debug: Unable to enter debug mode. Please double click this message for more information. MPLAB ICD 2 Ready *********************************************
發表於: 2007/4/25 11:37
|
|||
|