I am a newbie to the Code Composer Studio and to the TI processors in general, although I have been doing firmware development for many years. I have been asked to use an existing project to do a proof of concept for a produce and have been successful in installing the CC5.2 and importing two linked cc3.3 projects. However, I am having a problem with errors related to “Flash28335_API_V210.lib”. I am not sure I picked all the right options when I did the import as thee are some strange looking paths defined. The source that references the library and is getting errors is:
Flash28_API:
{
-lFlash28335_API_V210.lib(.econst)
-lFlash28335_API_V210.lib(.text)
}
The errors I am getting are shown in the attached file: "CompileErrors.txt" and the .cmd file where the source giving the errors is attached as "SourceWhereErrorOccurrs.txt". I would appreciate any help in getting past this problem as I have spent several days getting to this point and I still have not gotten to the code changes I need to make yet. thanks.
/Users/rex/workspace_v5_2/SCM/projects/scm/scm/../../../projects/scm/Debug/scm.out" not built scm C/C++ Problem
#10008-D .printf (COPY): {} cannot find file "Flash28335_API_V210.lib" F28335_BIOS_flash.cmd /scm line 46 C/C++ Problem
#10008-D cannot find file "Flash28335_API_V210.lib" F28335_BIOS_flash.cmd /scm line 45 C/C++ Problem
#188-D pointless comparison of unsigned integer with zero scm_tasks.c /scm line 425 C/C++ Problem
#552-D variable "rd_qposcnt" was set but never used scm_eqep.c /scm line 174 C/C++ Problem
#10191-D ./scmcfg.cmd object ".printf" is not allocated, but is being placed as part of allocated object "GROUP_1" scm line 373 C/C++ Problem
/**********************************************************************
* File: f28335_BIOS_flash.cmd -- Linker command file for DSP/BIOS code
* with DSP in Boot to Flash bootmode.
*
* History: 12/13/07 - original (D. Alter)
**********************************************************************/
MEMORY
{
PAGE 0: /* Program Memory */
/* Memory (RAM/FLASH/OTP) blocks can be moved to PAGE1 for data allocation */
ADC_CAL : origin = 0x380080, length = 0x000009 /* ADC_cal function in Reserved memory */
}
/**************************************************************/
/* Link all user defined sections */
/**************************************************************/
SECTIONS
{
/*** User Defined Sections ***/
scmParametersRam : > L47SARAM, PAGE = 1 /* SCM parameters ram storage place */
testRamArea : > L47SARAM, PAGE = 1
scmParametersFsh0 : > FLASH_2, PAGE = 1 /* SCM parameters flash storage place */
scmParametersFsh1 : > FLASH_3, PAGE = 1 /* SCM parameters flash storage place */
codestart : > BEGIN_FLASH, PAGE = 0 /* Used by file CodeStartBranch.asm */
csm_rsvd : > CSM_RSVD, PAGE = 0 /* Used by file passwords.asm */
passwords : > PASSWORDS, PAGE = 0 /* Used by file passwords.asm */
/* Allocate ADC_cal function (pre-programmed by factory into TI reserved memory) */
.adc_cal : load = ADC_CAL, PAGE = 0, TYPE = NOLOAD
/* Code to access Flash Memory must be copied into RAM to be run */
ramFuncs : LOAD = FLASH_01 /* Can be Flash */
RUN = L03SARAM /* Must be RAM */
LOAD_START(_ramFuncs_loadstart),
LOAD_END(_ramFuncs_loadend),
RUN_START(_ramFuncs_runstart),
PAGE = 0
Flash28_API:
{
-lFlash28335_API_V210.lib(.econst)
-lFlash28335_API_V210.lib(.text)
} LOAD = FLASH_01,
RUN = L03SARAM,
LOAD_START(_Flash28_API_LoadStart),
LOAD_END(_Flash28_API_LoadEnd),
RUN_START(_Flash28_API_RunStart),
PAGE = 0
}
/******************* end of file ************************/