This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/TMDSCSK8127: connect to DSP via emulator on dm8127 csk

Part Number: TMDSCSK8127

Tool/software: Code Composer Studio

Can someone explain the procedure for connecting to the DSP using the on-board USB emulator provided with the DM812CSK?

Using CCS version 5.5

CCS Target platform configuration:  Connection=XDS100v2 USB, Board=DM8148

I  can successfully connect to ARM CortexA8 (no gel file used loaded). When I try connecting to the DSP, the following error dialog pops-up:

Error connecting to the target:
(Error -6311) PRSC module failed to write to a register.
(Emulation package 6.0.14.5)

Thanks,

Jim

  • Hi Vishwanath,

    I read the post you referenced, and have more questions than answers.

    Let's start with basics: I'm using a DM8127 CSK - not an 8148EVM - so I'm not sure if that matters.

    1) What is the correct board to select when creating the CCS target configuration (I'm using XDS100v2 USB Debug Probe)? The options I see are: DM8148, EVMDM8148, TI814x, and TI814x (no STM, ETB only).

    2) Having selected the board, I go to the advanced page of the new target configuration. What gel file (if any) should be assigned to the CortexA8 CPU, and what gel file (if any) should be assigned to the C674X_0 CPU? In the folder: TI814X-LINUX-PSP-04.01.00.07\host-tools\DM814x_gel,  I see two gel files: DM814x_PG1.x.gel and DM814x_PG2.x.gel. Are these the correct ones, and if not, where do I find the right ones?

    3) Once 1 and 2 above are resolved, I now want to be able to power up the EVM and connect via emulator to the DSP so I can test a DSP application. At this stage in our project development, the ARM code (which will run linux) is not yet ready, so no code is executing on the ARM (I have purposely removed the SD card containing U-Boot and the LInux kernel/application). In this environment, what are the correct steps to follow and sequence of scripts to run in order to connect to the DSP?

    Thanks for your help,

    Jim

  • 1)

    You can use ,

    TI814x.ccxml , since clock architecture and cores are same with "DM8127"

    2)

    I am not sure of available gel files , above links says this is correct gel file  "DM814x_PG2.x.gel". If not in existing gel file you add devmem2 corresponding register setting.