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.

LAUNCHXL-CC26X2R1: Got faultISR with optimization "-Os"

Part Number: LAUNCHXL-CC26X2R1

Hello,

I built my application based on the multi-role project with GCC + FreeRTOS, it's working fine with debug build. But when I tried to enable release build with optimization "-Os", it keeps reporting faultISR with below stack:

I also tried to disable BLE task, then it starts working. Is there any idea about this issue?

Thanks,

Xiaofeng

  • Hi Xiaofeng,

    Could you please specify the following?

    - which SDK version are you using?

    - which toolchain version are you using?

    - do you manage to reproduce the issue on the unmodified multi_role example?

    Best regards,

  • Hmm... You reminder me. I went back to multi_role project, and added "-Os" option into the project, it's still working fine. So I switched back my GCC version back to gcc_arm_none_eabi_9_2_1, and SDK version to latest 6.10.00.29, it's working fine now. I double checked my previous setting with sdk 5.30.01.01 and gcc-arm-none-eabi-10.3-2021.10, it has fault issue. I also tried other combination gcc 9 + sdk 5 and gcc 10 + sdk 5, no lucks. Looks like something new in the recent SDK releases.

    I think it's good enough for me to go ahead with latest SDK.

    Thanks,

    Xiaofeng