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.

TDA3XEVM: TDA3 RVP loads eve binary failed when debugging on CCS

Part Number: TDA3XEVM
Other Parts Discussed in Thread: TDA2

Hi sirs,

I am now doing porting TIDL OD on TDA3.

I met some issus (), so I try to debug on TDA3 RVP.

When I loaded EVE binary file, it was failed. The error is:

ARP32_EVE_1: Trouble Reading Memory Block at 0xa1000000 on Page 1 of Length 0x4: (Error -1065 @ 0xA1000000) Unable to access device memory. Verify that the memory address is in valid memory. If error persists, confirm configuration, power-cycle board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 8.3.0.00003)
ARP32_EVE_1: File Loader: Verification failed: Target failed to read 0xA1000000@Data
ARP32_EVE_1: GEL: File: C:\PROCESSOR_SDK_VISION_03_07\vision_sdk\binaries\apps\tda3xx_rvp_bios_all\vision_sdk\bin\tda3xx-rvp\vision_sdk_arp32_1_release.xearp32F: Load faile

Can you give me advise to fix this problem?

Thank you,
Gary

  • Hi Gary,

    can you check if you have following macros in the GEL file:

    VISION_SDK_CONFIG -> 0

    EVE_SW_CONFIG -> 1

    You can check section "3.6 Setup EVE in CCS" in PROCESSOR_SDK_VISION_03_07_00_00\ti_components\algorithms\eve_sw_01_20_00_00\docs\eve_sw_getting_started.pdf for detailed setup instructions.

    Regards,

    Yordan

  • Hi Yordan,

    I check my gel file (TDA3xx_multicore_reset.gel) and change  #define VISION_SDK_CONFIG  -> 1.

    I didn't see EVE_SW_CONFIG, so I did nothing for this.

    The error remained the same after following steps in "3.6 Setup EVE in CCS"

    Is there any other way to cause this error?

    Does there any boot mode need to be set like TDA2? Although I don't see that on TDA3 user guide.

    ps. I work on TDA3 rvp board.

    Thank you,

    Gary

  • Hi,

    To debug the EVE image of vision SDK, you need to disable all the gels because vision SDK already setups all the register when you boot from flash or SD card and choose the 'load symbol' option of CCS.

    regards,

    Victor

  • Hi Victor,

    I'm not clear about "disable all the gels".

    Do you mean not to run "TDA3xx_MULTICORE_EnableAllCores" and then load program file for each core by using "load symbols"?

    Thank you,

    Gary

  • Hi Gary,

    Some gel are automatically loaded when starting the debug configuration.The best method to avoid that is to create new TDA3x target configuration, select advanced tab and remove the default initialization script from the input 'initialization script'. box. For Cortex_M4_IPU1_C0, remove TDA3xx_cortexM4_startup.gel, for CS_DAP_DebugSS remove TDA3xx_dap_startup.gel.

    I have attached a snapshot of the CCS window when you create the default tda3x target configuration, it shows the presence of the initialization script. For your debugging purpose, you just need to remove the scripts before saving the configuration.

    regards,

    Victor

  • Hi Victor,

    Thank you for your clear reply.

    Gary