• slider image 442
  • slider image 492
  • slider image 493
  • slider image 494
  • slider image 495
  • slider image 496
:::


Browsing this Thread:   1 Anonymous Users






PIC24HJ12GP202用ICD2燒錄問題
#1
新會員
新會員


查看用戶資訊
程式編譯的時候沒問題,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
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... ]

教育訓練中心

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