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.

Trouble reading memory block

Other Parts Discussed in Thread: TMS320C6455

Hello,

I am using Spectrum Digital DSK-EVM-eZdsp onboard USB Emulator.

But when i tried to connect my board it throughs following error:

"C64XP_0: Trouble Reading Memory Block at 0x29a0100 on Page 0 of Length 0x4: Error 0x00000002/-1202 Error during: Memory, CPU pipeline is stalled and the CPU is 'not ready'. This means that the CPU has performed an access which has not completed, and the CPU is waiting. The target may need to be reset. The user can choose 'Yes' to force the CPU to be 'ready'. When this is done, the user will have the ability to examine the target memory and registers to determine the cause of the CPU stall. If CPU hang is caused by application and it has been forced to be 'ready', the CPU should not be run without a reset. Yes - force CPU ready (might corrupt the code) Disconnect - disconnect CCS so that it can be reset Retry - attempt the command again
C64XP_0: GEL: Error while executing OnTargetConnect(): target is not connected at (*((int *) 0x029A0100)&=~(0x00000020)) [DSK6455.gel:256] at init_PLL() [DSK6455.gel:50] at OnTargetConnect() .
Spectrum Digital DSK-EVM-eZdsp onboard USB Emulator_0/C64XP_0 : Target must be connected before loading program."

Details:

Board : DSK6455

Emulator: Spectrum Digital DSK-EVM-eZdsp onboard USB Emulator.

My configuration xml file is as follows:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<configurations XML_version="1.2" id="configurations_0">

<configuration XML_version="1.2" id="Spectrum Digital DSK-EVM-eZdsp onboard USB Emulator_0">
<instance XML_version="1.2" desc="Spectrum Digital DSK-EVM-eZdsp onboard USB Emulator_0" href="connections/SDDSKUSB_Connection.xml" id="Spectrum Digital DSK-EVM-eZdsp onboard USB Emulator_0" xml="SDDSKUSB_Connection.xml" xmlpath="connections"/>
<connection XML_version="1.2" id="Spectrum Digital DSK-EVM-eZdsp onboard USB Emulator_0">
<instance XML_version="1.2" href="drivers/sdgoicepickusb_dsk_bypass.xml" id="drivers" xml="sdgoicepickusb_dsk_bypass.xml" xmlpath="drivers"/>
<instance XML_version="1.2" href="drivers/sdgo645xdsk.xml" id="drivers" xml="sdgo645xdsk.xml" xmlpath="drivers"/>
<platform XML_version="1.2" id="platform_0">
<instance XML_version="1.2" desc="DSK6455_0" href="boards/dsk6455.xml" id="DSK6455_0" xml="dsk6455.xml" xmlpath="boards"/>
<board XML_version="1.2" description="Spectrum Digital C6455 DSK Board" id="DSK6455_0">
<device HW_revision="1" XML_version="1.2" description="" id="DSK6455" partnum="TMS320C6455" simulation="no">
<router HW_revision="1.0" XML_version="1.2" description="ICEPick_C Router" id="IcePick_C_0" isa="ICEPICK_C">
<subpath id="subpath_0">
<cpu HW_revision="1.0" XML_version="1.2" description="C64x+ CPU" deviceSim="false" id="C64XP_0" isa="TMS320C64XP">
<property Type="filepathfield" Value="..\DSK6455.gel" id="GEL File"/>
</cpu>
</subpath>
</router>
</device>
</board>
</platform>
</connection>
</configuration>
</configurations>

GEL file attached.

2605.DSK6455.gel.

 

Request to suggest any correction required. 

 

  • Hi Suraj Kumar,

    In CCS, using "Target configuration.ccxml" file, first select the fields suh as "connection" as per your onboard emulator and "Board or Device" and then click the save configuration. Click "Test connection" and watch out the result. This test will help you to check whether the emulator connection can be established succesfully.

     

    Regards,

    Shankari

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

    Please click the Verify Answer button on this post if it answers your question.
    --------------------------------------------------------------------------------------------------------

  • Thank You.

    I have selected correct connection, board/device and also in advance section GEL file path.

    But it through's same error.

    C64XP_0: GEL: Error while executing OnTargetConnect(): target is not connected at (*((int *) 0x029A0100)&=~(0x00000020)) [DSK6455.gel:243] at init_PLL() [DSK6455.gel:45] at OnTargetConnect() .
    Spectrum Digital DSK-EVM-eZdsp onboard USB Emulator_0/C64XP_0 : Target must be connected before loading program.

    By error message above it is understood that PLL configuration in GEL file accessing  0x029A0100 address causing problem. If i comment the PLL configuration in GEL and do the PLL configuration in code it througs error message for EMIFA configuration in  GEL.

    And also if i do not add GEL it works fine. But since i am using NDK on RTOS the code needs DDR initalization in GEL.

    I have worked many times with same setup but no problem was seen. Recently i was configuring EMIFA CE3 address space for external ROM and it's working fine. I have erased the ROM contents and written,

    Whether this cause any problem..?

    Request to suggest solution for the same. I am unable load the code through emulator.

     

  • Which boot mode are you using? Try No Boot for emulation cases.

    Try debugging your GEL file. Something is going wrong in there, whether it is related to hardware or GEL scripts. You can start by finding the location where the PLL1 Control Register is being read causing the error to occur. You can also break the commands in OnTargetConnect into separate GEL hotmenu commands that you can execute one-at-a-time through the CCS Scripts menu.

    Regards,
    RandyP

  • Thanks RandyP,

    It's working fine with No Boot condition.