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.

I2c LED example errors

Other Parts Discussed in Thread: AM3359

Hi ,

These are my configurations : 

  • SYSBIOS 6.41.00.26 Real Time Operating System
  • XDC 3.30.05.60
  • NDK 2.24.01.18
  • TI ARM compiler >=5.1.5

When I try to build the I2C_led example I get the following error :

-l"C:\ti\am335x_sysbios_ind_sdk_1.1.0.6\sdk/starterware/binary/armv7a/cgt_ccs/am335x/evmAM335x/platform/platform.lib" -l"rtsv7A8_A_le_n_v3_eabi.lib" 
<Linking>
error: file
   "C:\ti\bios_6_41_00_26\packages\ti\targets\arm\rtsarm\lib\ti.targets.arm.rts
   arm.aea8fnv<Assert.oea8fnv>" has a Tag_PCS_config attribute value of "1"
   that is different than one previously seen ("0"); combining incompatible
   files

I get many such errorssimilar to this e.g :

   

  error: file
"C:\ti\am335x_sysbios_ind_sdk_1.1.0.6\sdk/platform/am335x/lib/am335x_platfor
m.lib<plat_i2c.obj>" has a Tag_PCS_config attribute value of "1" that is
different than one previously seen ("0"); combining incompatible files


and it doesnt create the .out file.

Can anyone please tell me what the issue is ? 

Thank you

  • Adnan,

    You indicate “TI ARM compiler >= 5.1.5”.  Which specific version are you using when you get these errors? 

    This was a known issue that was resolved in the 5.1.5 release.  

    If you are indeed using a 5.1.5 or later release... have you tried cleaning and rebuilding the project after selecting the later compiler? I don't know if that should be necessary, but it is worth a try.

    If you still see an issue this thread should probably be moved to the compiler forum.  I'll wait for your reply before requesting that...

    Regards,
    Scott

  • Hi Scott,

    Thank you for replying this fast.

    My TI arm sompiler version is 5.1.13 , I tried clean and rebuild and it gave me some other errors. I don't get the previous errors. The new error is :
    "../AM3359.cmd", line 20: error: SRAM memory range overlaps existing memory
    range SRAM_HI
    "../AM3359.cmd", line 21: error: L3OCMC0 memory range overlaps existing memory
    range OCMC_SRAM
    "../AM3359.cmd", line 24: error: DDR0 memory range overlaps existing memory
    range DDR3


    here is the code :

    SRAM: o = 0x402F0400 l = 0x0000FC00 /* 64kB internal SRAM */
    L3OCMC0: o = 0x40300000 l = 0x00010000 /* 64kB L3 OCMC SRAM */
    M3SHUMEM: o = 0x44D00000 l = 0x00004000 /* 16kB M3 Shared Unified Code Space */
    M3SHDMEM: o = 0x44D80000 l = 0x00002000 /* 8kB M3 Shared Data Memory */
    DDR0: o = 0x80000000 l = 0x40000000 /* 1GB external DDR Bank 0 */

    Thank you
  • Hi Adnan,

    I searched and see similar problems reported and resolved (by excluding AM3359.cmd and using AM335x.cmd instead), in this thread on the Sitara forum: e2e.ti.com/.../269719

    Regards,
    Scott

  • Thank you Scott ,It worked :).