Example MPC5604B Shadow Flash Reprogramming

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Example MPC5604B Shadow Flash Reprogramming

Example MPC5604B Shadow Flash Reprogramming

********************************************************************************

* Detailed Description:

* This example shows how to reprogram the shadow flash.

*

* It is highly recommended to read application note "Preventing Device Lockout

* via Censorship on MPC55xx and MPC563x Families"

* http://www.freescale.com/files/32bit/doc/app_note/AN3787.pdf

*

* This examples erases the shadow flash, then it restores censorship information

* and then NVUSRO nonvolatile register is reprogrammed to disable the watchdog.

* The watchdog is disabled by clearing of bit WATCHDOG_EN in NVUSRO. It ensures

* that watchdog is disabled automatically during startup of MCU.

* Watchdog can be also disabled by software (shown in the code).

*

* It is important to execute the code from RAM memory because Read-While-Write

* is not supported here.

*

* ------------------------------------------------------------------------------

* Test HW:  XPC56xxMB2 + XPC560B 144LQFP, SPC5604B, silicon mask set 2M27V

* Target :  internal_FLASH, RAM

*

********************************************************************************

标签 (1)
附件
无评分
版本历史
最后更新:
‎10-17-2014 12:24 AM
更新人: