There is an issue with some of the C2000 Experimenter's kits that include the docking station with onboard USB JTAG emulation being recognized by Windows as "Dual RS232 USB Serial Bridge" instead of the TI XDS100 (xds100v1) JTAG emulator. The USB emulation on the docking station is based on an FTDI USB Serial adapter chip that can act as a JTAG emulator when connected to an external EEPROM containing the emulation parameters. If the EEPROM is not programmed then the FTDI chip appears as a "Dual RS232 USB Serial Bridge". We believe there is an issue with some of the USB docking stations not getting programmed properly.
If you wish to design an XDS100v1 emulator onto your own C2000 board, you can use this procedure to program it.
Here's how to program the EEPROM on the USB docking station:
This will also give you the ability to use the FTDI chip as the XDS100 emulator and a USB to serial adapter at the same time. The FTDI USB to serial adapter is connected to the controlCARD's serial port on the USB docking station. Please note that this is an unsupported feature. For more information on using this feature, please read my update on 6/10/2009.
1) Download and install the FTDI D2XX Drivers found here. (scroll down, the link for the driver is in the center column of the table on the page)
2) Download and install the MProg program found here.
3) Download the XDS100_wUART.txt file attached to this post and RENAME IT to be XDS100_wUART.ept (see bottom of this post)
4) Connect the USB docking station.
5) Open MProg. Under the File menu select Open and then select the XDS100_wUART.ept file.
6) Under the Device menu select Scan. MProg should give the result below, showing that there is one blank device. (if the device has already been programmed and you wish to reprogram the FTDI's EEPROM, you will need to "Erase All Existing Devices" first)
7) As the above picture shows, select Program under the Device menu. MProg will program the EEPROM on the board and should give a result similar to the one below.
8) Now your XDS100 emulator is programmed and ready be used! This also give you the advantage of allowing the FTDI chip to act as both a JTAG emulator AND a USB to serial adapter which is tied to the serial port on the controlCARD. As shown in the below picture, there is the XDS100 emulator and the USB to serial bridge.
Please note that using the FTDI chip as a USB to serial adapter is an unsupported feature that we are currently testing. For more information please read my update on 6/10/2009.
---
Update 6/10/2009
Please note: Using the FTDI chip as a USB to serial adapter is an unsupported feature that we are still testing. It should work, but right now we can't garuntee anything.
To use the FTDI chip on the USB docking station as a USB to serial adapter the C2000 MCU most be disconnected from the UART isolation and tranceiver chips.
This is a relatively simple process. Please refer to the controlCARD schematics found in the C:\TI_F28xxxSysHW directory for more detail. They can be downloaded at www.ti.com/c2000tools. The "Baseline Software" installer will install all controlCARD schematics, etc and the "Hardware Developer's Package" will install the schematics, etc specific to the particular controlCARD.
Here are the instructions for doing this:
- Piccolo F28035 controlCARD - Set SW1 to the "off" position.
- Piccolo F28027 controlCARD - Remove "R10", this should be a 0ohm resistor.
- F2808 and F28044 controlCARD - Remove "R18", this should be a 0ohm resistor.
- F28335 controlCARD Rev1.1 - Remove "R24", this should be a 0ohm resistor. (Rev1.0 F28335 controlCARDs cannot have their UART tranceiver chips disconnected)
- C28343 controlCARD - Remove "R193", this should be a 0ohm resistor.
The USB docking station will also need a slight modification. J9 will need to be populated with a header and a jumper will need to be placed on the header.
Currently, the FTDI to USB serial adapter appears to work with the above modifications, however it is currently quite slow. Again, this is an unsupported feature that we are currently testing.
If you choose to use the feature, please let us know what issues/success you have doing so.
If you have any questions on reprogramming your FTDI chip please let me know.
Charlie