Connecting To An LCEVM with CCS
From Texas Instruments Embedded Processors Wiki
Contents |
Overview
This page discusses the procedure for connecting to one of the 64x+ or 66x Low Cost EVMs with an emulator via Code Composer Studio. The Low Cost EVMs come with an on-board XDS100, and some will also have a Mezzanine XDS560v2 Emulator attached to them. If your board has a Mezzanine Card attached to it, take note of the XDS560v2 Mezzanine Emulator Considerations below.
This article focuses only on the two on-board emulation options for LCEVMs. You can also connect with a 3rd party emulator via the 14-pin or 60-pin emulation connector. Contact the emulator supplier for assistance with connecting in this manner.
| If your EVM has a 60-pin emulation header on-board, there is no 14-pin header that will allow connection to the DSP. Some of the boards will have a 14-pin header implemented along with a 60-pin header. In these cases, the 14-pin header is not connected to the DSP scan chain. |
Emulator Considerations
| On-Board XDS100 Considerations |
|---|
The following considerations should be noted if you are using the On-Board XDS100 emulation
|
| Mezzanine Emulator Considerations |
|---|
The following considerations should be noted if your LCEVM came with an XDS560v2 Mezzanine card mounted to it.
|
Setting Up CCS for the on-board XDS100
| Adding a GEL file to be automatically loaded |
| CCSv5 Target Configuration (XDS100) |
The following instructions are shown for configuring CCS to connect to the C6678 LCEVM. The only difference for any of the other LCEVMs is the choice of the device.
- Create a New Target Configuration in CCS
- File -> New -> Target Configuration File
- Select Texas Instruments XDS100v1 USB Emulator
- Choose the Appropriate Target Device
- Optional - Attach GEL files to one or more cores
- Click the Advanced Tab
- Select a CPU to add a GEL file to
- Use the browse button next to the Initialization Script dialog to point to the appropriate GEL file.
- Repeat as necessary for each core.
- Save the Configuration
Setting Up CCS for the Mezzanine Emulator
| CCSv5 Target Configuration (XDS560v2 Mezzanine) |
The following instructions are shown for configuring CCS to connect to the C6678LE EVM with on-board XDS560v2 Mezzanine Emulator. The only difference for any of the other LCEVMs with on-board XDS560v2 is the choice of the device.
- Create a New Target Configuration in CCS
- File -> New -> Target Configuration File
- Select Texas Instruments XDS100v1 USB Emulator
- Choose the Appropriate Target Device
- Optional - Attach GEL files to one or more cores
- Click the Advanced Tab
- Select a CPU to add a GEL file to
- Use the browse button next to the Initialization Script dialog to point to the appropriate GEL file.
- Repeat as necessary for each core.
- Save the Configuration
The Most Common Mistakes
- If you are trying to use the on-board XDS100, be sure that there is nothing connected to the 60-pin emulation header on the board. Common issues are:
- A 14-60 pin adapter left connected to the header
- Mezzanine Card connected to the Emulator. (If your EVM has a mezzaznine emulator built on it, you MUST use the Mezzanine Emulator. XDS100 emulation is disabled.
- Make sure that you have selected the correct emulator in the target configuration.
- If you are using a Mezzanine, make sure that the selected emulator is "Blackhawk XDS560v2 Mezzanine".
- If you are using the on-board XDS100, make sure you have selected "XDS100v1".
