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

論壇索引


Board index » All Posts (itsme)




Re: ICD2無法debug
#11
新會員
新會員


感謝版主詳細及耐心的答覆,我果然是沒仔細再看
Config中的設定一直沒選到正確的燒錄與除錯腳位
,現在問題已經解決了.
正確的對應為JP15 & JP16 -> 選的是EMUD1/EMUC1
然後Primary oscillator-> 選擇HS mode
感謝感謝!

發表於: 2008/1/10 15:18
頂部


Re: ICD2無法debug
#12
新會員
新會員


感謝版主的回應,你提到外接crystal我想請問是指這塊板子原來就已經接上的8Mhz 的Xstal嗎?

再請問由接線圖(app026_3_v300_manual)上看來CPU一共有三組ICSP的PGC、PGD可供連接,現在我將jump放在中間那組(JP15,16),看manual的說明提到DEBUG需要燒錄時指定其中一組.有沒有可能是因為沒有指定的關係嗎?若需要指定該如何做呢?
不好意思喔!感謝!

發表於: 2008/1/10 13:04
頂部


ICD2無法debug
#13
新會員
新會員


各位前輩,看過先前也有人問過類似問題我也是在Build之前都是沒問題的.但在debugger\run後就出現
以下訊息

Resetting Target MPLAB ICD 2 Ready Programming Target...
...Validating configuration fields
...Erasing Part
...Programming Program Memory (0x0 - 0x2FF)
Verifying...
...Program Memory
...Verify Succeeded
...Loading DebugExecutive
...Programming DebugExecutive
...Debug Executive
...Programming Debug Vector
...Debug Vector
...Programming Configuration Bits
.. Config Memory Verifying configuration memory... Connecting to debug executive
ICD0083: Debug: Unable to enter debug mode. Please double click this message for more information.
MPLAB ICD 2 Ready

我也懷疑過configure bits中設定的問題,是不是有可能設定錯誤?或是我的程序有誤?
請問我要在哪可以查到我該如何設定?(我的板子是App026-3 CPU是PIC24FJ128GA006)
希望有碰過類似問題的前輩能賜教,感謝!

目前我的configure bits設定是:
Primary Oscillator select
->XT Oscillator Enabled
Primary Oscillator output Function
->OSCO pin has clock out function
Clock Switching and Monitor
->Sw Disabled, Mon Disabled
Osicllator Select
->Fast RC Oscillator with Postscaler
Internal External Switch over Mode
->Enabled
Watchdog Timer Enable
->Disable
以下除了JTAG為Enable外其他都Disable


發表於: 2008/1/9 23:55
頂部


Re: 安裝ICD2 USB diver的問題
#14
新會員
新會員


關於上述的問題我以自行解決,在安裝完Loader後要先將ICD2以USB與PC連接才能再安裝Client.即可順利完成,安裝說明上倒是沒詳細提到說安裝client時要先接上,只有在一開頭時提醒不要在安裝前接上ICD2.

發表於: 2008/1/8 20:51
頂部


安裝ICD2 USB diver的問題
#15
新會員
新會員


在安裝ICD2的USB diver時,我已照著C:\Program Files\Microchip\MPLAB IDE\ICD2\Drivers\ddicd2.htm中所述一步一步執行,但在安裝完 Microchip MPLAB ICD2Firmwave Loader後一切還順利,接著要安裝Microchip MPLAB ICD2Firmwave Client時卻會發生當機的現象.我連續試了幾次都還是無法安裝成功,想請問是否有人碰過這樣的問題?該怎麼解決?感謝幫忙
PS.我的PC作業系統是XP

發表於: 2008/1/8 17:33
頂部



« 1 (2)



:::

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

教育訓練中心

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