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 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 XDS100 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 (this file can also be found by clicking on my profile)
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.
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.
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:
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
Before you plug in an XDS100 you need to have Code Composer Studio installed as the FTDI drivers are installed with it. It is included with CCSv4 which you can get from: http://www.tiexpressdsp.com/index.php/Category:Code_Composer_Studio_v4#Downloads
FTDI changed from mprog to FT_prog. I attached a new XML file since the older EPT files didn't work.
SteveFTDI changed from mprog to FT_prog. I attached a new XML file since the older EPT files didn't work.
I had to reprogram one of the 28xx Docking Stations (USB-EMU [R3] with XDS100v1) that had an improperly programmed FTDI chip, so I used the .txt/.ept file posted on the first post in this thread. It worked correctly, until I put in a controlCARD that has a flash program that outputs things on the UART. For some reason, which this controlCARD is inserted, the PC thinks that in addition to the XDS100 parts, a serial mouse is also plugged in, and the mouse cursor goes haywire until I unplug the USB. If I connect my PC to the Docking Station w/o the flash-programmed controlCARD, it does not have this problem.
If I connect my PC to a different Docking Station that came programmed correctly in the first place, it does not have this problem.
I have reproduced this on two separate computers (both running Windows XP).
I am not sure what is causing the problem, but I need a way to reprogram the FTDI chip properly with XDS100v1 settings, and I suspect that I need to do it *without* the serial port support.
Please post a set of .ept and .xml files so I can fix this.
I created that XML file as a temporary file. I had a problem with a controlcard which wasn't programmed and couldn't get mprog. So, I just created one from the screenshots in this post since ft_prog can't handle ept. It's not official, I just posted it in case someone else comes across a similar problem.
I am not knowledgeable with the UART operation, so hopefully someone else on the list will respond to that issue.
Hello Charlie,
curious question:
According to the embedded wiki I learned today that CCS4.02 does NOT accept an PID A6D0 any more (as shown in the illustrations above). According to the wiki it has to be 6010 otherwise the ControlStick is not recognized (which is currently the fact).
Have you come across this? I reprogrammed the stick in Sep2009 (see earlier posting) and was happy with it until today when the CCS4.xx update came online.
rgds Friedrich
Hi Friedrich. Can you give me the link to the wiki you are reading?
http://processors.wiki.ti.com/index.php/XDS100
or: G****e on XDS100 wiki.
rgds
Friedrich
mea culpa, mea maxima culpa.
The people that can read clearly have an advantage :))
Must read: "The ID must NOT be 6010". So I programmed it to 6010 and back again. But still does not work.
Currently getting CCS4.1 to try.
problem still stays with CCS4.1. XDS is programmed as decribed. Access to target is not possible.
Is there a possibility to revert back to not using the second channel?
after three installations CCS4.1 on different systems (and different license models) with none accepting the C2000 control stick I assume permanent damage of the stick during the first programming session after the update from CC4.00 to 4.02. On the other hand a USB dock with F28027 SIMM card did work.
I regard the issue as closed and will try to get a new stick.
rgds FJ
Charlie,
I want to write data to a USB memory stick. I understand that this is possible using the dual nature of the FTDI chip. I have the F28335 control card v. 1.2 and the docking station with the FTDI 2232D purchased in March 2010. Is the method you have outlined above still valid or needed?
I am working on SolarExplorer Kit , I am trying to flash F28027 control card of this kit. I came across few emulator errors while flashing this through CCS.
So I tried to program the on board FTDI chip with MProg through USB using XDS100_wUART.ept file. While doing so I made a mistake by editing the Product ID value from A6D0 to 0611(found this printed on chip) and programmed it.
Now I am unable to connect to the FTDI chip as windows doesnt detect "Texas Instruments XDS100+RS232 V1.0" drivers for this device. And MProg or FT_Prog packages doesnt detect my FTDI Chip anymore.
Could you please help me how to reprogram the FTDI chip back to XDS100 emulator so that windows detects the driver for this device.
Thanks in advance.
Sindhu Krishna
Thank you for this fix, the problem still lives on in 2013. The fix was needed and worked on (2) C2000 Docking-Station USB-EMU [R3] s purchased this month.
Again thanks, especially for the screen shots of Mprog , , , <N/M>