TI CC3220 LaunchPad
This article describes specifics for the TI CC3220 LaunchPad evaluation board.
Preparing for J-Link
The TI CC3220 LaunchPad evaluation board does come with an on board debugger (XDS110) which drives the debug signals by default. In order to be able to connect with a J-Link to the CC3220SF device, the jumpers
- RST
- TMS
- TCK
- TDI
- TDO
of J3 need to be removed in order to isolate the onboard debugger as shown on the images below. The J-Link needs to be connected through the 9-pin Cortex-M connector (JTAG_IN).
Power supply settings
There are four power supply jumpers:
- J17 (BRD)
- J19 (VBAT)
- J20 (5V)
- J21 (GND)
If powering the board via the top USB connector, leave all four power supply jumpers connected. If powering the board via an external power supply, remove all four power supply jumpers.
SOP setting
To use the Bord with SWD, SOP (J13) needs to be set to 0 and to use it in JTAG mode, SOP (J13) needs to be set to 1:
Connect using SWD
- Connect your J-Link to the JTAG_IN header (J8)
- Set the SOP jumper (J13) to 0 as described above
- Power the board as described above
- Verify the Connection with J-Link Commander. The output should look as follows:
Connect using JTAG
- Connect your J-Link to the JTAG_IN header (J8)
- Set the SOP jumper (J13) to 1 as described above
- Power the board as described above
- Verify the Connection with J-Link Commander. The output should look as follows:
Using TI CC3220 LaunchPad with JTAG-/SWD-Isolators
Unfortunately, the board is not able to supply the JTAG- or SWD-Isolator with the necessary power (40 mA peak, 25 mA typ. consumption). Therefore it is required to supply the target side of the Isolator with an additional external 3.3V power source.
NOTE: As soon as the Isolator has enough power, both power LEDs (green) will light up.
The J-Link Isolators, J-Link Measurement+Patch Adapter and the J-Link 9-Pin Cortex-M Adapter used in the setup above are available for purchase here:
Example Projects
All projects listed below are configured to use SWD as connection method. To use JTAG instead, set "Project > Options > Debug > J-Link > Target Interface Type [ARM]" to JTAG in Embedded Studio.
Binary Counter
The following example project was created with the SEGGER Embedded Studio project wizard and runs out-of-the-box on the TI CC3220 LaunchPad. It uses D8, D9 and D10 as 3-bit binary counter. J24 must be connected to use the LEDs.
Setup
- J-Link software: V8.12
- Embedded Studio: V8.16
- Hardware: TI CC3220 LaunchPadd
- Link: File:TI CC3220 BinaryCounter.zip
Hello World
The following example project was created with the SEGGER Embedded Studio project wizard and runs out-of-the-box on the TI CC3220. It outputs "Hello World!" to the Debug Terminal in a loop.
Setup
- J-Link software: V8.12
- Embedded Studio: V8.16
- Hardware: TI CC3220
- Link: File:TI CC3220 HelloWorld.zip