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.

TM4C129ENCPDT: Update to latest XDCTools, SYSBIOS, and compiler causes errors on compilation

Part Number: TM4C129ENCPDT
Other Parts Discussed in Thread: SYSBIOS

Hello all,

We are updating our projects to the latest versions of TI libraries

Compiler TI v20.2.4 LTS

XDCTools 3.62.0.08_core

SYS/BIOS 6.83.0.18

CCS v10.2

I was successfully able to do this with our Delfino project, but I am having trouble updating our Tiva project.

I get the following error:

xdc.cfg.Program.SectionSpec#1: incompatible assignment to loadAddress : "INTVECS"

When I click on this error, it brings up 'Hwi.xs' file line 676. See attached file.

This appears to be related to a past change performed by my coworker to fix a similar issue.

e2e.ti.com/.../2077371

Can someone help me identify why this is occurring and why this fix is no longer working?

Previously, the project was set for

Compiler TI v18.1.5 LTS

XDCTools 3.51.1.18_core

SYS/BIOS 6.75.1.05

CCS 9.3.0

  • When using TI-RTOS on TM4C you should use version 2.16.01.14. You should use XDCtools version 3.32. I have used these version with compiler version 20.2.4 and Code Composer Studio version 10.

  • Hi Bob,

    TM4C shows as being supported by 6.83. We have updated our project to 6.75.1.05 and did not have any issue when we were using CCS 9.3

    That said, this does appear to be an issue with CCS10 and SYSBIOS 6.83 for the TIVA as I have gone back to the original project settings. I was able to build with CCS10. I updated the compiler version and was still able to build. I then updated the XDCTools version and built without issue. It was only when I added SYSBIOS 6.83 and attempted to build that the issue occurred. I will look further into this in the morning.

    Best Regards,

    Wes


  • I found the issue. Previously the following was used and is indicated as the fix in the previous forum post discussion.

    var HwiM3 = xdc.useModule('ti.sysbios.family.arm.m3.Hwi'); 
    HwiM3.resetVectorAddress = "INTVECS";

    For 6.83, I had to explicitly set the address value. Using "INTVECS" which is set in our .cmd file causes the issue to occur.

    I will need to test this further but suspect that something changed causing this statement to no longer be valid.

    Based on the following post, I'm not sure how this worked up until now.