Other Parts Discussed in Thread: CC2650
I have a CC2650 that I've been trying to get up and going in proprietary mode. Part of the RF core initialization is turning the RAT on, which involves issuing the CMD_START_RAT command to the RFDBEL.
During single stepping through the code, I expanded the RFC_RAT (under the Registers view) before the RAT was actually started. The text "Error: unable to read" appeared in the "value" column, which is expected. The RAT hasn't been started, which I assume involves applying power to the RAT. If the RAT doesn't have power, then yes, trying to read those memory addresses are going to choke.
After expanding the RFC_RAT, I tried to continue single stepping through the code, it appeared to continue execution (the Pause and Stop buttons were enabled in CCS). Pressing the Pause button resulted in this error message:
Cortex_M3_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 6.0.228.0)
This problem appears to be unique to trying to read the RAT when it hasn't been enabled yet. I can expand the I2C0 register bank with it powered off and continue stepping through code just fine.
Is there a configuration setting I need to change so trying to read the RAT registers when the RAT hasn't been started doesn't take down the entire debugging session?