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.
Hello Ti team,
I'm currently trying to use FlashAPI in my (driverlib-based) project.
I am not familiar with adding a library to a project. I usually just built the project from existing examples.
However, I need to add FlashAPI this time, so I added the library, but I'm getting this error code.
Are there any materials summarizing the steps for adding libraries to a project? I've been using the following steps, but I'm not sure if it's correct.
1. Drag and drop the F021_API_F2837xD_FPU32.lib to my project
2. C2000 Comiler > include options > Add dir to #include search path
3. C2000 Linker > File Search Path > Add <dir> to library search path
Thanks.
Sincerely,
Jungwoo
Hi Jungwoo,
Yes that would be the procedure for adding a Flash API library. I notice that for your forward slashes are represented by the Won symbol. Would there not be a difference with forward slash font? I've attached below what the directory looks like for Include and File Search Path options. Is it possible you could try adding the nonBIOS linker cmd header (seen in File Search Path options image).
Let me know if this changes anything.
Thanks and regards,
Charles
Hello Charles,
I changed it to a forward slash, but I'm still getting the same error message.
try adding the nonBIOS linker cmd header
Where can I find the nonBIOS linker cmd? In my project, I can only find 2837xD_FLASH_lnk_cpu1.cmd.
Although the flashapi_ex1_program_autoecc example is for f28004x, I'm using it as a reference since it uses both driverlib and flashapi. I can't seem to find any differences. Is there any other approach I can try?
Sincerely,
Jungwoo
Hi Jungwoo,
The nonBIOS linker cmd can be found at this path: C:\ti\c2000\C2000Ware_4_03_00_00_Testing\libraries\boot_rom\f2837xd\revB\rom_sources\F2837x_headers\cmd
When you right click on the driverlib.lib file, what does the path look like for it?
Another thing to try would be importing the base Flash API Programming project (flash_programming_cpu01) and building your project on top of it as a base.
I'll continue to follow with your responses.
Thanks and regards,
Charles
Hello Charles,
Sorry for the delay. I added the linker command, but it doesn't seem to be working.
I'll try building my project into the flashapi example.
Thanks!!!
Sincerely,
Jungwoo.