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.

[参考译文] TMS320F28335:如何从闪存而不是 RAM 运行 FIR 滤波器代码。

Guru**** 2594290 points
Other Parts Discussed in Thread: C2000WARE

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1200236/tms320f28335-how-to-run-fir-filter-code-from-flash-and-not-ram

器件型号:TMS320F28335
主题中讨论的其他器件:C2000WARE

我们正在使用来自 ConstrolSUITE\libs\dsp\fpu\v140_00\examples\2833x_fir\test_fpu_fir.c 的(CCS v7) FIR 滤波器示例代码

我相信这段代码目前是从 RAM 运行的。

问题:1. 我们可以从闪存运行此程序吗?

         2.如何从闪存中运行?

请说明

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

    请查看路径 C:\ti\c2000\C2000Ware_4_03_00_00\device_support\F2833x\examples\flash_F28335中的 C2000Ware 示例。  这将给出将段加载到闪存(并从 RAM 运行)的方法。  如果只希望加载到闪存、可以省略重映射和 memcopy 部分。  

    本质上、您只需要将链接器.cmd 文件更改为主程序代码(.text)、从而变为闪存地址与 RAM。  加载.out 文件时、code composer 会处理对闪存的写入操作。

    此致!

    Matthew