共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 跳转至页
回复
我要赚赏金打赏帖 |
|
|---|---|
| 【S32DS】S32K3 RTD7.0.1 HSE 组件配置报错问题解决被打赏¥27元 | |
| 【S32K3XX】MCME 启动 CORE1被打赏¥23元 | |
| AG32VH407下温度大气压传感器及其检测被打赏¥20元 | |
| AG32VH407下光照强度传感器BH1750及其检测被打赏¥22元 | |
| AT32VH407下使用温湿度传感器DHT22进行检测被打赏¥20元 | |
| DIY一个婴儿澡盆温度计被打赏¥34元 | |
| 【FreeRtos】FreeRtos+MPU region 配置规则被打赏¥23元 | |
| 【分享开发笔记,赚取电动螺丝刀】三分钟快速上手驱动墨水屏(ArduinoIDE)被打赏¥28元 | |
| 【S32K3XX】LIN 通讯模块使用被打赏¥31元 | |
| 【FreeRtos】FreeRtos + MPU模块的配置使用被打赏¥32元 | |
我要赚赏金
