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.

  • Answer Suggested

Important -- C2000 Experimenter Kit "Dual RS232" Fix

Intellectual 1615 points

Replies: 52

Views: 92915

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

XDS100_wUART.txt
  • 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?

  • In reply to Alexis Cabello:

    Hi Alexis,

    Please see my below post. I think it will solve your problem. Let me know if it does not.

    Charlie

  • In reply to Charlie3036:

    Update 6/10/2009

    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.

    Charlie

  • In reply to Charlie3036:

    I removed R24 in F28335 controlCARD and USB serial port worked fine! I used GeneralPurposeGUI to comunicate with FlashingLeds App.

    THANKS.

  • In reply to Charlie3036:

    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

  • In reply to Silvan Huang:

    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!

    Charlie

  • In reply to Charlie3036:

    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. 

     

    Charlie

  • 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

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.