主题中讨论的其他器件:C2000WARE
您好!
您是否有用于删除 TMS320F2837xS 或 TMS320F2837xD 中的闪存并对其进行编程的示例项目或应用手册?
代码应从 RAM 中运行。
是否有任何特殊的编译器或链接器设置?
非常感谢
Fred
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.
您好!
您是否有用于删除 TMS320F2837xS 或 TMS320F2837xD 中的闪存并对其进行编程的示例项目或应用手册?
代码应从 RAM 中运行。
是否有任何特殊的编译器或链接器设置?
非常感谢
Fred
Fred、
您可以使用闪存 API 擦除闪存并对其进行编程。
1)
C2000Ware 中提供了闪存 API 使用示例、网址为:
\ti\c2000\C2000Ware_3_04_00_00\device_support\f2837xd\examples\dual\flash_programming
\ti\c2000\C2000Ware_3_04_00_00\device_support\f2837xs\examples\cpu1\flash_programming
上述示例在执行闪存擦除/编程操作之前将闪存 API 从闪存复制到 RAM。
2)
您可以参阅以下文档:
\ti\c2000\C2000Ware_3_04_00_00\libraries\flash_api\f2837xd
\ti\c2000\C2000Ware_3_04_00_00\libraries\flash_api\f2837xs
您可以在上述路径的 docs 文件夹中找到该文档。
3)
这些常见问题解答可能会有所帮助: https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/951697/faq-flash-frequently-asked-questions
谢谢、此致、
Vamsi