标题: 有谁在烧k60时遇到这个错误? [打印本页] 作者: 陌路樱花泪 时间: 2012-10-17 21:54 标题: 有谁在烧k60时遇到这个错误? 执行任务MK60N512VMD100错误。Error: Couldn't write flash driver to target. Memory verify failed at location: 0x20000作者: ☆_。寒泉..+ 时间: 2012-10-17 22:05
芯片锁了? 去我帖子里面找K60成功解锁,认真进行,就能解锁flash作者: beandy 时间: 2012-11-3 13:21
兄弟 你的问题解决了吗 我也遇到这样的问题了 你怎么解决的呢?作者: jiyiboloann 时间: 2012-11-3 16:02
将调试器的模式改为“mass erase”,重新烧录一下程序即可解锁。
以下摘自K60官方参考手册有关“Security Interactions with Debug”的说明:
When flash security is active the JTAG port cannot access the memory resources of the
MCU. Boundary scan chain operations work, but debugging capabilities are disabled so
that the debug port cannot read flash contents.
Although most debug functions are disabled, the debugger can write to the Flash Mass
Erase in Progress bit in the MDM-AP Control register to trigger a mass erase (Erase All
Blocks) command. A mass erase via the debugger is allowed even when some memory
locations are protected.
When mass erase is disabled, mass erase via the debugger is blocked.作者: g106 时间: 2013-4-3 21:55