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.

RTOS/CC2640: Hard Fault: FORCED: BUSFAULT: IMPRECISERR on default simple-peripheral application

Part Number: CC2640
Other Parts Discussed in Thread: SYSBIOS,

Tool/software: TI-RTOS

Hello, I have developed a project with no issue on the developer board LAUNCHXL--CC2640R2,

Now I have two different custom board, based on CC2640F128RHB.

I can run an simple application and blink led and so on.

When I try to use the TI-RTOS I've got troubles.

I'm using simple-perfipheral application with no modification but I fall in HWI unprecise exception. (Hard Fault: FORCED: BUSFAULT: IMPRECISERR / ti.sysbios.family.arm.m3.Hwi.ExcContext / 0    <symbol is not available>,PC = 0x0000F00A FP = 0x200022B0)

I've performed all HW checks and disabled all GPIO.

I'm using CC26X2 SDK 2.10.0.44 and TI-RTOS 2.21.1.08

  • Hi,

    If you are using CC2640, then the SDK you need to use is BLE STACK 2.2.2 which can be found here:
    www.ti.com/.../BLE-STACK

    CC26X2 SDK is made for CC2642 and CC2652. You should not run examples in CC26X2 SDK on CC2640.
  • I imported example from BLE STACK 2.2.2, but It do not appear in the Product and repositories tab in General/Productss in CCS 8. Also it is not available in resource explorer.
  • Unfortunately BLE STACK 2.2.2 is not available on resource explorer.
    You will have to download the BLE STACK 2.2.2 from the page I posted in the previous comment.
    When you import the example to CCS, please make sure your compiler version is the one that we state in the release note.
    You can find the information regarding how to check the compiler version in our software developer's guide.
  • I Christin and thank you for you help.

    I'm using ble_sdk_2_02_02_25, the right compiler version ti V16.96.4.LTS, TI-RTOS 2.21.1.08 as indicated in the release note.

    Now I've got Hard Fault: FORCED: USAGE: UNDEFINSTR in ti.sysbios.family.arm.m3.Hwi

    The only change I made to the project is changing the predefined symbols form CC2650DK_7ID to CC2650DK_5XD

  • I simply had to flash the stack separately...