F29H850TU: c29 compiler hangs forever in busy loop

Part Number: F29H850TU

I'm running into an issue where ti-cgt-c29_2.1.0.STS is hanging forever. The minimal example file is:

// test.c
void test(int instance) {
    *((volatile int *)(0x1000 + (instance * 16))) = 0;
}

compiled with the command

~/ti/ti-cgt-c29_2.1.0.STS/bin/c29clang -g -c -w test.c

This causes the compiler to never return, and to consume an entire CPU core. Interestingly, this seems to be related to the value that instance is multiplied by. This occurs with the value 16, 0x20, 0x40, 0x80, ect. but seemingly nothing in between (although I didn't check every value). Also, anything less than 0x1000 compiles fine, but anything larger causes the issue. It happens with every optimization level as well, no difference between -O0, -O1, -O2, or -O3. 

This does not occur with ti-ctg-c29_2.0.0.STS.

OS is Ubuntu 24.04.1.

  • Thank you for notifying us of this problem, and for submitting a concise test case.  When I build, the compiler doesn't hang.  Instead, it crashes.  I filed the entry EXT_EP-13191 to have this investigated.  You are welcome to follow it with that link.  The description is vague.  Once the details are better understood, the description will be updated to be more specific.

    Thanks and regards,

    -George