Part Number: TMS320F28377D
Tool/software: TI C/C++ Compiler
I am working on flash programming of 377D controller from communication. The command file is modified accordingly, which needs Flash APIs Library files (.obj files) to be copied to RAM. But while building below warning is shown.
"no matching section".
I have checked the file search path in linker properties, which is also OK.
I am stuck at this problem, as the memory is unallocated for those .obj files from the library. Please help.
Thanks in advance,
In reply to George Mock:
That is useful info however I have code in the file that calls what I presumed are the flash api for the f28377S that were used in example app.
When I comment that code in, in addition to the no matching section it will not link the app so I cannto get a map file and I get the following unresolved externals
Description Resource Path Location Type#10010 errors encountered during linking; "RFC.out" not built nGen Controller C/C++ Problem<a href="file:/c:/ti/ccsv6/tools/compiler/dmed/HTML/10234.html">#10234-D</a> unresolved symbols remain nGen Controller C/C++ Problemunresolved symbol Fapi_initializeAPI(volatile, first referenced in FMC_REGISTERS nGen Controller C/C++ Problemunresolved symbol Fapi_setActiveFlashBank(Fapi_FlashBankType), first referenced in ./UnloadApp.obj nGen Controller C/C++ Problem
These functions are listed in the flash api include file F021.h and were sued in the example app also
In addition the functions that call the flash API are also referenced in the application.
I can set breakpoints in them if I comment out the calls and allow application to link.
To verify this I instantiated the object in main and ran to code that would call the flash API if it were commented in.
In reply to maurywalters:
I'm not certain about how to interpret the error diagnostic. It is a confusing combination of compiler output and formatting from the Problems view in CCS. Next time, please copy-n-paste the compiler output from the Console view.
That said, I think this means your code calls the functions Fapi_initializeAPI and Fapi_setActiveFlashBank, but no implementation of those functions can be found. Usually, this means the library which contains these functions is not seen by the linker. That doesn't make much sense. But that is the only way I see to interpret it.
Thanks and regards,
TI C/C++ Compiler Forum ModeratorPlease click Verify Answer on the best reply to your questionThe CCS Youtube Channel has short how-to videosThe Compiler Wiki answers most common questionsTrack an issue with SDOWP. Enter your bug id in the Search box.
At this point, the only way I see forward is for you to submit the full CCS project. That is the only way this problem can be diagnosed. Please see this post for details on how to submit your project.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.