共2条
1/1 1 跳转至页
W78E58,ISP 谁作过W78E58的ISP功能的单片机部分程序啊?

问
请问F04KBOOT Mode 是干什么的?
我的理解是程序运行中如果出现故障,就会进入该模式,请求对32K的PROM的数据进行重新修改。不知道对不对啊?以下是datasheet的内容:
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. 答 1: datasheet 都没有看懂!兄弟:
我劝你把资料先看懂再来!都没有读完就到这里乱说!唉,电子业的悲哀! 答 2: 回复在一般情况下,程序从APROM执行,而如果在程序需要升级的情况下,程序可以直接从APROM跳到LDROM中,执行更新APROM的程序。如果APROM的程序不能完成跳转的动作的话,可以在上电的同时将P4.3或(P2.6和P2.7同时)拉低。这样程序就在LDROM上执行,也就可以更新程序了。 答 3: 是这样的,搞清楚了W78E58B内部的0000H-7FFFH的地址空间是APROM,8000开始的以后4K是LDROM,先写好ISP程序,烧到8000以后的LDROM之中,就可以了,程序每次默认从APROM启动,要进入LDROM进行ISP下载,有两种办法,软件的与硬件的:硬件的是让
P26=P27=0,软件的是给 CHPCON,CHPENT赋予一定的值就可以了。要完成ISP功能还要写一个后台的软件,单片机部分的程序好象可以到单片机开发网
www.mcurd.com 上面下载了。
答 4: 收集
我的理解是程序运行中如果出现故障,就会进入该模式,请求对32K的PROM的数据进行重新修改。不知道对不对啊?以下是datasheet的内容:
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. 答 1: datasheet 都没有看懂!兄弟:
我劝你把资料先看懂再来!都没有读完就到这里乱说!唉,电子业的悲哀! 答 2: 回复在一般情况下,程序从APROM执行,而如果在程序需要升级的情况下,程序可以直接从APROM跳到LDROM中,执行更新APROM的程序。如果APROM的程序不能完成跳转的动作的话,可以在上电的同时将P4.3或(P2.6和P2.7同时)拉低。这样程序就在LDROM上执行,也就可以更新程序了。 答 3: 是这样的,搞清楚了W78E58B内部的0000H-7FFFH的地址空间是APROM,8000开始的以后4K是LDROM,先写好ISP程序,烧到8000以后的LDROM之中,就可以了,程序每次默认从APROM启动,要进入LDROM进行ISP下载,有两种办法,软件的与硬件的:硬件的是让
P26=P27=0,软件的是给 CHPCON,CHPENT赋予一定的值就可以了。要完成ISP功能还要写一个后台的软件,单片机部分的程序好象可以到单片机开发网
www.mcurd.com 上面下载了。
答 4: 收集
共2条
1/1 1 跳转至页
回复
有奖活动 | |
---|---|
【EEPW电子工程师创研计划】技术变现通道已开启~ | |
发原创文章 【每月瓜分千元赏金 凭实力攒钱买好礼~】 | |
【EEPW在线】E起听工程师的声音! | |
“我踩过的那些坑”主题活动——第001期 | |
高校联络员开始招募啦!有惊喜!! | |
【工程师专属福利】每天30秒,积分轻松拿!EEPW宠粉打卡计划启动! | |
送您一块开发板,2025年“我要开发板活动”又开始了! | |
打赏了!打赏了!打赏了! |
打赏帖 | |
---|---|
多组DCTODC电源方案被打赏50分 | |
【我踩过的那些坑】STM32cubeMX软件的使用过程中的“坑”被打赏50分 | |
新手必看!C语言精华知识:表驱动法被打赏50分 | |
【我踩过的那些坑】杜绑线问题被打赏50分 | |
【我踩过的那些坑】STM32的硬件通讯调试过程的“坑”被打赏50分 | |
【我踩过的那些坑】晶振使用的问题被打赏100分 | |
【我踩过的那些坑】电感选型错误导致的处理器连接不上被打赏50分 | |
【我踩过的那些坑】工作那些年踩过的记忆深刻的坑被打赏10分 | |
【我踩过的那些坑】DRC使用位置错误导致的问题被打赏100分 | |
我踩过的那些坑之混合OTL功放与落地音箱被打赏50分 |