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.

JTAG Connection to DA830 on custom board

Other Parts Discussed in Thread: TMS320C6747

Hello,

I am trying to connect a Spectrum Digital XDS510USB JTAG emulator to a custom board with two DA830s on it.

The SDConfigEx.exe test can properly see the two devices as I've listed below. However, when trying to connect using CCSv4 (up to date), I get the following error.

Fatal Error: IcePick_C_0: Error connecting to the target: Error 0x80000244/-2131 Fatal Error during: Register, Initialization, OCS,  Cannot access register at 0x00000000 

 

I'm using the default CCS:DEBUG settings. The DSPs boot mode pins are set for UHPI boot (and are not readily changed).

I'm using the same .ccxml file that I used for the Spectrum digital DA830DSK with the ARM bypassed. This file is printed below. Is there any reason to change the GEL files just to connect? And if so, where can I find documentation on how to do this?

 

Thanks

David Kelly

 

DA830DSK JTAG.ccxml:

 

<?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 XDS510USB Emulator_0">
        <instance XML_version="1.2" desc="Spectrum Digital XDS510USB Emulator_0" href="connections\SD510USB_Connection.xml" id="Spectrum Digital XDS510USB Emulator_0" xml="SD510USB_Connection.xml" xmlpath="connections"/>
        <connection XML_version="1.2" id="Spectrum Digital XDS510USB Emulator_0">
            <instance XML_version="1.2" href="drivers\sdgoicepickusb_c.xml" id="drivers" xml="sdgoicepickusb_c.xml" xmlpath="drivers"/>
            <instance XML_version="1.2" href="drivers\sdgo674xpusb.xml" id="drivers" xml="sdgo674xpusb.xml" xmlpath="drivers"/>
            <instance XML_version="1.2" href="drivers\sdgoarm9usb.xml" id="drivers" xml="sdgoarm9usb.xml" xmlpath="drivers"/>
            <instance XML_version="1.2" href="drivers\sdgoetb11usb.xml" id="drivers" xml="sdgoetb11usb.xml" xmlpath="drivers"/>
            <platform XML_version="1.2" id="platform_0">
                <instance XML_version="1.2" desc="DA830/DA828_0" href="devices\DA830-DA828.xml" id="DA830/DA828_0" xml="DA830-DA828.xml" xmlpath="devices"/>
                <device HW_revision="1" XML_version="1.2" description="Performance Audio Device" id="DA830/DA828_0" partnum="DA830/DA828">
                    <router HW_revision="1.0" XML_version="1.2" description="ICEPick_C Router" id="IcePick_C_0" isa="ICEPICK_C">
                        <subpath id="DSP">
                            <cpu HW_revision="1.0" XML_version="1.2" desc="DSP_0" description="TMS320C6747" id="TMS320C6747" isa="TMS320C674X"/>
                        </subpath>
                        <subpath id="ARM">
                            <cpu HW_revision="1.0" XML_version="1.2" description="ARM9 CPU" id="ARM9_0" isa="ARM9">
                                <property Type="choicelist" Value="1" id="bypass"/>
                            </cpu>
                        </subpath>
                    </router>
                </device>
            </platform>
        </connection>
    </configuration>
</configurations>

 

 

*********************************

Spectrum Digital Configuration and Diagnostic Utility

Supports:
Printer Port: XDS510PP, XDS510PP+, SPI515, eZdsp
ISA Bus:      SPI510, XDS510
PCI Bus:      SPI525
USB Bus:      XDS510-USB

** Using emulation application from directory c:\ti\ccsv4\emulation\drivers
** Checking for a valid emulator/eZdsp

  $$ You are connected to:
  $$ EmuProductName=XDS510USB
  $$ EmuPortAddr=0x510
  $$ EmuPortMode=USB
  $$ ProductId=510
  $$ ProductVersion=84

** Checking emulator/eZdsp scan connection
** Emulator Test **
 $$ EmuProductName=XDS510USB
 $$ EmuPortAddr=0x510
 $$ EmuPortMode=USB
 $$ ProductId=510
 $$ ProductVersion=84
 ** Emulator Scan Test
   -- Found JTAG IR length of 12
   -- Found 2 JTAG device(s) in the scan chain

*********************************

  • David,

    David Kelly said:

    I'm using the default CCS:DEBUG settings. The DSPs boot mode pins are set for UHPI boot (and are not readily changed).

    I'm using the same .ccxml file that I used for the Spectrum digital DA830DSK with the ARM bypassed. This file is printed below. Is there any reason to change the GEL files just to connect? And if so, where can I find documentation on how to do this?

    The DSKDA830 has only one device in the scan chain (with two cores), while your custom board has two daisy-chained - the output of the diagnostic utility says that. In this case you should be fine if you add a second DA830 device to your target configuration. I send an example file at the end of this post and the page below describes in more detail how to create custom configurations:

    http://processors.wiki.ti.com/index.php/Target_Configuration_-_Custom_Configurations

    Hope this helps,

    Rafael

    http://e2e.ti.com/cfs-file.ashx/__key/CommunityServer-Discussions-Components-Files/81/6558.Dual_5F00_DA830_5F00_XDS510USB.ccxml

  • Thanks for the feedback.

    I have already tried the configuration you have suggested without any success and just retried with that file with the same results.

    Is there any other reason why I might not be able to access register 0x00000000?

     

    Thanks

    David Kelly

  • Hi there,


    Can someone please help out with this in De Souza's absence. Or please contact me offline to set up a con call with David.

     

    Thx

    LC

    TSR

     

     

  • Just for reporting, this issue was solved offline.

    Two problems were found during this process:
    - Initially David was trying to connect to his custom board using a Free Limited License. We helped him activate and properly configure one of his purchased licenses.
    - After that he was still not able to connect to the target; after several interactions it was found that an external microprocessor connected to the DA830’s HPIs was holding the DSPs in reset, causing the emulator to fail connecting to the cores. The procedure followed to identify the core status was:

    Check if the DSP is being held in reset involuntarily. Once you launch the debugger, connect to the ICEPICK_C device then open the device properties (menu View à Properties). Select the DSP device; it should show CLK On and Not in Reset (as HPI boot mode is enabled). If this core is stuck in Reset, that is the reason why the emulator is not able to connect to it (there are reports about similar situations happening in alpha boards). You can try to push the reset button in your board and try to reconnect to it.

    To enable these two options, please check the questions 3.5 and 3.7 in the page below:

    http://processors.wiki.ti.com/index.php/ICEPICK

    Cheers,

    Rafael