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-CC2650: BLE stack was built, but not stuck in a exception loop with Invstate bit set in CFSR

Part Number: LAUNCHXL-CC2650
Other Parts Discussed in Thread: CC2650

Hi I am trying to compile  BLE2.2.1 stack and want to load it to cc2650 launchpad. I am able to load pre-built hex file for simple peripheral application and they work fine.

But when load my build(load the simple peripheral stack first and then app ), it got stuck in a loop(maybe an exception). I didn't change any code. Both stack(0x0f000) and app(0x00) seem to be loaded

correctly. But the INVSTATE bit in CFSR register was set. Not sure if this is related to my issue.

I am not able to find out what causing the exception. Could you please share some light?

thanks.

  • Hello Nanjun,
    Can you rebuild your whole project again (rebuild both stack and app). Then download both stack and app again. INVSTATE (Usage fault) can indicates that your processor is jumping to an incorrect app-stack boundary and executes and invalid instruction.