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.
Tool/software: Code Composer Studio
Hi ,
I am very new to the TI experimenter kit F28335. I have seen every JTAG/USB being used for the flashing program(.ehx) to the MCU. I want to flash the program using C2prog. Please clarify what is that xds100v2 JTAG/USB emulator on the board with the image . Please let me know whether we can use the USB connector to flash the program to the MCU ?
Hi,
Boggarapu Yasho Bharat said:Please clarify what is that xds100v2 JTAG/USB emulator on the board with the image .
Yes the docking station has a XDS100v2 debugger which can program not only the controlcard that docks on it but also can program any other external control board with compatible 14-pin JTAG connection.
Boggarapu Yasho Bharat said:Please let me know whether we can use the USB connector to flash the program to the MCU ?
Yes, you can very well program the mcu (in this case I assume its the mcu on controlCard) with the on-board XDS100v2.
Regards,
Gautam
Yes, you can program external board by using the above 14-Pin JTAG. You can use either of them USB or JTAG connector.
Hi,
Please note the the on-board emulator (generated by the FTDI chip) is a xds100v1. Using C2Prog you can choose to program the device via JTAG or SCI. If using SCI, you will need to configure the boot mode pins such that the F28335's boot-to-SCI mode is used.
USB port (JP2) ------------> FTDI chip ------------> JTAG header ----------> JTAG interface on C2000 controlCARD
|
|
|
|-------------> UART / SCI connection ----> J9 ----> SCI peripheral on C2000 controlCARD
Thank you,
Brett
Brett Larimore said:Please note the the on-board emulator (generated by the FTDI chip) is a xds100v1.
Brett, my R3 docking station has XDS100v2 and not v1. Did I miss anything ?
Hi Brett,
Thank you for your reply. But ,as you can see in the image attached above, the document says that for the serial communication the SW1 should be in OFF position. What does that mean ?
Also , in the document, in the loading firmware section, in c2prog it is asked to configure the port as JTAG XDS100v2 . I feel it contradicts from the above statement. Please clarify.
Thanks
Bharat
Hi Gautam,
The DIMM100-based Docking Station has a xds100v1 on it. The FTDI FT2232D generates a xds100v1 emulator (the FT2232H generates a xds100v2 emulator).
Do note that both the xds100v1 and xds100v2 drivers are similar. And I have seen many situations where one emulator will work with the other's driver inside CCS.
===
Hi Bharat,
I would recommend taking a look at the following directories in controlSUITE:
\controlSUITE\development_kits\~controlCARDs\CC2833xHWdevPkg\
\controlSUITE\development_kits\~ExperimentersKits\DIM100ExperimentersKit-HWdevPkg_v2_0\
From the cCARD schematic, you can see that SW1 controls whether an on-card transceiver is connected to GPIO28 (a SCI/UART RX pin on the C2000 device). To utilize the USB connection on the Docking Station for SCI communication, you should disable this on-card transceiver so that you can use the FTDI chip's connection to the C2000's SCI peripheral. To enable this USB<->SCI connection you also have to close J9, on the Docking Station, with a jumper.
Note that the document appears to program the C2000 via the xds100v1 (emulator) path, not via SCI/UART. As a result, the discussion regarding SW1 and J9 isn't really relevant to programming the C2000 device (but perhaps becomes relevant once the software that gets programmed on the devices runs)
(note that I don't believe that the document you are using isn't TI's - so I cannot really comment much on the content of the document)
Thank you,
Brett
Dear Brett,
Thank you for your reply. The document is provided by plexim for the FOC control of PMSM using C2000 microcontrollers by Processor In Loop(PIL). They have given header filer for SCI in the demo code. Please suggest me how do I check whether , the above said procedure by them in document works or not. Do I need to reset boot mode to SCI ?
Please clarify and suggest some alternate way to program the F28335.
Thanks and Regards
Bharat
Hi Bharat,
My guess is that they are using a JTAG link for programming (whether via C2Prog or CCS) and an SCI link for communication to an external GUI/host/etc. Note that this is only a guess.
I would highly recommend contacting Plexim for details on the proper procedure and help in utilizing their product. I have not used the PIL solution before, nor followed its documentation or software examples.
Thank you,
Brett