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
Hi Charlie,
You saved my day!
[Ehhh, OK, at least that portion of the day I did not waste trying to get this thing up and running.:-]
Thanks,
Claus Knudsen
I have problems when I use the Usb-serial slave port to comunicate with flashingLed app! Did you try this port? Someone could help me?
Hi Alexis,
Please see my below post. I think it will solve your problem. Let me know if it does not.
I have updated the original discussion topic to include instructions for using the FTDI chip as a USB to serial adapter. Please refer to it for instructions on how to do this. Please note this is an unsupported feature we are currently testing.
I removed R24 in F28335 controlCARD and USB serial port worked fine! I used GeneralPurposeGUI to comunicate with FlashingLeds App.
THANKS.
My two cents...
I have used the secondary serial port along with the primary JTAG port on both the Piccolo and the F28335 controlCARD's. This feature has worked very reliably and is a great asset to the development/debugging environment. It is very helpful to have a terminal program like TeraTerm open while I am downloading and debugging code.
-David
Hi, Charlie
the FTDI chip is also connected with SCI on Piccolo USB controlStick, does the usb stick support the feature like the controlCard?
Silvan
Hi Silvan,
Yes the FTDI chip is corrected on the controlSTICK. However, we are still working on how to get it to work like the USB docking station. Try comparing the schematics for the controlSTICK and the USB docking station, perhaps you can solve the problem before we can! You should be able to reprogram the FTDI chip using the same procedure I detailed above on the controlSTICK. Let me know if you get it working!
Silvan,
You should be able to reprogram the FTDI chip using the above procedure and use the serial port on the controlSTICK without any hardware modification. However, the serial port appears to be very slow. We are working on resolving the speed issue. Let me know if you experience the same thing and are able to find a work around.
Good day,
I'm new useer for C2000. I would like to Use TMS320F2806-ZGMS for my new project.
I would like to know, TMDSDOCK2808 (TMS320F2808 Experimenter Kit) can help me to program the TMS320F2806 32k flash?
If yes, please advise the step.
If no, Kindly provide me the correct tools for above.
Thanks and regards.
John
Hi John,
It depends on what you want to do. If you want to prototype software and hardware, then the F2808 can be configured to look just like an F2806, simply don't use peripherals that aren't on the F2806. This would allow you to use the TMDSDOCK2808 as an evaluation platform. When you went to build your first prototype you could then put the XDS100 emulator onto the board, as detailed in my other post on adding a controlCARD to a baseboard.
However, if you are just looking to program and debug an F2806 through a standard JTAG connector then I would recommend purchasing an emulator. There are two options, low cost or high speed. The XDS100 emulator from Spectrum Digital (http://focus.ti.com/docs/toolsw/folders/print/xds100.html) is $79 and low cost, lower speed, but fully functional. The Blackhawk USB2000 emulator is $299 and much faster than the XDS100 (http://focus.ti.com/docs/toolsw/folders/print/tmdsemu2000u.html). For most applications the XDS100 is perfectly fine, only when programming large (512KB) of flash is the XDS100's lower speed all that noticeable.
Thanks Charlie, Yes, I want to prototype software for F2806. Since there is no DOCK2806, I have to use the closest, which is DOCK2808. I also want to use the CCStudio to generate .out file for F2806. During software development and debugging, I know I can use the 0n-board emulator of DOCK2808 to program the flash. For product prototype, I plan to program via RS-232 link to the device SCI-A port. For this, I will have to use the SDFlash application from Spectrum Digital. John
Thanks Charlie,
Yes, I want to prototype software for F2806. Since there is no DOCK2806, I have to use the closest, which is DOCK2808.
I also want to use the CCStudio to generate .out file for F2806.
During software development and debugging, I know I can use the 0n-board emulator of DOCK2808 to program the flash.
For product prototype, I plan to program via RS-232 link to the device SCI-A port. For this, I will have to use the SDFlash application from Spectrum Digital.
You can use the DOCK2808 like emulator for the F2806 if you removed the F2808 ControlCard of the DockingStation and connect the JTAG DockingStation to the JTAG prototype through a plain cable. I checked it connecting my F28335 prototype with th 28335 USB dockingstation and it worked fine. You only have to put an JTAG Header on you prototype.
Alexis.
Alexis, Thanks for the quick response. I am not programming the prototype using JTAG, but the SCI-A of the F2806 device. I am using the SDFlash application from Spectrum Digital. All I need is to generation the .out file of my application and load into the F2806 via SCI-A. Can I use the DOCK2808 kit to generate the .out file for F2806?
Alexis,
Thanks for the quick response.
I am not programming the prototype using JTAG, but the SCI-A of the F2806 device. I am using the SDFlash application from Spectrum Digital.
All I need is to generation the .out file of my application and load into the F2806 via SCI-A.
Can I use the DOCK2808 kit to generate the .out file for F2806?
JOHN CHONG Can I use the DOCK2808 kit to generate the .out file for F2806?
I think what you are asking is if you can use the F2808 found on the DOCK2808 control card to test a program actually built for the F2806.
If so, yes, you can do this. Your program needs to only use the memory available on the F2806 and then when you actually program this into the flash of the F2808, you need to make sure to use the F2808 programming procedures, etc.
Brandon