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: ccs7.1.0

Other Parts Discussed in Thread: AM3359

Tool/software: Code Composer Studio

Hi,

I am dealing with TDA2Ex with debugger XDS560v2 in CCS7.1.

I am getting following error :-

{

CortexA15_0: GEL: Error while executing OnTargetConnect(): Target failed to read 0x4C000060

at IODFT_TLGC=*((unsigned int *) (base_addr+0x60U)) [TDA2Ex_ddr_config.gel:222]

at TDA2Ex_reset_emif_params_ddr3_666(0x4c000000U) [TDA2Ex_ddr_config.gel:1216]

at TDA2Ex_DDR3_666MHz_Config() [TDA2Ex_startup_common.gel:51]

at OnTargetConnect()

}

Previously I was able to connect but with Evaluation board. Now I have development board with same Controller .

I am not getting what has to be updated in Gel files.

Kindly Update.

Regards,

Shital

  • Shital,

    If I understand correctly, you were successfully using the GEL file with an EVM but you have now your custom board and it is not working anymore, is that so?

    Since the GEL file performs several HW initialization routines, addressing what exactly needs to be changed for a specific platform requires a deeper knowledge of the hardware - something that can benefit from the insights of the experts at the device forum.

    Therefore I will move this thread there.

    Regards,
    Rafael
  • Hi Rafael,

    Thanks for the update.
    But here now we got solution from one of your engineer.
    The problem was some image was already present in that board that's why it was giving above mentioned error.
    After clearing that and with updated Gel files it is working now.


    Regards,
    Shital.
  • Hi,
    On the same note I want to ask, I am trying to reset the board using the CPU reset present in the CCS7.
    But it is not working, every time I have to the power On reset.

    So ,for resetting the board is any gel file modification needed.

    Regards,
    Shital.
  • Shital,

    Given that any type of Core or Board Reset will bring the registers to their reset values, after issuing any kind of reset you will have to re-run the Cortex A8 device or board initialization routine form the Scripts menu - if you are using the default AM3359ICE GEL, the function is called AM3359_ICE_Initialization.

    One caveat is that a CPU or Device reset do not reset external ICs such as Ethernet PHY or another external controller. In most cases the GEL routine above takes care of the proper initialization, but depending on the code you may need to power cycle the board so these external devices are in a stable state.

    Hope this helps,
    Rafael