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.

CCS/CC2640R2F: The oad_offchip example project trapped in Hwi.c

Part Number: CC2640R2F
Other Parts Discussed in Thread: LAUNCHXL-CC2640R2, SIMPLELINK-CC2640R2-SDK, UNIFLASH, SYSBIOS

Tool/software: Code Composer Studio

Hi All.

I will like to create an oad project from SDK.

I follow the example, but trapped in "Hwi.c"
Hope someone can give me hint to solve it.

Here is my step and environment

----------------------------------------------------------------

Environment:
Device: LAUNCHXL-CC2640R2
IDE: CCSv8.20
SDK: SIMPLELINK-CC2640R2-SDK_2.30.00.28
Project: simple_peripheral_oad_offchip

Reproduce procedure:
1) open CCS with a new and clean workspace
2) import example project from SDK
here is full path of example project
C:\ti\simplelink_cc2640r2_sdk_2_30_00_28\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral_oad_offchip
3 build and burn image into target board (LAUNCHXL-CC2640R2)
3.1 choose project "simple_peripheral_cc2640r2lp_oad_offchip_stack" and click button "DEBUG"
3.2 choose project "simple_peripheral_cc2640r2lp_oad_offchip_app" and click button "DEBUG"
3.3 break debug, and open uniflash to burn "simple_peripheral_cc2640r2lp_oad_offchip_app_FlashROM_oad.bin" into target device
3.4 choose project "bim_oad_offchip_cc2640r2lp_app" and click button "DEBUG"

Now click "Resume(F8)" and the program should be running.
First is "BIM", it check image and jump into oad_offchip_app.
And then in the main function of oad_offchip_app, it work well at beginning, until BIOS_Start() is called.

After BIOS_Start() is called, system is trapped in some where I don't have source code.
I press the "Suspend(Alt+F8)", IDE shows it trapped in ti_sysbios_family_arm_m3_Hwi_excHandler_I()
----
Can't find a source file at "/db/vtree/ademars/git_trees/avala-z/src/ti/sysbios/family/arm/m3/Hwi.c"
Locate the file or edit the source lookup path to include its location.
----
It is a dead loop, no way out.

Alternative Check:

I did some alternative check
I changed the IDE from CCSv8.20 to IAR8.2, it work well.
Then I create new example from CCSv7.40, it work well, too.
Finally, I do above procedure again, and I specified compiler to version TIv16.9.8LTS (the one comes with CCSv7.40).
It work well, not trapped in ti_sysbios_family_arm_m3_Hwi_excHandler_I().

Since it is very easy to reproduce, is it an already known bug?
Any Fix or patch for it?