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.

TMS320F28379D: falsh FPU搬移

Part Number: TMS320F28379D
Other Parts Discussed in Thread: C2000WARE

28379D 在用FLASH时 如何将FPU程序搬移到RAM中运行

  • 您好,我已经向资深工程师寻求帮助。有了结果我会第一时间回复

  • 您可以使用"memcpy(&RamfuncsRunStart, &RamfuncsLoadStart, (size_t)&RamfuncsLoadSize);"指令。这条指令会装载在链接文件中被分配到.TI.ramfunc部分的函数。在源代码中需要使用"#pragma CODE_SECTION(<FUNCTION_NAME>, ".TI.ramfunc");"。

    C2000Ware_4_XX_XX_XX\device_support\f2806x\examples\c28\flash_f28069下有一个相关例程,虽然不是针对F2837xD的,但是也很好的展示了如何使用memcpy函数将代码从FLASH中搬移到RAM中。

    任何需要在RAM中运行的FPU函数可以通过这种方式搬移。

x 出现错误。请重试或与管理员联系。