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: TDA4 : Trying to debug the MCU_R5 core

Tool/software: Code Composer Studio

Hi, 

In the middle of setting the CCS tool for J721EXCP01EVM(Board) according to user guide.   

(PSDKRA_RTOS\psdk_rtos_auto\docs\user_guide)

I have one problem.

The SW package TDA4_PSDKRA_RTOS(PSDK ver 1.0) for TDA4 is released by TI.

(PSDK ver 1.0, the Processor SDK  Automotive 06.01.00 release for the J721E platform)

We was checking the basic functions in J721EXCP01EVM(Board).

The problem is like below ...

step 1> stopped in like below "log1"

log1 ------------

Console ----

DMSC_Cortex_M3_0: GEL Output: Unlocked MMRs.
DMSC_Cortex_M3_0: GEL Output: Configuring horizontal drive strength.
DMSC_Cortex_M3_0: GEL Output: Horizontal drive strength configured.
DMSC_Cortex_M3_0: GEL Output: Configuring vertical drive strength.
DMSC_Cortex_M3_0: GEL Output: Vertical drive strength configured.
DMSC_Cortex_M3_0: GEL Output: LVCMOS drive strength configured to 0xD

< -- stopped in this point.

Scripting Console ---

js:> load("W:/release_tda410/system/PSDKRA_RTOS/pdk/packages/ti/drv/sciclient/tools/ccsLoadDmsc/j721e/launch.js");
Connecting to DMSC_Cortex_M3_0!
Loading DMSC Firmware ... W:/release_tda410/system/PSDKRA_RTOS/pdk//packages/ti/drv/sciclient/soc/V1/ti-sci-firmware-j721e-gp.bin
DMSC Firmware Load Done...
DMSC Firmware run starting now...
Connecting to MCU Cortex_R5_0!
Running the board configuration initialization from R5!

< ---- Stopped in this point...

....................

And, I clicked "Suspend button(Alt+F8)"

It is doing like below "log2"

With below like "log2", GEL Expression : J7ES_LPDDR4_Config_Late() is pendding ....

----- log2 ------

Console ----

skipped ...

DMSC_Cortex_M3_0: GEL Output: --->>> DDR PHY Data Slice 1 programming completed... <<<---
DMSC_Cortex_M3_0: GEL Output: --->>> DDR PHY Data Slice 2 programming in progress.. <<<---
DMSC_Cortex_M3_0: GEL Output: --->>> DDR PHY Data Slice 2 programming completed... <<<---
DMSC_Cortex_M3_0: GEL Output: --->>> DDR PHY Data Slice 3 programming in progress.. <<<---
DMSC_Cortex_M3_0: GEL Output: --->>> DDR PHY Data Slice 3 programming completed... <<<---
DMSC_Cortex_M3_0: GEL Output: --->>> DDR PHY Address slice 0 programming in progress.. <<<---
DMSC_Cortex_M3_0: GEL Output: --->>> DDR PHY Address Slice 0 programming completed... <<<---
DMSC_Cortex_M3_0: GEL Output: --->>> DDR PHY programming in progress.. <<<---
DMSC_Cortex_M3_0: GEL Output: --->>> DDR PHY programming completed... <<<---
DMSC_Cortex_M3_0: GEL Output: --->>> DDR PI initialization started... <<<---
DMSC_Cortex_M3_0: GEL Output: --->>> DDR Controller initialization started... <<<---
DMSC_Cortex_M3_0: GEL Output: --->>> Waiting for frequency change requests ... <<<---

<-- this point is stooped ....

Scripting console ---

js:> load("W:/release_tda410/system/PSDKRA_RTOS/pdk/packages/ti/drv/sciclient/tools/ccsLoadDmsc/j721e/launch.js");
Connecting to DMSC_Cortex_M3_0!
Loading DMSC Firmware ... W:/release_tda410/system/PSDKRA_RTOS/pdk//packages/ti/drv/sciclient/soc/V1/ti-sci-firmware-j721e-gp.bin
DMSC Firmware Load Done...
DMSC Firmware run starting now...
Connecting to MCU Cortex_R5_0!
Running the board configuration initialization from R5!
Running the DDR configuration... Wait till it completes!
Connecting to DMSC_Cortex_M3_0!
Loading DMSC Firmware ... W:/release_tda410/system/PSDKRA_RTOS/pdk//packages/ti/drv/sciclient/soc/V1/ti-sci-firmware-j721e-gp.bin
DMSC Firmware Load Done...
DMSC Firmware run starting now...
Connecting to MCU Cortex_R5_0!
Running the board configuration initialization from R5!
Running the DDR configuration... Wait till it completes!
Error evaluating "J7ES_LPDDR4_Config_Late()": Timed out after 200000ms

<---  stopped in this point  ....  

---------------------------------------------------------------------------------------------------------

And then, I can't do any thing for uploading the MCU_R5_0 core image.

Could you give some solution for resolving this problem. ?

Best Regards,

Alex Jung.

  • HI Alex Jung,

    Did you make sure that the boot mode on your EVM is set to "NO BOOT" mode? I think it is mentioned in the user guide. This is a very important step when you do a CCS boot.

    Regards,
    Anand