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.

Code Composer 4 & Trouble Writing Memory Block

Other Parts Discussed in Thread: OMAP3530

Hi!

I want to load a simple Hello World program to my Beagle Board -xM and
I am using an XDS510 emulator. I can connect to the ARM core and
release the DSP and also connect to the DSP.

But then the following message appears:

"C64XP_0: Error connecting to the target: Error 0x80000244/-1178 Fatal
Error during: Register, Initialization, OCS,  The target does not have
a CPU clock.
C64XP_0: Trouble Writing Memory Block at 0x20 on Page 0 of Length
0x7540: Error 0x00000002/-1190 Error during: Memory,  The DTDMA memory
request is not serviced by the HW memory system.  This could be caused
by the memory address specified does not exist in the specified
memory/cache level.
Cannot write to target"

Has anyone else have had problems with loading the out file?

Regards
Sven

  • Sven t

    The XDS510USB and XDS510PP PLUS  only support 3.3v and 5V provessors. The XM board runs the JTAG interface at 1.8v therefore you need a emulator that supports 1.8v processors.

      Paul

     

  • Hi Paul,

    sorry, my fault! Actually  it is a XDS510 USB PLUS emulator, so it supports 1.8V.

    Sven

  • Have you run the appropriate GEL scripts to initialize the DSP, such as IVA22_GEM_startup?

    Regards,

    James 

  • Yes, I am using this startup command to release the DSP.

    I also tried it with several gel files:

    1. omap3530_cortexA.gel and omap3430_c64plus.gel (the gel files which are set up in standard case)

    Then I can connect to the ARM core, but following message occurs:

    "then The GEL callback "OnTargetConnect()" for the target "Spectrum Digital XDS510USB Emulator_0/Cortex_A8_0" is still processing.
    The function could contain an infinite loop.
    Do you wish to pause the processing of this function and continue?"

    I confirm this and, use the command "Script->IVA2200_Startup->IVA22_GEM_startup". Then I try to connect with the DSP, but following message occurs:

    "Error connecting to the target:
    Error 0x80000244/-1178
    Fatal Error during: Register, Initialization, OCS,
    The target does not have a CPU clock. "

    2. If I use the gel files Beagle_Omap35xx_CortexA8.gel and sdomap35xx_C64plus.gel from the ..Texas Instruments\ccsv4\emulation\boards\ folder:

    I can connect  to the ARM but following message appears: "Cortex_A8_0: GEL Output: WatchDog Disable Failed."

    Then I use "Scripts -> OMAP35xx Functions ->C64xPlusRelease_FromReset" or alternatively "Script->IVA2200_Startup->IVA22_GEM_startup" which is also provided.

    But then I also get the message when I want to connect to the DSP:

    "Error connecting to the target:
    Error 0x80000244/-1178
    Fatal Error during: Register, Initialization, OCS,
    The target does not have a CPU clock. "

    Am I using the wrong gel files?

    Regards

    Sven

     

     

     

     

  • Hi Sven,

    I think issue might be that the IVA2 PLL is not turned on and setup properly.  It is probably best to start out with the GELs on this page:  http://processors.wiki.ti.com/index.php/OMAP_and_Sitara_CCS_support where i'm trying to collect appropirate GELs and configurations.  Although right now the page has CCS3.3, you can use the same GELs on CCS v4. 

    So this is the procedure you should follow:

    1.  Connect the cortexA8

    2.  Under GEL->OMAP3EVM there is a startup script for the EVM which sets up a lot of the clocks on the device.  You should be able to run this without issue on Beagle (although the DDR setup would be different).  This should at least get the clocks going on the OMAP device. 

    3. Run GEL->IVA2200_Startup->IVA22_GEM_Startup.  This will enable the clock to the DSP

    4.  Connect the C6400PLUS.

    Regards,

    James

  • Hi James,

    thank you for your detailed answer. But unluckily, I still cannot load the "Hello World" .out file to the DSP.

    I followed the procedure you described and chose "am-dm37x_cortexA.gel" as gel file for the ARM core, for the DSP I used the omap3430_c64plus.gel which was preconfigured in the TargetConfiguration file. Is it needed it here anyway?

    If I try to load the out file to the DSP the follwing problem occurs:

    A popup window appears:

    "Failed to load program '.../Test.out' on Target 'Spectrum Digital XDS510USB Emulator_0/C64XP_0'

    Reason:

    Cannot write on target"

    And in the console the ouptput "C64XP_0: Trouble Writing Memory Block at 0x20 on Page 0 of Length 0x7540: Error 0x00000002/-1190 Error during: Memory,  The DTDMA memory request is not serviced by the HW memory system.  This could be caused by the memory address specified does not exist in the specified  memory/cache level.  
    Cannot write to target" appears.

    Is the gel file for the DSP the reason for the problem?

    Regards

    Sven