Re: 如何燒錄pic18f452
|
||||
---|---|---|---|---|
新會員
|
我發現了一個問題
1.我插上16f877(購買PICDEM.net BOARD附的)時lcd有顯示ip:16.17.18.19 2.而第一次插上18f452(學弟交接給我的),lcd也有顯示ip:10.10.5.15 3.後來為了再看看16f877的網頁檔,所以用終端機下載webpage.rom(光碟附的)至24LC256(用終端機應該是下載至此I2C吧),此時16f877的網頁可觀看,但再度插上18f452時lcd卻顯示DHCP/Gleaning...,使原本的ip不見了,請問我應該怎麼做?謝謝
發表於: 2004/7/8 21:05
|
|||
|
Re: 如何燒錄pic18f452
|
||||
---|---|---|---|---|
新會員
|
現在已經可以使用終端機了,而我在終端機按下
(6: Disable DHCP and IP Gleaning.),接著save後,看到PICDEM.net DEMO BOARD的LCD顯示10.10.5.15,據我所知這是deault的ip位址, 然後又在終端機設定9600bps,按下MCLR此時終端機顯示空白(本來應該顯示ChipWeb v1.03 10.10.5.15),也無法傳送網頁檔至24LC256 請問為什麼會這樣?thanks ps;如果是我disable DHCP and IP Gleaning的關係,可是不這樣的話無法讓LCD顯示ip位址
發表於: 2004/7/7 15:49
|
|||
|
Re: 如何燒錄pic18f452
|
||||
---|---|---|---|---|
版主
|
離開終端機,再重新進去一次看看,可能就好了。
有時候終端機那個程式就是這麼奇怪,會無法接受鍵盤傳出去的指令。真正原因是什麼我也不知道。
發表於: 2004/7/7 11:21
|
|||
|
Re: 如何燒錄pic18f452
|
||||
---|---|---|---|---|
新會員
|
我現在已經可以使用ICD2燒錄PIC18F452,但是PICDEM.net DEMO BOARD的LCD依舊顯示DHCP\Gleaning...,
接著我久按RB5,再按MCLR,LCD顯示MCHPStack v2.11 Board Setup..., 而終端機顯示(設定19200bps,8data bits,1 stop bit and no parity,no flow control) MCHPStack Demo Application v1.0 (Microchip TCP/IP Stack 2.0) 1: Change Board serial number. 2: Change default IP address. 3: Change default gateway address. 4: Change default subnet mask. 5: Enable DHCP & IP Gleaning. 6: Disable DHCP & IP Gleaning. 7: Download MPFS image. 8: Save & Quit. Enter a menu choice (1-8): 可是我要按數字1-8都無法按,請問為什麼?
發表於: 2004/7/7 11:00
|
|||
|
Re: 如何燒錄pic18f452
|
||||
---|---|---|---|---|
新會員
|
1.我照著PICDEM.NET USER'S GUIDE的2.4節做,dos確實有顯示ip但我的PICDEM.net DEMO BOARD的LCD上依舊顯示DHCP/Gleaning...,而終端機畫面上依舊空白
2.後來插上ip分享器,LCD有顯示ip,但在終端機上依舊沒顯示ip,也無法更改其ip 請問版主還有別的辦法嗎?謝謝
發表於: 2004/7/4 21:14
|
|||
|
Re: 如何燒錄pic18f452
|
||||
---|---|---|---|---|
版主
|
請參考以下的連結:
http://www.microchip.com/stellent/idc ... Id=1406&dDocName=en010029 其中有PICDEM.NET的USER'S GUIDE,及ERRATA,似乎就有您的問題的解答。 就我目前所知,Gleaning表示它正在找DHCP host端 (就像是所謂IP-分享器之類的東西)給它IP;當找到之後,它就會顯示獲得的IP。
發表於: 2004/7/2 16:04
|
|||
|
Re: 如何燒錄pic18f452
|
||||
---|---|---|---|---|
新會員
|
1.我想IC應該OK,因為在 MPLAB IDE下用ICD2可以抹除IC
2.我不曉得版主所指的PIC18F452原裝程式是什麼,一般買來時不都是空白的單晶片嗎,假如要原裝default程式,請問要到哪下載? 3. 現在我從microchip網站上下載AN833 source code後,用萬用燒錄器燒錄到18f452插上PICDEM.net DEMO BOARD,其LCD上顯示 MCHP stack v2.11 DHCP/Gleaning... 而據我所知應該顯示ip才對,所以我用終端機想要更改或顯示其ip(久按RB5、再按MCLR),但終端機上都沒有顯示,LCD上卻顯示 MCHP stack v2.11 Board Setup... 請問我應該怎麼做?謝謝 PS:謝謝版主這麼有耐心看完此問 題且快速回答,謝謝
發表於: 2004/7/2 15:33
|
|||
|
Re: 如何燒錄pic18f452
|
||||
---|---|---|---|---|
版主
|
有一個疑點、三個答案或澄清:
1、IC有沒有壞? 2、要選擇燒錄案的話,請從MPLAB左上角的FILES>IMPORT著手。 3、ICD2沒那麼厲害可以直接燒到EEPROM。 4、24LC256存著網頁內容。要配合「終端機」程式,透過RS232來修改它。不過,前題是PICDEM.NET上的PIC18F452原裝程式要會動才行!恐怕它的內容已被您毀了,您得先找到default的程式,經由上述第2點,將一切恢復原狀再說。
發表於: 2004/7/1 22:40
|
|||
|
如何燒錄pic18f452
|
||||
---|---|---|---|---|
新會員
|
1.我使用PICDEM.net DEMO BOARD & MPLAB ICD2,要燒錄pic18f452,在MPLAB IDE v6.40選擇programmer -> select programmer -> MPLAB ICD2後,按下connect,接著按下畫面右上方圖示program target device,然後出現以下訊息
Connecting to MPLAB ICD 2 ...Connected Setting Vdd source to target Target Device PIC18F452 found, revision = 0x6 ...Reading ICD Product ID Running ICD Self Test ...Passed MPLAB ICD 2 Ready Programming Target... ...Erasing Part ...Programming Program Memory (0x0 - 0x577F) ICD0152: Failed to read all of requested bytes (0x0 of 0x8) ICD0151: Failed to sync memory (MT = Program) (Dir = 0x1) ICD0152: Failed to read all of requested bytes (0x0 of 0x2) ICD0082: Failed MPLAB ICD 2 operation ICD0082: Failed MPLAB ICD 2 operation ICD0082: Failed MPLAB ICD 2 operation ICD0082: Failed MPLAB ICD 2 operation ICD0275: Programming failed. MPLAB ICD 2 Ready 請問大大哪裡出錯(build all全ok),我看過MPLAB IDE v6.10中文使用手冊,但它都是教debugger,另外如何選擇我要的 燒錄檔案,不然我按下program target device,它就自己燒 錄,到底正在燒哪個檔案我也不知道阿 2.如何選擇要燒錄外部EEPROM(8pin角座,我插上24LC254)
發表於: 2004/7/1 21:10
|
|||
|