|
|||||||||||
| 技術(shù)交流 | 電路欣賞 | 工控天地 | 數(shù)字廣電 | 通信技術(shù) | 電源技術(shù) | 測控之家 | EMC技術(shù) | ARM技術(shù) | EDA技術(shù) | PCB技術(shù) | 嵌入式系統(tǒng) 驅(qū)動編程 | 集成電路 | 器件替換 | 模擬技術(shù) | 新手園地 | 單 片 機 | DSP技術(shù) | MCU技術(shù) | IC 設(shè)計 | IC 產(chǎn)業(yè) | CAN-bus/DeviceNe |
誰作過W78E58的ISP功能的單片機部分程序。 |
| 作者:huangxd 欄目:單片機 |
請問F04KBOOT Mode 是干什么的? 我的理解是程序運行中如果出現(xiàn)故障,就會進入該模式,請求對32K的PROM的數(shù)據(jù)進行重新修改。不知道對不對啊?以下是datasheet的內(nèi)容: By default, the W78E58B boots from APROM program after a POWER on reset. On some occasions, user can force the W78E58B to boot from the LDROM program via following settings. The possible situation that you need to enter F04KBOOT mode when the APROM program can not run properly and DEVICE can not jump BACK to LDROM to execute in-SYSTEM PROGRAMMING function. Then you can use this F04KBOOT mode to force the W78E58B jumps to LDROM and executes in-SYSTEM PROGRAMMING procedure. When you design your SYSTEM, you may reserve the pins P2.6, P2.7 to switches or jumpers. For example in a CD-ROM SYSTEM, you can connect the P2.6 and P2.7 to PLAY and EJECT buttons on the panel. When the APROM program fails to execute the normal application program. User can press both two buttons at the same time and then turn on the POWER of the personal COMPUTER to force the W78E58B to enter the F04KBOOT mode. After POWER on of personal COMPUTER, you can release both buttons and finish the in-SYSTEM PROGRAMMING procedure to update the APROM code. In application SYSTEM design, user must take care of the P2, P3, ALE, EA and PSEN pin VALUE at reset to prevent from accidentally activating the PROGRAMMING mode or F04KBOOT mode. |
| 2樓: | >>參與討論 |
| 作者: myway 于 2005/3/17 9:26:00 發(fā)布:
datasheet 都沒有看懂! 兄弟: 我勸你把資料先看懂再來!都沒有讀完就到這里亂說!唉,電子業(yè)的悲哀! |
|
| 3樓: | >>參與討論 |
| 作者: bill qiu 于 2005/3/18 19:01:00 發(fā)布:
回復(fù) 在一般情況下,程序從APROM執(zhí)行,而如果在程序需要升級的情況下,程序可以直接從APROM跳到LDROM中,執(zhí)行更新APROM的程序。如果APROM的程序不能完成跳轉(zhuǎn)的動作的話,可以在上電的同時將P4.3或(P2.6和P2.7同時)拉低。這樣程序就在LDROM上執(zhí)行,也就可以更新程序了。 |
|
| 4樓: | >>參與討論 |
| 作者: huangxd 于 2005/3/21 21:04:00 發(fā)布:
是這樣的,搞清楚了 W78E58B內(nèi)部的0000H-7FFFH的地址空間是APROM,8000開始的以后4K是LDROM,先寫好ISP程序,燒到8000以后的LDROM之中,就可以了,程序每次默認從APROM啟動,要進入LDROM進行ISP下載,有兩種辦法,軟件的與硬件的:硬件的是讓 P26=P27=0,軟件的是給 CHPCON,CHPENT賦予一定的值就可以了。要完成ISP功能還要寫一個后臺的軟件,單片機部分的程序好象可以到單片機開發(fā)網(wǎng) www.mcurd.com 上面下載了。 |
|
| 5樓: | >>參與討論 |
| 作者: lqtd2000 于 2005/3/23 17:49:00 發(fā)布:
收集 |
|
|
|
| 免費注冊為維庫電子開發(fā)網(wǎng)會員,參與電子工程師社區(qū)討論,點此進入 |
Copyright © 1998-2006 m.58mhw.cn 浙ICP證030469號 |