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.

dm365 EVM basic XDS510 setup/connection help

Hello, I just received my Spectrum Digital XDS510 USB emulator that I intend to use on the dm365 EVM for updating uboot/UBL (among other things). 

I am having trouble getting started, so I hope someone can help (I've looked for an FAQ or wiki article specific to dm365, but could not find).

Here's what I've done:

1. Installed CCS3.3x drivers from Spectrum Digital CD (XDS510 device enumerates properly on USB).

2. Ran CCS setup, imported dm365 EVM .ccs file from Spectrum Digital (http://support.spectrumdigital.com/boards/evmdm365/revc/). I had to modify this configuration to point to the evmdm365.gel file (also downloaded from SD).

3. Started CCS and tried to connect to board....this is where I run into problems. I get various errors (one posted below) depending on if I reset the XDS510 device, or the board, or both and various retries. I actually connected one time, but could not load any programs. 

Can someone please post the exact procedure on how to set this up for the dm365 EVM (with links to correct .ccs and .gel files etc.)? Thanks so much.

Regards,

-Craig

 

 

Error connecting to the target:

Error 0x80000240/-1029

Fatal Error during: Initialization, OCS, 

The ICECrusher register scan returned invalid data

 

 

I/O Port = 510

 

Board Name: EVM_DM365_XDS510USB

Cpu Name: ARM9

 

Abort: Close Code Composer Studio.

Retry: Try to connect to the target again.

Cancel: Remain disconnected from the target

Diagnostic: Run diagnostic utility.

  • These are the steps I followed

    1) Installed CCS 3.3

    2) installed latest drivers from Spectrum Digital site

    3) got GEL file and CCS EVM configuration file from Spectrum Digital site

    Was able to connect using EVM configuration file and GEL from SD site.  Keep in mind that sometime JTAG emulator can get out of wak after it powers on and fails to connect several times, at this point I usually remove power from XDS510 (e.g. remove USB cable), and then reconnect power after 10 seconds or so.  As a safety check you can also run SDConfig utility (part of SD driver installation) to ensure the JTAG emulatoe is recognized; if it is not, then it does not matter if your CCS config and GEL file are correct, you will likely have problems.  Once JTAG is recognized, then your CCS configuration along with GEL file have a good chance of working.

     

  • Thanks Juan, "step 2" was all I needed to do to get it working. I had originally used the drivers from the CD. I guess it was different than the one I just downloaded.

    So, for others that may be looking.....these are the files I used to get it working:

    http://support.spectrumdigital.com/ccs33/Release-30330/setupCCSPlatinum_v30330.ZIP<<--- XDS510 USB drivers, install before connecting USB device

    http://support.spectrumdigital.com/boards/evmdm365/revc/files/DM365-XDS510USB.ccs <<---- Import this file into CCS Setup utility

    http://support.spectrumdigital.com/boards/evmdm365/revc/files/evmdm365.gel<<----- update CCS configuration to point to this file

    I do have a few other questions related to using the tools provided in the PSP:

    1) NANDEraser_DM36x.out

    - Exactly what do I enter for the input "Enter the Address where NAND is conencted (in hex):" ? I tried 0x0 and it returned an error.

    2) NANDWriter_DM36x.out

    - Is it OK to skip writing the UBL? When it asks "Enter the binary UBL file Name (enter 'none' to skip)", if I enter 'none' will it just move on and only update u-boot?

    - What are the reccomended values to enter for "application entry point" and "application load address"? I used 0x8108000 for both and it seemed to work, but I just guessed from looking at the console output of the previous UBL/u-boot.

    3) Is the source code available for thses tools?

    Thanks again.

     

  • 1) There should be a DM365-installation.doc under dvsdk_2_10_00_18/PSP_02_00_14/docs that describes the proper values to enter for the NANDEraser_DM36x.out and NANDWriter_DM36x.out tools.

    2) If you erase all the NAND, then you will need to reflash UBL again.  See doc above for more details on entry point.

    3) Yes, the source code is in a flash_utils.tar.gz file located under dvsdk_2_10_00_18/PSP_02_00_14/board_utilities