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.

[参考译文] CC2538:无法使用闪存控制寄存器擦除闪存

Guru**** 2530360 points
Other Parts Discussed in Thread: CC2538

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/zigbee-thread-group/zigbee-and-thread/f/zigbee-thread-forum/932028/cc2538-unable-to-erase-flash-with-flash-control-registers

器件型号:CC2538

您好!

我正在尝试使用闪存控制寄存器通过 OpenOCD 擦除 CCA (0x0027F800)。

在 FLASH_CTRL_FADDR 中将闪存页设置为擦除

 mww 0x400D300C 0x1FE00

启用 UPPER 页_ACCESS 并通过将 FCTL.ERASE 位设置为1来启动擦除操作

 mww 0x400D3008 0x205

但之后、CCA 闪存页保持不变。

有人能帮助我还是指出我做了些什么错吗?

有关闪存控制寄存器的详细信息、请参阅 https://www.ti.com/lit/ug/swru319c/swru319c.pdf 第8.10节

提前感谢您。