Re: App026-3 EVM v4.0 搭配 PIC24FJ128GA006 的測試
|
||||
---|---|---|---|---|
版主
|
http://www.microchip.com.tw/modules/wfdownloads/viewcat.php?cid=12
何仁杰有寫好的 Code Example for APP026-3,那裡就有 PMP 的 LCD 函數。
發表於: 2008/2/1 16:50
|
|||
|
Re: App026-3 EVM v4.0 搭配 PIC24FJ128GA006 的測試
|
||||
---|---|---|---|---|
初級會員
|
Dear ryan:
謝謝您的回覆, 利用ICD2來做DEBUG小弟已經會用了.. 利用ICD2修正完CODE, 搭配LOGIC ANALYZER去看時序, 一切都很正常, 但LCD就是出不來...(持續尋找BUG中...) 不知MICROCHIP是否有提供, APP026-3 for PIC24FJ128GA006 的LCD SAMPLE CODE 可供參考.. 網路上找到的文章, 都是以PMP為介面,小弟DOWNLOAD下來後,正在研究中... 謝謝您!!!
發表於: 2008/1/28 14:15
|
|||
|
Re: App026-3 EVM v4.0 搭配 PIC24FJ128GA006 的測試
|
||||
---|---|---|---|---|
版主
|
我也使用 APP023-3 PIC24FJ128GA006 來做實驗,Config. 的設定我是用第二組來除錯。燒錄沒問題 Debug 應該會動一下吧! 至少應該會跳到Main( ) 吧!
_CONFIG2(IESO_OFF & FNOSC_PRIPLL & FCKSM_CSDCMD & OSCIOFNC_OFF & POSCMOD_HS) // HS mode with x4 PLL, _CONFIG1(JTAGEN_OFF & GCP_OFF & GWRP_OFF & ICS_PGx2 & FWDTEN_OFF)
發表於: 2008/1/25 17:24
|
|||
|
App026-3 EVM v4.0 搭配 PIC24FJ128GA006 的測試
|
||||
---|---|---|---|---|
初級會員
|
Dear ALL:
底下的測試CODE是小弟由8bits MCU porting 過來, 目前編譯都是正常的, 在Configuration bits 設定內容大致如下: 1. HS Oscillator Enable 2. OSCO pin has clock out... 3. Sw Disable... 4. Primary Oscillator(XT,HS,EC) 5.... ... 8. Watch dog : Disable 9. EMUC1/EMUD1 shared with PCG1/PCD1 ... 13 JTAG Disable 利用ICD2燒錄到PIC24FJ128GA006 後LCD完全沒訊息.. 目前正在了解與學習ICD2 DEBUG 中, 看對 DEBUG CODE能否有點幫助. 不知到設定上是否有錯誤呢?? 感謝各位前輩的協助...
#include <p24FJ128GA006.h>
發表於: 2008/1/25 17:09
|
|||
|