Hi,
I need to control C64x+ core in the DM3730. Has anyone figured out how to configure CCS5 to debug the DSP in theDM3730? Do you have an example program with the appropriate gel file and the ccxml file to set it up? I am using the Mistral TMDXEVM3730 EVM and the Spectrum Digital XDS510 USB, and CCS 5.5.0.00077
I want to setup a starting point for debugging the DSP side code on the DM3730. So I start with two simple projects: Project\New CCS Project\Empty Project (with main.c). And I also tried Project\CCS Example Project\SYS/BIOS\C6000\DaVinci DM37xx\DM3730\Minimal with Platform as: ti.platforms.evm3530 and the default GEL file "emulation\gel\omap3430_c64plus.gel". The SW1 on the AM37x Processor Module (on the DM3730 EVM) is set to 1000-0000 (position 1-8) for JTAG enable as described in the Mistral document Hardware User Guide.
-- 1
When I tried to connect and debug with JTAG, I get this error.
Error connecting to the target: Error 0x80000244/-1178 Fatal Error during: Register, Initialization, OCS, The target does not have a CPU clock.
-- 2
I tried other the GEL files under:
\ti\ccsv5\ccs_base\emulation\gel\omap3530_cortexA.gel <-- came with CCS installation
\ti\ccsv5\ccs_base\emulation\gel\dm3730\am-dm37x_cortextA <-- came with CCS
installation and I tried the GEL file set for DM3730 from
http://processors.wiki.ti.com/index.php/OMAP_and_Sitara_CCS_support
(OMAP3530-25_GELs.zip) which contains another omap3530_cortexA.gel along with its 7 supporting GEL files.
They all gave the same error.
When I compare these GEL files, they are 95% the similar with a few differences in GEL_MapAddStr() and different mDDR_manufaturers along with their clock frequency settings.
--3
I tried modify the omap3530_cortexA.gel file's StratUp() to call IVA22_GEM_startup(); I now get additional errors:
C64XP_0: GEL: Error while executing StartUp(): Could not read 0x48004000: Target is not connected at (*((int *) 0x48004000)|=0x1) [omap3530_cortexA.gel:300] at IVA22_GEM_startup() [omap3530_cortexA.gel:27] at StartUp() .
C64XP_0: Error connecting to the target: Error 0x80000244/-1178 Fatal Error during: Register, Initialization, OCS, The target does not have a CPU clock.
In the link below Dan Rinkes mentioned that there are 3 methods; could Dan or someone give me the step by step to get the DSP side debug started.
http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/51734.aspx