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


Browsing this Thread:   1 Anonymous Users






Re: 關於 APP001 的問題....
#6
版主
版主


查看用戶資訊
在檢查一下 configuration 的 Oscillator 設定是否為 HS Mode
, 其它的都設為 Disable

發表於: 2005/4/1 18:13
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 關於 APP001 的問題....
#5
初級會員
初級會員


查看用戶資訊
再次感謝版主大大:

關於您所說的方法我都試過,但是皆無法使用(無論用 Programmer Mode 或 Debug Mode皆然),不知是 PIC18F452 的 CHIPSHIP 內部 BOOT LOADER 的程式部分被清掉,導致無法正確 DEBUG 或 燒入程式至 MPU 中,還是其他狀況,不知各位有何高見,煩請給予指教,謝謝!!!

發表於: 2005/4/1 17:57
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 關於 APP001 的問題....
#4
版主
版主


查看用戶資訊
*** ICD0083: Target not in debug mode, unable to perform operation
這個訊息顯示出 ICD2 無法進行除錯的工作,這是因為你用了Porgrammer Mode 的關係。
到主目錄下選 Debugger --> MPLAB ICD2 就可以了。

1. 用 Programmer Mode 燒IC : ICD2 無法對PIC除錯,但此時 PIC 可以單獨執行(Stand-Alone Mode)
2. 要用ICD2 除錯,一定要用 Debugger Mode 去燒錄 PIC

發表於: 2005/4/1 14:17
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 關於 APP001 的問題....
#3
初級會員
初級會員


查看用戶資訊
感謝版主大大的說明:

1.如果 DEMO 程式被洗掉,應不會有任何的關係,因為我們會重新裝上
新的專案程式

2.但是對於 "Timer 0 設定錯誤無法讓Timer0計數造成永久迴圈" 旳問題就比較奇怪了,
因為我並沒有修改原始程式,只是依 User's Guide 將該專案檔建立起來,並把相關檔案
加進來,應不致於會發生錯誤吧,還是在環境的設定上有問題?

以下概括的說明設定的環境:
====================================
選擇 Configure>Configuration Bits

Oscillator — EC-OS2 as RA6
• OSC Switch Enable — Disabled
• Power Up Timer — Enabled
• Brown Out Detect — Disabled
• Watchdog Timer — Disabled
• CCP2 Mux — RC1
• Low Voltage Programming — Disabled
**(註1.) • Background Debug — Enabled (為什麼沒有這個選項設定)
• Stack Overflow Reset — Disabled
• disable all others setting...

**(註1.) 我在 Configure>Configuration Bits 的設定項目中看不到這個選項,不知是否要在其他地方加以設定..

另外我選擇以 Program->Program 選項運作時在 MPLAB ICD 2 的顯示視窗時則出現以下訊息:
*********************************************
Programming Target...
...Erasing Part
...Loading DebugExecutive
...Programming DebugExecutive
...Programming Debug Vector
...Programming RSBUG
Verifying...
...Debug Executive
...Debug Vector
...Verify Succeeded
Programming Configuration Bits
.. Config Memory
Verifying configuration memory...
...Verify Succeeded
Connecting to debug executive
*** ICD0083: Target not in debug mode, unable to perform operation
MPLAB ICD 2 Ready
*********************************************
其中的 *** ICD0083: Target not in debug mode, unable to perform operation, 是否是因為 Background Debug 未 Enable 的關係,若是則應該在何處設定呢?還是 Oscillator 的選項是錯誤的....

附帶說明使用的系統:
WinMe OS
MPLAB IDE V6.60(公司原版)
Demo Board: EVM:APP001 REV.2 20041014
ChipSet: PIC18F452
Communication Type : USB
Oscillator : 16000 KSS 8ET

謝謝!!

發表於: 2005/4/1 9:53
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 關於 APP001 的問題....
#2
版主
版主


查看用戶資訊
1. 原先的 Demo 程式被洗掉了
2. Timer 0 設定錯誤無法讓Timer0計數造成永久迴圈,請檢查程式。

發表於: 2005/3/31 18:38
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


關於 APP001 的問題....
#1
初級會員
初級會員


查看用戶資訊
各位先進大家好:

請問為何在 DEMO BOARD (APP001) 上電後,無法在LCD上秀出板子的版本(即無任何畫面,應該會有開機畫面顯示溫度,版本..),並且LED燈亦不會再閃動,但是我在PC 上執行 MPLAB IDE 的範例專案程式 TUT452 卻可以編譯,且 Debugger->Connect 亦 ok(已確定 MPLAB ICD2 已透過 USB 連接至 PC, 且 6pin 連接插座亦連接上 APP001),但是執行的時候會一直在下列程式段空轉

Main
ICD0157 btfss INTCON,TMR0IF ;Wait for Timer0 to timeout
goto Main

不知為何會如此,麻煩各位給我一些意見或說明,謝謝!!!

發表於: 2005/3/31 18:25
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... ]

教育訓練中心

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