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.

Using XDS100 with DM6435

Greetings,

 

I am using a XDS100 USB emulator from Olimex to try and connect to a DM6435.  I have followed the installation instructions found at http://tiexpressdsp.com/wiki/index.php?title=XDS100 but cannot reset or connect. 

I receive the following error on connect attempt:  Error connecting to the target: Error 0x80000240/-151 Fatal Error during: Initialization, OCS,  This error was generated by TI's USCIF driver.  SC_ERR_POD_OPEN <-151> This utility failed to open the adapter for a custom emulator. The adapter returned an error. 

I receive the following error on reset attempt:  Failed to reset the emulator: This error was generated by TI's USCIF driver.  SC_ERR_POD_OPEN <-151> This utility failed to open the adapter for a custom emulator. The adapter returned an error.

We have succesfully connected to this board using an XDS510 USB emulator.  This is the first time we have used the XDS100 on any board.  Thanks in advance for your help.

EDIT:  After rebooting my PC the error on connect has changed to the following:  Error connecting to the target: Error 0x80000240/-1146 Fatal Error during: Initialization, OCS,  Invalid data was scanned by the emulation controller. Verify the board setup to make sure the scan chain is properly defined. If the setup is correct, then 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.

Fly

  • Fly said:

    I receive the following error on connect attempt:  Error connecting to the target: Error 0x80000240/-151 Fatal Error during: Initialization, OCS,  This error was generated by TI's USCIF driver.  SC_ERR_POD_OPEN <-151> This utility failed to open the adapter for a custom emulator. The adapter returned an error. 

    I receive the following error on reset attempt:  Failed to reset the emulator: This error was generated by TI's USCIF driver.  SC_ERR_POD_OPEN <-151> This utility failed to open the adapter for a custom emulator. The adapter returned an error.

    I have not tried the XDS100 on a DM6435 myself yet, but based on the errors it sounds like there could be some version mismatch between your XDS100 drivers and your CCS version, you may want to check with Olimex to make sure that the driver package you are using is fully compatible with your CCS version and that it is known to work with DM643x devices.

     

  •  

    Thanks for the reply.  Olimex points me to the TI wiki page that states the driver for the TMS320C674x is included in the CCS v3.3 Platinum Edition with service release 12.  I have updated to the most current version of CCS.  I was told by a TI FAE that the DM6435 would be covered by the driver for the C674x.  I would normally contact that FAE with this same question but he is out through Wednesday.

    Thanks,

    Fly

  • By my understanding the C674x driver would be different from the DM643x driver as they have different processor cores, perhaps it would be implied that the C674x supporting driver package would probably already have support for DM643x due to the C674x being a newer core but I am not sure that this is guaranteed. I believe we have an XDS100 around here somewhere, I may have to give it a try on my DM6437 EVM, if that works it should also work for your DM6435.

  • I should have taken a look at the wiki myself :), the wiki is fairly clear that the XDS100 in its current incarnation only supports C28x and C674x cores, so I would not expect to find an import for a DM643x which is an entirely different core processor (C64x+). My CCS setup only has the devices as spelled out by the wiki article so they agree with each other, unfortunately you will not likely find support for the DM643x until some future driver package release. I am not certain of the TI relationship with Olimex on these emulators, in particular whom is developing the drivers, since the drivers seem to be included with CCS service releases (which could imply they are from TI), but in general the emulator manufacturer develops the drivers for their emulators, so if all Olimex says is on the wiki article that is likely all that there is. I understand CCS v4 will make more use of the XDS100 so you may see more drivers available in coming months.

  • Thanks for the help.  I'll have to keep an eye out for driver updates.


    Fly

  • Hi Fly,

    I am getting exactly same error for DaVinci DM6446 DSP for XDS100.

    Error connecting to the target: Error 0x80000240/-151 Fatal Error during: Initialization, OCS,  This error was generated by TI's USCIF driver.  SC_ERR_POD_OPEN <-151> This utility failed to open the adapter for a custom emulator. The adapter returned an error. 

    Did you able to resolve this?if yes then please share what you did to resolve same?

    Thanks

    Lucky

  • Lucky,

    I received the following from a TI App Engineer:

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

    1. You need to download and install CCS 3.3 service release 12.1 in order for the XDS100 drivers to support the C674x DSP core, which is a superset C64x+ and C67x combined core.
     
    CCS 3.3 Service Release 12.1:
     
    2. Download and install the XDS100 drivers version 1.1 for CCS 3.3.
     
    XDS100 Drivers for CCS 3.3:
     
    3. Run the CCS 3.3 setup utility and configure it for a C6747 using the XDS100 emulator:
     
     
    4. Now for the magic step.  If you highlight the "Subpath_0" option and select "Properties", the GUI below will pop up.  On a DM6435, the C64x+ core is hanging off of Icepick port 0x10 instead of 0x11.  So all you need to do is modify this port number to 0x10 as I have done below, and you will have a configuration for the DM6435.  If you want, you can rename all the tags in the JTAG chain below to DM6435 and export is to a new .ccs file, so that you will have a DM6435 specific config.  But the renaming is not required for operation.  Just the port address change.
     
     
    5. Also, make sure to right click on the "TMS320C674X_0" tag and select "Properties", so that you can input the DM6437 EVM GEL file as the default GEL file you wish to use instead of a C674x GEL file.
     
  • Thanks Fly,

        I able to emulate DM6437 with XDS100.My actual requirement is to connect multicore DSP(TCI648x series) with XDS100 emulation.

    Still I could not able to connect  multicore DSP(TCI648x series) with XDS100 emulation.Can you suggest me anything for same ?

  • Sorry, I don't have any experience with the 648x series.

     

    fly