按照文档,密码区域如果全部写0,就会永远加密了。那么如果我的固件具备自动擦除密码区域扇区FLASHA的功能,自动擦除FLASHA以后,能否自动解除加密呢?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
吐槽下C2000的擦除操作,居然是FLASH存储单元全部变0,然后再变1,擦除过程断电大概率锁死。
The erase process first programs all cells as zeroes and then removes the charge from the bits in the sector until all bits are erased. If the execution stops after the CSM locations are rogrammed as zeroes but before the charge is removed, it will become permanently locked.
更好的设计应该是全部写入特定非0密钥(如0xCCCC)锁死。避免擦除断电锁死的杯具。
当然,用我的XBOOT那种可以自我擦除的方式也可以,解密过程完全不需要知道密钥,全部写0也没关系。
我现在连续烧坏了几块板子,Flash被锁死,能否告知擦除Flash的具体方法,望不吝赐教,谢谢