Other Parts Discussed in Thread: CC2640, SYSBIOS
OS-Linux(Ubuntu)
CCS Version: 10.2.0.00009
Device- CC2640
Hello, I downloaded the "empty" project from Resource Explorer and then added some C source files to implement LMS and low pass filter, which have been generated using MATLAB Coder for ARM M3 target. Upon building, the project builds successfully. Debug is also entered successfully. However, when I try to step in to some functions that are defined in other C source files, I get the following errors:
Cortex_M3_0: Can't Run Target CPU: (Error -2134 @ 0x0) Unable to control device execution state. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.3.0.00032)
Cortex_M3_0: Error: (Error -1170 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.3.0.00032)
Cortex_M3_0: Unable to determine target status after 20 attempts
Cortex_M3_0: Failed to remove the debug state from the target before disconnecting. There may still be breakpoint op-codes embedded in program memory. It is recommended that you reset the emulator before you connect and reload your program before you continue debugging
I also tried disassembly and stepped through the assembly code. I noticed that a Hwi exception occurred when I tried to step into these functions.
This is what was getting called on trying to step into the function: ti_sysbios_family_arm_m3_Hwi_excHandlerAsm__I
Please see the screenshots below. Would appreciate some help on how to resolve this problem.
Thanks
Tushar