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.

Starterware UARTEcho build errors out of the box

Other Parts Discussed in Thread: SYSBIOS

Hi, I'm trying to use the UARTEcho example program as supplied in the starterware code 1.1.0.6 SDK . When I load the project into CCS and try to build, I get the following errors, which I have never seen before.

 Please let me know how to use this code.

Thanks.

**** Build Finished ****

**** Build of configuration Release for project uartEcho ****

"C:\\TI\\ccsv5\\utils\\bin\\gmake" -k -j 1 -s all
'Building file: C:/TI/am335x_sysbios_ind_sdk_1.1.0.6/sdk/starterware/examples/evmAM335x/uart/uartEcho.c'
'Invoking: ARM Compiler'
'Finished building: C:/TI/am335x_sysbios_ind_sdk_1.1.0.6/sdk/starterware/examples/evmAM335x/uart/uartEcho.c'
' '
'Building target: ../../../../../../../binary/armv7a/cgt_ccs/am335x/evmAM335x/uart/Release/uartEcho.out'
'Invoking: ARM Linker'
<Linking>
error: file
   "../../../../../../../binary/armv7a/cgt_ccs/am335x/system_config/Release/sys
   tem.lib<exceptionhandler.obj>" has a Tag_ABI_VFP_args attribute value of "0"
   that is different than one previously seen ("1"); combining incompatible

>> Compilation failure
   files
error: file
   "../../../../../../../binary/armv7a/cgt_ccs/am335x/system_config/Release/sys
   tem.lib<cp15.obj>" has a Tag_ABI_VFP_args attribute value of "0" that is
   different than one previously seen ("1"); combining incompatible files
error: errors encountered during linking;
   "../../../../../../../binary/armv7a/cgt_ccs/am335x/evmAM335x/uart/Release/ua
   rtEcho.out" not built
gmake: *** [../../../../../../../binary/armv7a/cgt_ccs/am335x/evmAM335x/uart/Release/uartEcho.out] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****

  • Hello,

    If you are using Starterware alone, please use the original version -  . Industrial SDK uses a modified Starterware and only the drivers are used by the Industrial applications(sdk/examples). None of the starterware examples are validated or expected to work.

    Regards,
    Vinesh

  • "None of the starterware examples are validated or expected to work."       Wow! I didn't know that. Thank you.

  • So the starterware files that came in the SDK 1.1.0.6 I downloaded show a version of 2.00.01.01 and you say they're not expected to work, and the ones you reference in your link as the original version (that I'm assuming are supposed to work) are 2.00.01 with a patch for 2.00.01.01. Are these not expected to work either? I don't understand the difference.
  • Bob,

    I meant they maynot work out of the box. I think we had enabled VFP support for the libraries in Starterware and the libraries were updated accordingly. This might break the standard Starterware examples. If you use the original package, the libraries would be the ones with which Starterware examples would work.

    Regards,
    Vinesh
  • Hi Vinesh, I tried building the "new" UARTEcho and got the same errors, as you have eluded to. I don't know what VFP support means, but in looking through the Starterware links you sent, it makes mention of having to rebuild all of the libraries, which I did, and now the project builds without errors. It might be easier in the future just to remind people to rebuild the Starterware libraries when they install the package, or better yet, provide that function as a script during the Starterware installation process. This took a while to find.

    From:processors.wiki.ti.com/.../AM335X_StarterWare_Environment_Setup
    "Therefore, the libraries which are compulsorily needed (drivers, system configuration and platform) should be imported to the CCS Workspace and built before compiling the application."