Other Parts Discussed in Thread: CC3220SF, CC3200, UNIFLASH, CC3220S, CC3120
Tool/software: Code Composer Studio
Subject: How to debug code on CC3220SF LaunchPad through CCS7 with only USB connection?
In recent months, I developed data collection code using CCS6 on the CC3200 LaunchPad board with only USB connection.
As I recall, I had to go into DeviceManager and set the baud rate to 921000, then downloaded into RAM directly from CCS with SOP2 jumper installed for execution/debugging.
I also successfully used UniFlash 3.41, then removed SOP2 to run independently of CCS, even on battery power.
I'm now advancing to CC3220 (to have access to more RAM for data collection) and am starting out with a CC3220SF LaunchPad board, CCS7, SDK 1.3, etc.
using the "portable" demo app using FreeRTOS (for testing/familiarization).
Everything builds perfectly, but I'm not able to download and debug.
I see the target config was set to "Texas Instruments XDS110 USB Debug Probe," resulting in:
Error connecting to the target:
(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 6.0.576.0)
This happens in both the case where I have SOP1 jumpered (as I received the board) or SOP2 jumpered.
Device Manager shows both COM3 and COM4 as being "XDS110" and only offers baud rates up to 128000.
So I changed the target conf to "Stellaris In-Circuit Debug Interface," resulting in:
Error connecting to the target:
Frequency is out of range.
Again, I tried with SOP1 jumpered and then with SOP2 jumpered.
I also purchased a TI XDS110 debugger for $99, but I see frequent claims that there is an XDS110 emulator on the board.
So how does one now debug?
Do I need to use UniFlash (v4.1) on every debug cycle? That would waste time and require more typing vs. debugging basic logic first directly from CCS.
Or, do I need to use the external XDS110 debugger, while still keeping the USB connection? That would consume an extra USB port on the laptop, which only has 3 such ports..
Regardless of whether I need to use UniFlash for debugging now, is there a comprehensive UniFlash v4 User Manual? All I find is a short "Quick Guide."
Should I be debugging first using a CC3220S, not SF?