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.

CC2652R: Demo Projects (e.g. Zero, simple central) crash - and do not output RS232 debug messages

Part Number: CC2652R
Other Parts Discussed in Thread: LAUNCHXL-CC26X2R1, CODECOMPOSER

Hi

I just got the Launchpad (LAUNCHXL-CC26X2R1) with the CC2652R1 microcontroller on it.

All the example projects in the SDK are crashing. (e.g. zero project)

--> that means the programs are compilable and it is possible to load them to the target and step around in the code. But if I try to output some debug strings (of course after UART_init()) it does not output anything at all.

I found out that the ProjectZero_taskFxn seems to be never entered.

The output of CodeComposer in the console is as follows:

Cortex_M4_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 8.0.903.6)
Cortex_M4_0: Trouble Halting Target CPU: (Error -2062 @ 0x0) Unable to halt device. 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 8.0.903.6)
Cortex_M4_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 8.0.903.6)

I'm sure it has nothing to do with the hardware! When I got it it was BLE broadcasting "ZeroProject" and on the RS232 if sent multiple lines of output (very colorful, I did not know until now that the terminal has this possibility)

what am I doing wrong here?

best regards

Andreas

  • Hi Andreas,
    Which SDK are you using? Please see this post for compatibility clarity (if that is your problem):
    e2e.ti.com/.../767769
  • It seems you are trying to tracing/debug ProjectZero example. Does it work if you let ProjectZero free run without debugging? As J Lindh mentioned, you should also check your CC26x2R chip revision. If it's rev.E, you should use SimpleLink CC13x2 26x2 SDK 2.40.00.81.
  • Thanks for the explanation! With SDK version 2.40.x I can confirm that the simple broadcaster and the simple central are working.
    The chip is Rev. E

    Unfortunately I mistook the library beginning with CC13x2 as not fit for my chip (which is CC2652).
    Would be nice if the Version of the SDK was in the beginning (to highlight that those are 2 different versions and not just for 2 different chip families)
    or at least the "CC" of CC26x2 would be added to the "SimplelLink .. SDK .." name.
    That would have saved some time.

    kind regards
    Andreas