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.

TMS320F280025: 关于Flash API

Part Number: TMS320F280025
Other Parts Discussed in Thread: C2000WARE

SPNU631说F28002x有两种API库,一种是纯软件API(FlashAPI_F28002x_FPU32.lib),另一种是符号库(F28002xCPU1_BootROM_Symbols_fpu32.Lib)

现在遇到问题,如果是把前者加入到project中编译是OK的,如果是把后者加入到project中编译出现问题,提示关于API的所有接口函数Fapi_XXX()都找不到,如下文。

Building target: "led_ex1_blinky.out"
Invoking: C2000 Linker
"C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu32 --idiv_support=idiv0 --tmu_support=tmu0 -Ooff --define=DEBUG --define=RAM --define=_FLASH --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi -z -m"led_ex1_blinky.map" --heap_size=0x100 --stack_size=0x200 --warn_sections -i"C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/lib" -i"C:/ti/c2000/C2000Ware_4_03_00_00" -i"D:/ZhangJun/ccsV12_workspace/led_ex1_blinky/CPU1_RAM/syscfg" -i"C:/ti/ccs1220/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" -i"D:/ZhangJun/ccsV12_workspace/led_ex1_blinky/FlashAPI" --reread_libs --diag_wrap=off --display_error_number --xml_link_info="led_ex1_blinky_linkInfo.xml" --entry_point=code_start --rom_model -o "led_ex1_blinky.out" "./syscfg/board.obj" "./syscfg/c2000ware_libraries.obj" "./FlashAPI/BootLoader.obj" "./device/device.obj" "./device/f28002x_codestartbranch.obj" "./device/driverlib/adc.obj" "./device/driverlib/asysctl.obj" "./device/driverlib/bgcrc.obj" "./device/driverlib/can.obj" "./device/driverlib/clb.obj" "./device/driverlib/cmpss.obj" "./device/driverlib/cputimer.obj" "./device/driverlib/dcc.obj" "./device/driverlib/dcsm.obj" "./device/driverlib/dma.obj" "./device/driverlib/ecap.obj" "./device/driverlib/epwm.obj" "./device/driverlib/eqep.obj" "./device/driverlib/erad.obj" "./device/driverlib/flash.obj" "./device/driverlib/fsi.obj" "./device/driverlib/gpio.obj" "./device/driverlib/hic.obj" "./device/driverlib/hrcap.obj" "./device/driverlib/hrpwm.obj" "./device/driverlib/i2c.obj" "./device/driverlib/interrupt.obj" "./device/driverlib/lin.obj" "./device/driverlib/memcfg.obj" "./device/driverlib/pmbus.obj" "./device/driverlib/sci.obj" "./device/driverlib/spi.obj" "./device/driverlib/sysctl.obj" "./device/driverlib/version.obj" "./device/driverlib/xbar.obj" "./source/app_sci.obj" "./source/app_sci_debug.obj" "./source/app_sci_graph.obj" "./source/app_task.obj" "./source/main.obj" "../28002x_generic_flash_lnk.cmd" "../FlashAPI/F28002xCPU1_BootROM_Symbols.lib" "../device/driverlib/ccs/Debug/driverlib.lib" "../device/driverlib/ccs/Release/driverlib.lib" -lc2000ware_libraries.cmd.genlibs -llibc.a
<Linking>
warning #10189-D: archive symbol directory is missing from archive "../FlashAPI/F28002xCPU1_BootROM_Symbols.lib"

undefined first referenced
symbol in file
--------- ----------------
Fapi_checkFsmForReady ./FlashAPI/BootLoader.obj
Fapi_doBlankCheck ./FlashAPI/BootLoader.obj
Fapi_doVerify ./FlashAPI/BootLoader.obj
Fapi_getFsmStatus ./FlashAPI/BootLoader.obj
Fapi_initializeAPI ./FlashAPI/BootLoader.obj
Fapi_issueAsyncCommandWithAddress ./FlashAPI/BootLoader.obj
Fapi_issueProgrammingCommand ./FlashAPI/BootLoader.obj
Fapi_setActiveFlashBank ./FlashAPI/BootLoader.obj

error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "led_ex1_blinky.out" not built

>> Compilation failure
makefile:190: recipe for target 'led_ex1_blinky.out' failed

请帮忙解答下,看这个API符号库怎么加入到工程中,感谢!