STM32F407启用二级加密后,就没法使用模拟EEPROM了?

2020-01-07 19:23发布

如题。

发现开启Flash二级加密后,芯片的flash擦写函数就失效了,没法在片内Flash模拟EEPROM保存数据了。。。,这个坑也太大了吧?

大家也是这个情况吗?
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
32条回答
sme
2020-01-08 20:18
n_cell 发表于 2019-6-12 11:53
这个不是重点,重点是没法用了。。

ST很多新出的型号都有二级加密功能的,像F0或F3系列的,都有可能会用 ...

F0手册里没有提到二级加密不能擦写。

Level 2: no debug
In this level, the protection level 1 is guaranteed. In addition, the CortexM0 debug capabilities are disabled. Consequently, the debug port (SWD), the boot from RAM (boot RAM mode) and the boot from System memory (boot loader mode) are no more available.
In user execution mode, all operations are allowed on the Main Flash memory. On the contrary, only read and program operations can be performed on the option byte. Option byte are not accessible for erase operations.

一周热门 更多>