Re: Configuration Memory燒錄問題
|
||||
---|---|---|---|---|
資深會員
|
好樣的 ....
基本上 答題者 並不一定有發問者同樣的環境, 所以答案有一半是用猜測的 ..... 所以 FEEDBACK 基本上是一種禮貌 , 也是讓答題者對答案有所確定...
發表於: 2009/11/1 22:44
|
|||
|
Re: Configuration Memory燒錄問題
|
||||
---|---|---|---|---|
中級會員
|
結果發現是:
1.使用icd3供電會找不到晶片的! 2.板子的電源過低 正常供電(目標外接電源)後,就能正常燒錄了!
發表於: 2009/10/30 14:25
|
|||
|
Re: Configuration Memory燒錄問題
|
||||
---|---|---|---|---|
資深會員
|
1. 可能是 目標板吃電太兇 , 將 ICD3 電壓拉下 , 試試看 目標板接電再燒錄
2. 原因可能如(1.) ; 在 CONFIGURE --> SELECT DEVICE...
發表於: 2009/10/30 11:07
|
|||
|
Re: Configuration Memory燒錄問題
|
||||
---|---|---|---|---|
資深會員
|
VDD 通常是 接 0.1 uF 到 VSS 作 退交連 用的 (要靠近 MCU)
100uF 是主電源濾波用
發表於: 2009/10/28 13:11
|
|||
|
Re: Configuration Memory燒錄問題
|
||||
---|---|---|---|---|
中級會員
|
參照:
VDD是做用100uF的電解電容,看裡面的說明書上標示VDD上的電容打叉 5V 那我改用3.3v試試…
發表於: 2009/10/28 13:00
|
|||
|
Re: Configuration Memory燒錄問題
|
||||
---|---|---|---|---|
資深會員
|
18F24J50 不能用 5V
VDD 上的電容無須去掉
發表於: 2009/10/28 12:24
|
|||
|
Configuration Memory燒錄問題
|
||||
---|---|---|---|---|
中級會員
|
使用環境:MPLAB V8.36 MCC18 V3.31 ICD3 PIC18F24J50
CONFIG 設定(XMAL=12MHZ) #pragma config WDTEN = OFF #pragma config PLLDIV = 5 #pragma config STVREN = ON #pragma config XINST = OFF #pragma config CPUDIV = OSC1 #pragma config CP0 = OFF #pragma config OSC = HSPLL #pragma config T1DIG = ON #pragma config LPT1OSC = OFF #pragma config FCMEN = OFF #pragma config IESO = OFF #pragma config WDTPS = 32768 #pragma config DSWDTOSC = INTOSCREF #pragma config RTCOSC = T1OSCREF #pragma config DSBOREN = OFF #pragma config DSWDTEN = OFF #pragma config DSWDTPS = 8192 #pragma config IOL1WAY = OFF #pragma config MSSP7B_EN = MSK7 #pragma config WPFP = PAGE_1 #pragma config WPEND = PAGE_0 #pragma config WPCFG = OFF #pragma config WPDIS = OFF 燒錄錯誤訊息: The following memory regions failed to program correctly: Configuration Memory Address: 0000fff8 Expected Value: 000000a6 Received Value: 00000000 Programming failed 查看之前文章所做的修改: 1.MCLP用10K電阻接到VDD 2.使用+5V電壓給VDD 3.去除掉VDD上電容 4.PGC、PGD上無I/O控制接腳 請問還有其他哪些需要做修改,謝謝
發表於: 2009/10/28 12:01
|
|||
|