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.

TMS320F28069M: Custom Board using F28069

Part Number: TMS320F28069M
Other Parts Discussed in Thread: LAUNCHXL-F28069M, C2000WARE

Hi,

I am trying to design a custom board using F28069M. I am planning on using the FT2232H chip to program my processor, i wanted to know whether there is a need to program the FTDI chip or just by following the schematics and powering it up, the interface will work normally as it does on the launch pad.

Regards

Anurag Agrawal

  • Anurag,

    The FTDI chip is a generic USB to 2 port FIFO/UART IC, that has an internal CPLD that needs to be programmed to tell it how to translate the USB connection to whatever format is needed on the other side.  https://www.ftdichip.com/Products/ICs/FT2232H.htm  

    So, as you suggested, it will need to be programmed to behave as an XDS100v2 with a UART channel on the secondary port.

    Please see the bottom of page 7 if this app note http://www.ti.com/lit/spracf0 

  • Matthew,

    I am sorry i missed out this point in the question i earlier posted, I would like to use the FTDI chip both as a programmer and also as a JTAG tool for debugging process.So it would be of great help if you can guide me on how to achieve that.

    Thanks and Regards

    Anurag Agrawal

  • Matthew,

    I am confused on what exactly has to be done, For the IC to behave as a XDS100v2 am I supposed to program the EEPROM which is connected to the FTDI chip? If yes can you please help me what connections am I supposed to make, for instance what hardware is needed for programming the EEPROM.

    Thanks and Regards

    Anurag Agrawal

     

  • Part Number: TMS320F28069M

    Hi,

    I am trying to design my own custom board for TMS320F28069M with functionality of debug using JTAG, for which i intend to use the FTDI 2232H chip(I also intend to use the uart for programming my processor), I have gone through some documents which mention how to program the EEPROM using the FT_PROG utility. I have a few questions

    1) Am I supposed to only program the EEPROM or the FT2232h also?

    2)What hardware interface is needed to program the FTDI chip and or EEPROM interfaced with it?

    Thanks and Regards

    Anurag Agrawal

  • Anurag,

    Thanks for the clarification.  Once the FTDI is programmed correctly it will behave as a XDS100v2 emulator that can be used with CCS to connect and program the device flash.

    Now, to program the FTDI's EEPROM to make the FTDI do what we want here is the proceedure:

    1)I'm assuming you have the schematics of the LAUNCHXL-F28069M as a reference, as it implements the above.  If not they can be found in the following path in C2000Ware install:  C:\ti\c2000\C2000Ware_1_00_06_00\boards\LaunchPads\LAUNCHXL_F28069M

    2)Download the MPROG programming utility from FTDI here: https://www.ftdichip.com/Support/Utilities.htm#MProg 

    3)Download the programmation file here: http://processors.wiki.ti.com/images/f/f8/XDS100_wUART_FT2232H.zip  

    4)Run MPROG.exe, scan for devices, read devices(under Tools), then program the .ept file in the ZIP file above

    The FTDI should now behave as an XDS100v2 with an additional UART back channel.

    Let me know if you have more questions.

    Best,

    Matthew

  • Hi Matthew,

    I would like to sum up all that I have understood on what needs to be done just to make sure we are on the same page.

    First of all I will have to design the hardware part according to the schematics of my launch pad,  After the hardware part is done I will have to program only the EEPROM and not the FTDI chip explicitly, after the programming is done the FTDI will behave as as an XDS100v2 emulator and will support both the debug and flash operations.

    Thanks a lot Matthew for your patience and guidance.

    Regards

    Anurag Agrawal 

  • Anurag,

    There is one clarification I want to make to the above, while you will be programming the EEPROM(U8 in the LAUNCHXL-F28069M schematic) it is programmed by the FTDI itself. 

    The MPROG utility will connect using the same USB connection that is native to the PCB that connects to the FTDI.  There is no external or pre-board population programmation of the EEPROM that has to take place on your part.

    Let me know if this is clear.

    Best,
    Matthew

  • Matthew,

    Yes Matthew I did understand what you conveyed. Thanks a lot for your patience and help, I hope it will be fine to bother you again with any other queries.

    Thanks and Regards

    Anurag Agrawal 

  • Anurag,

    Glad we could be of help, I will mark this post as thinks resolved; you are welcome to either reply back if you have similar topic question or start a new thread.

    Best,
    Matthew

  • Matthew,

    I built the custom launch pad according to the schematics given, when I proceed withh programming of the FTDI chip, the MPROG utility gives me this message, I will attach the screenshot below, If you can please tell me where possibly I am going wrong it would be of great help

    Regards

    Anurag

  • Did you try "Device" scan a few times?  I've seen the MProg tool be a bit slow. 

    You could try https://www.ftdichip.com/Support/Utilities.htm#FT_Prog FTPROG as it is a bit more windows 10 native friendly.  I recommended MProg since that what was used/verified by us, but FTPROG should work as well.

    Matt