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.

[参考译文] TMS570LC4357:F021闪存 API 编程组0

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1503217/tms570lc4357-f021-flash-api-programming-bank-0

器件型号:TMS570LC4357

工具/软件:

尊敬的 TI 团队

我看到 F021闪存 API 手册提到无法直接操作 bank0、需要将 F021闪存 API 相关的函数复制到 RAM 中才能直接操作。

我尝试将整个 main 函数复制到 RAM、也尝试仅将与 F021闪存 API 相关的函数复制到 RAM、但遗憾的是这两个函数都不起作用!

注意:已在 MPU 中启用 RAM 执行权限。

下面我将附上我的代码、请帮助了解问题发生的位置。

e2e.ti.com/.../TMS_5F00_52_5F00_FLASH_5F00_API_5F00_TEST.rar