NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.
XDS560v2 LAN Configuration
Contents
Background[edit]
Most XDS560v2 emulators can be configured to use USB or Ethernet. Ethernet a number of benefits such as being able to remotely debug a board that is located in a lab or another location that is not directly connected to your workstation. Another key benefit is that it allows you to share boards between different users.
Setup[edit]
If you are going to setup your XDS560v2 emulator on a network , you could use DHCP or static IP address.
If the DHCP assigned IP address is changing often, then a static IP address would be a better option. This is because when connecting to the emulator in CCS you need to specify the IP address to use, thus if it is changing you will need to be continually updating your CCS target configuration.
Dynamic IP Address[edit]
Get the IP Address[edit]
- Connect both the USB and ethernet cables
- USB to the emulator and your PC
- Ethernet to the emulator and your network
- Let the XDS560v2 boot up
- Open a command prompt Go to <CCS installation directory>\ccsv5\ccs_base\common\uscif (or \ccsv4\common\uscif if you are running CCSv4) then run the following commands
- dtc_conf get sd560v2u 0 (note that you may have to change sd560v2u to a different ID depending on which brand of XDS560v2 you are using)
- Now read the ipAddress from the output of the command use it in the CCS target configuration setup
Static IP Address[edit]
Talk to your IT Administrator[edit]
Provide the MAC address of the emulator (written on the bottom) to your IT administrator and request a static IP address and a name for the device. You will also need the address of the gateway for your network or sub-net. If you explain exactly what you are trying to do it will help your IT admin to provide the necessary information.
Configuring the Emulator[edit]
Now you need to configure your emulator.
- Connect only the USB cables (the ethernet cable must be disconnected)
- USB to the emulator and your PC
- Open a command prompt Go to <CCS installation directory>\ccsv5\common\uscif (or \ccsv4 if you are running CCSv4) run the following commands
- dtc_conf set sd560v2u 0 dtcName=NAME
- the sd560v2u is to be used when using the Spectrum Digital XDS560v2, if you are using a Blackhawk or other XDS560v2 you will need to enter the ID for that emulator
- replace NAME with the name provided by your IT administrator
- dtc_conf set sd560v2u 0 ipConfig=ADDRESS
- replace ADDRESS with the IP address provided by your IT administrator
- dtc_conf set sd560v2u 0 ipNetmask=255.255.254.0
- dtc_conf set sd560v2u 0 ipGateway=GATEWAY_ADDRESS
- replace GATEWAY_ADDRESS with the address of the gateway for your network
- dtc_conf set sd560v2u 0 dtcName=NAME
- Turn off the emulator
- Turn on the emulator
- Wait until State 3 is showing a red light
- Then plug in the ethernet cable
- Ethernet to the emulator and your network
- You can unplug the usb cable
- You can now specify the address of the emulator when creating a target configuration in CCS