Taking the C66x Out Of Reset with Linux Running on the ARM A15

From Texas Instruments Wiki
Jump to: navigation, search

How to take the C66x DSP out of reset with Linux running on A15

This document describes the procedure to bring the C66x core out of reset after booting Linux, or at the u-boot prompt. These steps are necessary in to order to load an application on the C66x core, without interfering with the operation of Linux running on the A15.

NOTE

Prior to proceeding with the below instructions, please ensure that the latest Emulation package is downloaded/installed through CCS. This will ensure the GEL files in your machine has the reset routines described below.

1) Once Linux has booted, launch the target configuration.


Outofreset 1 lali.JPG


2) With the target configuration launched, right click on K2x.ccxml and select “Show all cores”

Outofreset 2 lali.JPG


3) This will bring up the Non-Debuggable Devices section. Right click and connect the CS_DAP_Debug_SS core.


Outofreset 3 lali.JPG


4) Go to Tools>GEL files and load the evmk2x.gel file by right clicking on the GEL file window . The Gel file would typically be located in the CCS installation under \ccsv6\ccs_base\emulation\boards\evmk2x\gel\

Outofreset 4 lali.png


5) Once the GEL has been successfully loaded, go to Scripts>default and select K2x_TakeDSPOutofReset.

Outofreset 5 lali.png


6) At this point the console would indicate that the DSP is out of reset.

Outofreset 6 lali.png


7) Now the DSP cores can be right-clicked and connected successfully.

Outofreset 7 lali.png


NOTE

Once the DSP core is connected following the above out of reset routine, the DDR and PLL settings done by u-boot would be overwritten by what's in the GEL. In order to avoid this, please ensure that the gel is NOT preloaded on the DSP core in the ccxml by leaving the initialization script blank.

Outofreset 8 lali.JPG