• slider image 442
  • slider image 483
  • slider image 484
  • slider image 485
  • slider image 486
  • slider image 487
:::


Browsing this Thread:   1 Anonymous Users






Re: APP001 REV2用ICD2燒錄程式後如何獨立執行,不用ICD2?
#6
初級會員
初級會員


查看用戶資訊
找到問題了!
原來JICD1~3不須調整,還是放在1&2 (MCU DEBUGE)位置
MPLAB設定Programmer(Programmer-->Select Programmer-->MPLAB ICD2)
說明書也沒寫清楚,害我忙了半天!

發表於: 2005/3/21 14:59
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: APP001 REV2用ICD2燒錄程式後如何獨立執行,不用ICD2?
#5
初級會員
初級會員


查看用戶資訊
以下是我在program mode下要燒陸產生的錯誤.
程式是WAP002的範例程式ANS6中的WAP002.mcp
板子是app001 ,Jumper JICD1~3也都放在2&3 (PROGRAMER),MPLAB 也設定在PROGRAMER

build all都ok,program時卻不成功,請問是什麼原因?

Connecting to MPLAB ICD 2
...Connected
Setting Vdd source to target
ICDWarn0020: Invalid target device id (expected=0x21, read=0x0)
...Reading ICD Product ID
Running ICD Self Test
...Passed
MPLAB ICD 2 Ready
Connecting to MPLAB ICD 2
...Connected
Setting Vdd source to target
ICDWarn0020: Invalid target device id (expected=0x21, read=0x0)
...Reading ICD Product ID
Running ICD Self Test
...Passed
MPLAB ICD 2 Ready
Erasing Target Device...
ICDWarn0052: MPLAB ICD 2 cannot validate a target device. Please make sure that the target device is connected and properly powered. Select "OK" to continue, or "CANCEL" to abort the operation
...Erase Succeeded
MPLAB ICD 2 Ready
Programming Target...
ICDWarn0052: MPLAB ICD 2 cannot validate a target device. Please make sure that the target device is connected and properly powered. Select "OK" to continue, or "CANCEL" to abort the operation
ICDWarn0035: Debug mode must be disabled. Disable debug mode or cancel?
...Validating configuration fields
...Erasing Part
...Programming Program Memory (0x0 - 0x1C6F)
...Programming User IDs
Verifying...
ICDWarn0052: MPLAB ICD 2 cannot validate a target device. Please make sure that the target device is connected and properly powered. Select "OK" to continue, or "CANCEL" to abort the operation
...Program Memory
ICD0161: Verify failed (MemType = Program, Address = 0x0, Expected Val = 0xEFBF, Val Read = 0x0)
ICD0275: Programming failed.
MPLAB ICD 2 Ready

發表於: 2005/3/21 14:15
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: APP001 REV2用ICD2燒錄程式後如何獨立執行,不用ICD2?
#4
版主
版主


查看用戶資訊
ICD2 燒錄程式有兩種模式 :
1. Dubugger 模式,這時燒錄出來的 PIC 只能在除錯模式下執行,無法單獨跑程式。
2. Programmer 模式下,這時用 ICD2 燒好的程式只要將 ICD2 的接頭拔下, PIC 就可以自行跑程式。

以上方式適用 MPLAB IDE v6.50 以上的版本,如是舊版的 IDE 就必須在 Configuretion 的設定下關閉 Background Dubugger Mode 才可以單獨執行程式。

發表於: 2005/3/21 9:35
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: APP001 REV2用ICD2燒錄程式後如何獨立執行,不用ICD2?
#3
資深會員
資深會員


查看用戶資訊
選擇Program是下載至pic
選擇Debuger是下載至ICD2

發表於: 2005/3/21 9:03
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: APP001 REV2用ICD2燒錄程式後如何獨立執行,不用ICD2?
#2
高級會員
高級會員


查看用戶資訊
應該是要選擇Program這個選項
而不是選擇Debuger這個選項
檢查看看

發表於: 2005/3/20 17:12
人生最長久的擁有是珍惜 但是大都在失去後才發現
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


APP001 REV2用ICD2燒錄程式後如何獨立執行,不用ICD2?
#1
初級會員
初級會員


查看用戶資訊
如果將程式用ICD2 DownLOAD到APP001的CPU上
拔掉ICD2的接頭,APP001應該要調那一個JUMPER或接線?
可以讓APP001獨立執行,不用ICD2來啟動?
其他如APP005及APP009又該如何調整?
謝謝!

發表於: 2005/3/20 15:09
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... ]

教育訓練中心

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