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.

Fail to connect to custom board with TMS320C6747 using XDS510 USB plus

Other Parts Discussed in Thread: TMS320C6747

Hi, I'm trying to connect to TMS320C6747 on a custom board. I'm using JTAG to USB converter, XDS510 PLUS. I got the following error:

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


I/O Port = 510

Board Name: EVMC6747_XDS510USB
Cpu Name: IcePick

Abort:  Close Code Composer Studio.
Retry:  Try to connect to the target again.
Cancel:  Remain disconnected from the target
Diagnostic: Run diagnostic utility.

Correct me if I'm wrong but I believe I do not need GEL file to connect. What am I missing here? Please help.

Regards,

taiyc

  • GEL files are not required to connect to a target, but they are usually necessary for loading code onto the board (EMIF/PINMUX/PSC//PLL configuration, etc.). Would you mind posting your .ccxml file if you are using CCSv4 or the .ccs file if using CCSv3?

  • Hi Tim,

    Thanks for replying.

    I'm using CCSv3.

    Pardon me but I'm new to DSP programming. I've just realised that I should create my own ccs file for my custom board instead of using ccs provided by JTAG. I tried to create my own ccs file and the configuration looks like this:

    When connecting I got two errors at the same time:

    Error 1:

    Error connecting to the target:
    Error 0x80002240/-1041
    Fatal Error during: Initialization, OCS, Control,
    Device driver: Problem with the Emulation Controller.
    It is recommended to RESET EMULATOR.  This will disconnect each
    target from the emulator.  The targets should then be power cycled
    or hard reset followed by an emureset and reconnect to each target.


    I/O Port = 510

    Board Name: myboard_xds510_usb_plus
    Cpu Name: TMS320C674XP_0

    Abort:  Close Code Composer Studio.
    Retry:  Try to connect to the target again.
    Cancel:  Remain disconnected from the target
    Diagnostic: Run diagnostic utility.

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

    Error 2:

    Error:
    Error 0xE0002024/-173
    Error during: Register, Execution, Control,
    Error generated by SD scan controller module

    I have the following questions:

    1. How do I know if I need to create my own custom board data file and how do I go about doing it?
    2. How do I know if I need to add Icepick in my configuration?
    3. Also, I read through some documents which talk about device drivers and XML files. Do I have to create them for my custom board?

    Please help, thanks.

    Regards,

    taiyc

  • Please let us know what version of CCS and code generation tools you are using. Go to help-> about.

    If you are using the CCS version that comes with the EVM, it will only work in the EVM, not custom boards. If you are using the full version of CCS3, then make sure the you get the latest Service release updates. Help-> Update advisor.

     

  • Hi Mariana,

    Thanks for replying.

    Previously I was using the CCS version that comes with the EVM. However after reading your reply I try to use the full version. The version number stated in the "About" window is as below:

     

    However the Component Manager seems to reflect a different version number:

    Which piece of information should I trust?

    I also tried to connect to my custom board again with this version of ccs using the same configuration mentioned in my previous post and got the following error:

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


    I/O Port = 510

    Board Name: myboard_xds510_usb_plus
    Cpu Name: ICEPICK_C_0

    Abort:  Close Code Composer Studio.
    Retry:  Try to connect to the target again.
    Cancel:  Remain disconnected from the target
    Diagnostic: Run diagnostic utility.

    Is there any other configuration I need to do to connect to my custom board?

  • Have you read http://processors.wiki.ti.com/index.php/XDS_Target_Connection_Guide

    This document gives information on designing a target board with emulation signal terminations, etc.  I think this is most likely the problem..  If the custom board only has a single 6747 on it, then the configuration in CCS is going to be essentially the same as with the EVM.  The need for adding an IcePick is dependent on whether the target has an icepick.  If you're using the same part as on the EVM, and the CCS configuration for the EVM has an IcePick, the CCS config for your custom board will also need an IcePick.

     

    Regards,

    Dan

  • The version at the "about" that you pasted is still the EVM version, does not look like the full version.

    http://processors.wiki.ti.com/index.php/Getting_Started_Guide_for_C6747#Installing_CCS_and_Tools

    About the CGTools and DSP/BIOS, see page below and also:

    http://processors.wiki.ti.com/index.php/-mv_option_to_use_with_the_C674x

    Make sure that you have the everything selected for both  TMS320C64XX and TMS320C67XX in the component Manager - you need to re-start CCS3 for the changes to take place.

    But if the problem is the connection with the board, it is not about CGTools version or DSP/BIOS version, it is probably about CCS full version + driver updates + correct setup.

     

  • Hi Mariana,

    I don't understand why the "about" is still the EVM version. I uninstalled the EVM version and installed from the CCS CD ROM. Is it becauseI  didn't register online?

    What should I see in the "about" if it is a full version? And why is the component manager and the "about" should different version number as seen in the screen short in my previous post?

    Please help.

    Regards,

    taiyc

  • taiyc said:
    I don't understand why the "about" is still the EVM version. I uninstalled the EVM version and installed from the CCS CD ROM. Is it becauseI  didn't register online?

    Could be, go ahead and register your version.

    http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/55905/198414.aspx#198414

    taiyc said:
    What should I see in the "about" if it is a full version? And why is the component manager and the "about" should different version number as seen in the screen short in my previous post?

     After you register your full version, install the latest Service Release (to get the SR you should go to Help-> Update advisor->Check for updates).

    Here are the versions that you should see according to the SR that you have installed:

    http://processors.wiki.ti.com/index.php/CCStudio_FAQ#Q:_How_can_I_find_out_which_CCStudio_3.3_Service_Release_number_is_installed.3F

    You need to have at least SR12, so get the latest.