Browsing this Thread:
1 Anonymous Users
|
PIC24HJ12GP202用ICD2燒錄問題
|
|
新會員
Joined
: 2008/2/21 15:11 最後登入時間
: 2009/1/19 14:45
Group:
註冊會員
Level : 1 HP : 0 / 0 MP : 0 / 0 EXP : 0
|
程式編譯的時候沒問題,ICD2也有抓到PIC24HJ12GP202 我的程式是用組語寫的讓LED閃爍的簡單程式: .global __reset
.text __reset: GOTO LOOP LOOP: BSET PORTA, #0x1 CALL DELAY BCLR PORTA, #0x1 CALL DELAY GOTO LOOP
DELAY: MOV #0x0, W5 MOV #0x0, W6 MOV #0x0, W7
D1: INC W7, W7 BTSS W7, #0x2 GOTO D1
D2: INC W6, W6 BTSS W6, #0x2 GOTO D2 RETURN .end
可是在燒錄的時候出現下面的錯誤訊息: Programming Target...
...Validating configuration fields ...Erasing Part ...Programming Program Memory (0x0 - 0x27F) Verifying... ...Program Memory
ICD0161: Verify failed (MemType = Program, Address = 0x0, Expected Val = 0x40200, Val Read = 0xFFFFFF) ICD0275: Programming failed.
MPLAB ICD 2 Ready
換過IC還是出現一樣的問題,5隻燒錄接腳也檢查很多次確實沒接錯,Vdd跟Vpp之間接了一個10歐姆電阻之外,都是直接接到燒錄器,不知道問題究竟出在哪裡,請高手幫幫忙
發表於: 2008/2/29 17:52
|
|
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.