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.

[参考译文] TMS320F28P650DK:尝试使用闪存 API 函数对闪存区域中的 MCU 进行编程。 缺少闪存 API 中调用的函数的定义

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

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1449892/tms320f28p650dk-trying-to-use-flash-api-functions-to-program-the-mcu-in-flash-regions-definitions-of-functions-called-in-flash-api-are-missing

器件型号:TMS320F28P650DK
Thread 中讨论的其他器件:C2000WARE

工具与软件:

团队成员、您好!

我目前正在尝试使用闪存 API 函数对闪存区域中的 MCU 进行编程。

我已获取 SDK 套件中的"flashapi_cpu1_128bitprogramming.c"以供参考。 很遗憾、我遇到了编译问题、因为以下函数缺少函数定义、编译失败。

我在 SDK 套件中的任何文件中都没有看到函数定义、租赁让我知道成功编译所需的缺失文件。

首次引用了未定义的
符号
--- -------
Fapi_checkFsmForReady ./source/flashapi_cpu1_128bitprogramming.obj
Fapi_doBlankCheck ./source/flashapi_cpu1_128bitprogramming.obj
Fapi_getFsmStatus ./source/flashapi_cpu1_128bitprogramming.obj
Fapi_issueAsyncCommand ./source/flashapi_cpu1_128bitprogramming.obj
Fapi_issueAsyncCommandWithAddress ./source/flashapi_cpu1_128bitprogramming.obj
Fapi_setupBankSectorEnable ./source/flashapi_cpu1_128bitprogramming.obj

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

    尊敬的 Vinayak:

    我有几个问题可帮助缩小问题的范围:

    • 您使用的是哪个版本的 C2000Ware? 您是否导入了整个项目?
    •  工程中是否存在 FAPI_F28P65x_EABI_v3.00.02.lib? 是否正确链接了它?
      • 此外、是否存在相应的包含路径(C2000Ware/libraries/flash_api/f28p65x/include/FlashAPI 或${FlashAPI_include_root})?

    此致!

    Alex

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

    您好、Alex、

    以某种方式 从构建环境中排除了 FAPI_F28P65x_EABI_v3.00.02.lib。 包含该工程后、构建便成功完成。 非常感谢您的快速支持。

    此致、

    Vinayak