在线时间2220 小时
UID3253523
注册时间2016-3-21
NXP金币2839
该用户从未签到
超级版主
 
- 积分
- 24849
- 最后登录
- 2025-7-17
|
发表于 2016-4-19 13:34:11
|
显示全部楼层
本帖最后由 小恩GG 于 2016-4-19 16:57 编辑
楼主你好!
看下这个应用笔记:
http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4507.pdf
第11页:
3.3.1 Mass erase
Both the Debug and EzPort mass erase commands ignore flash protection settings, so mass erase can be used as long as the
FSEC setting has mass erase enabled, to return the chip to the default state where none of the flash is protected.
NOTE
The flash Erase All Block command checks the flash protection settings. The command
will not execute if any of the flash regions are protected. So, in order to use mass erase to
clear the protection settings, the JTAG/debugger or EzPort method must be used.
也就是说,如果mass erase使能的话,使用SWD接口调试器,还是能够全片擦除的,除非你在FSEC中关闭mass erase使能位。
|
|