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.
您好!
我正在尝试使闪存 API 在 F280609M 上工作。 在将 API 集成到项目中之前、我决定尝试一个已知的工作配置来检查闪存 API 是否能够重现某种 EEPROM 仿真。
因此、我将 C:\ti\controlSUITE\device_support\f2806x\v151\F2806x_examples_ccsv5\flash_programming 中的工程导入到 CCS7中、 按照说明将 Flash2806x_API_V100.lib 添加到工程中、并尝试构建调试配置。
失败时出现链接器错误。 以下是控制台输出:
****为项目 Example_2806xFlashProgramming 生成配置调试****
"C:\\ti\\ccsv7\\utils\\bin\\gmake"-k all
'构建目标:Example_2806xFlashProgramming.out'
'调用:C2000链接器'
"c:/ti/ccsv7/tools/compiler/ti-cgt-c2000_16.9.1.LTS/bin/cl2000 -v28 -ml -mt --cla_support=cla0 -float_support=softlib -vcu_support=vcu0 -define=flash_F28069 -define=flash_f28069 -define=large_model -g -diag_suppress=10063 -vcuit_warning="-ission_remark_ines"-"v2806xexample.cmpremote_link_ine"-"_ram_ines"-"_linepart_line_link_ram_ines"/content_influ_ines"-"-"_linepo"-"_linepo"-"_linepart_inchement-track_inese-ines"-"-"-"_ines"/content_ram_linepapi_linepapi_line.ti.com.cmpremote_infot_ine.tore.tore.cmpremote_infote_link_ines"-"-"-"-"-"-"-"-"-"-ines"-/ti/controlSUITE/device_support/f2806x/v151/F2806x_headers/cmd/F2806x_Headers_nonBIOS.cmd /ti/controlSUITE/device_support/f2806x/v151/F2806x_common/lib/2806x_BootROM_API_TABLE_Symbols.lib /ti/ccsv7/tools/compiler/ti-cgt-c2000_16.9.1.LTS/lib
备注:-buffer_diagnostics 已弃用、并将在后续操作中删除
版本。 默认行为是线路缓冲器诊断。
备注:自动 RTS 选择:在"rts2800_ml.lib"中链接以代替索引
库"libc.a"
>>编译失败
Makefile:148:目标'Example_2806xFlashProgramming.Out'的配方失败
警告:创建不带 SECTIONS 规范的输出段"csmpasswds"
警告:创建没有 SECTIONS 规范的输出段"csm_rsvD"
未定义的首次引用
符号
------ --------
_RamfuncsLoadEnd ./example_Flash2806x_api.obj
_RamfuncsLoadStart ./example_Flash2806x_api.obj
_RamfuncsRunStart ./example_Flash2806x_api.obj
错误:未解析的符号仍然存在
错误:链接期间遇到错误;"Example_2806xFlashProgramming.out"
未构建
Gmake:***[Example_2806xFlashProgramming.out]错误1.
gmake:目标"全部"不会由于错误而重新生成。
****构建完成****
我知道我可能做了一些事情、因为其他人在 https://e2e.ti.com/support/microcontrollers/c2000/f/171/t/318444之前让该项目进行编译、链接和运行
它看起来像是缺少的.cmd 文件、它指定诸如 csmpasswds、csm_rsvd 的段。 您是否包含了 example_Flash2806x_rom_api.cmd (或) example_Flash2806x_sw_api.cmd?