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.

[参考译文] TMS320F28P550SJ:尝试链接位置管理器#39;s F28P55OSJ 上的 BiSS-C 库

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1397123/tms320f28p550sj-trying-to-link-position-manager-s-biss-c-library-on-f28p55osj

器件型号:TMS320F28P550SJ
Thread 中讨论的其他器件:C2000WAREcontrolSUITE

工具与软件:

我正在尝试设置一个项目以便在 F28P55OSJ 上运行、使用控制套件中的 BiSS-C 库、并感到有些麻烦。 以下是我所做的工作:

  1. 从 C2000ware 5.02中的适当目录导入了 empty_driverlib_project 到我的工作区。
  2. https://www.ti.com/lit/ug/sprui37/sprui37.pdf 的第4节所述、尝试从 controlSUITE 中链接 BiSS-C 库
  3. 获得有关使用 COFF ABI 的 PM_bissC_Lib.lib 的警告、因此与工程中的 ABI 设置不兼容。
  4. 更改了工程 ABI 设置以使用 legacy-COFF 并重新编译。
  5. 获得有关 driverlib ABI 的类似警告。
  6. 删除了 driverlib 的工作区链接、并从工程中取消排除 driverlib 源文件、以便使用 COFF 重建这些文件。
  7. 已禁用 TMU。
  8. 重新编译(并确认 driverlib 源文件的确在构建过程中被编译)。
  9. 仍收到这些警告:

#10373-D library "../device/driverlib/ccs/Debug/driverlib.lib" contains ELF object files which are incompatible with the TI-COFF output file.  Ensure you are using the proper library.	empty_driverlib_project		 	C/C++ Problem
#10373-D library "../device/driverlib/ccs/Release/driverlib.lib" contains ELF object files which are incompatible with the TI-COFF output file.  Ensure you are using the proper library.	empty_driverlib_project		 	C/C++ Problem

我重复了上述步骤、跳过了 BiSS-C 库部分、以便查看我是否至少能够首先使用 COFF ABI 构建空的 driverlib 项目、但仍然能够获得上述警告。

我使用的 C2000ware 版本(5.02)似乎没有适合此器件的位字段标头、因此我假设我一直使用 driverlib、除非我自己写这些标头... 因此、对于如何使用 driverlib 将 BiSS-C 库链接到新的 CCS 项目的指导或建议 、不胜感激!

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

    大家好-在4Q (sept/oct)中、我们将为 P65x 发布此库的版本。 这将解决您看到的问题。