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.

TMS320F28069: Bootloader mode 1 with TMS320F28069

Part Number: TMS320F28069
Other Parts Discussed in Thread: C2000WARE

Hello,

I have a question about the bootloader on TMS320F28069. I would like to use the bootloader with SCI (Mode 1) but the fact is my pins SCI-A are not reached. I have juste SCI-B which are available. 

In datasheet and other manuals, it is said that SCI-A has to be used but no mention of SCI-B. 

So there is my question :is it possible to use SCI-B to do the bootloader mode 1 (SCI) ? 

Another question if I may : do you have a tutorial or an example code to help the establishment of the bootloader?

Many thanks in advance for your help.

Best regards,

Nicolas Clochefert

  • Nicolas,

    So there is my question :is it possible to use SCI-B to do the bootloader mode 1 (SCI) ? 

    On F2806x, not directly.  To get around this, you would need to provide your own boot code in Flash or OTP.  The ROM code would then boot to flash (or OTP) where your code would then take over.  

    Another question if I may : do you have a tutorial or an example code to help the establishment of the bootloader?

    I would suggest the following application note.  The F2806x would fall under the "Flash Kernel A" category.  

    Best Regards

    Lori

  • Dear Ms.Heustess,

    Many thanks for your help. I'm going to try this. 

    Have a good day.

    Best regards,

    Nicolas Clochefert

  • Thank you for your answer. 

    I would like to ask you another question if I may.

    I am currently trying to connect my Experimenter's Kit Piccolo F28069 to my PC by using UART-USB. I have already tried to use J3 to connect the four connections of UART (3v3/GND/Tx/Rx), and then I have tried to connect these connections on GPIO 28/29 and pin GND/3v3. But both solutions don't work, I can't connect my device to CCS there is an error of type: SC_ERR_FTDI_OPEN . 

    Could you please help me to figure out what's going on ?

    I am beginner in communication so I think there is something that I have not understood.

    Many thanks.

    Best regards,

    Nicolas Clochefert

  • SC_ERR_FTDI_OPEN . 

    Please check this guide for debugging.  It has instructions/links to info on reprogramming the FTDI chip.

    www.ti.com/lit/SPRACF0

    Regards

    Lori

  • Dear Ms. Heustess,

    Thank you again for your answer and for this link. 

    Unfortunately this is not what I am trying to do because I don't want to use JTAG but I want to use the UART connection. 

    How can I link my PC with my board (Experimenter's Kit Piccolo F28069) by using UART from one side (Kit Piccolo) and USB from the other (PC) ? I have watched electronic schematics but it doesn't work.

    Many thanks in advance for your answer.

    Best regards,

    Nicolas Clochefert

  • Let me check with a colleague and get back to you.

  • Thanks a lot for your help,I'm sorry I don't know a lot of things in this field

  • Nicolas,

    Can you post a picture of your Windows Device manager when the experimenter kit is plugged in via the USB port and powered up? 

    We should see this show up as 2 entries one for "Texas Instruments Debug Probes" and the other under "Ports".  The enumeration under Ports should give you the COM port number that is connected to the SCIA on the F28069 device.

    Will see what your PC is detecting.

    Best,
    Matthew

  • Dear Mr.Pate,

    Many thanks for your answer.

    Here is my device manager when my board is plugged in via USB (USB-B is used on the board). But the fact is, if I want to do my bootloader through UART, should I disconnect USB and just keep UART connection ?

    So I disconnect USB-B connection and I just use TTL-232R-3V3 (USB from the side of PC and UART from the side of my board). But when I do that, I see nothing on my Windows device manager, no device is seen by my computer.

    Maybe I make a big mistake and I don't understand something.

    Many thanks in advance for your answer.

    Best regards,

    Nicolas Clochefert

  • Nicholas,

    Unfortunately I don't see an attachment, if you could try repost when you have a chance that would be great.

    On the docking station(Docking-Stn USB-EMU); we support the debug connection using an FTDI USB to serial device CPLD(FTDI 2322). 

    This device supports 1 USB connection and 2 serial/UARTs.

    We have programmed the CPLD to use 1 of the serial connections to emulate a XDS100v2 class debug probe to connect to the device through CCS via the USB type B connector on the board.

    We have programmed the other serial connection to serve as a UART translator to connect to the SCI-A on the device to the USB to the PC.  This will use device pins GPIO28 and GPIO29 as RX and TX respectively.  This would need to be configured in your source code to enabled this path.

    There is also a jumper needed to enable for the Rx path, I believe this is J8 and should be in the corner of the board.

    If you have a different docking station(there was an early revision that did not have the FTDI device) or are connecting using an external emulator to the 14-pin JTAG connector please let me know, as it will change the approach we need to take.

    Best,
    Matthew

  • Dear Mr.Pate,

    Thank you for your answer. 

    I just want to use USB-UART connection without JTAG. 

    Indeed I have connected GPIO 28 and 29 to my TTL-232R-3v3 and I have run the program sci_echoback : C:\ti\c2000\C2000Ware_3_04_00_00\device_support\f2806x\examples\c28\sci_echoback.

    I have chosen the following parameters in CCS : UARTConnection for the connection and TMS320F28069 for the board device.

    Unfortunately it doesn't work. 

    I have created another post to clearly explain the situation here : (+) TMS320F28069: SCI_echoback - C2000 microcontrollers forum - C2000Tm microcontrollers - TI E2E support forums .

    I can't figure out how to solve my issue.

    Thank you for your help.

    Best regards, 

    Nicolas Clochefert

  • Nicholas,

    I saw Marlyn's reply to your other post, the link she provided has a similar statement to the above.  Please read through that link as well as I think it is similar to the issue you are facing.

    You can use the USB Type B connection on the docking station to handle the UART connection to the device, w/o using the XDS100v2 connection.  They function in parallel to one another, you will just need to populate J8.

    Using this, there is no need to connect GPIO28/29 manually. 

    Its also worth noting that our device is 3.3V CMOS IO and NOT 5V TTL compliant.  If you connect directly to the GPIOs you will need to use a resistor divider to scale down the incoming Tx(Rx pin on the C2000) from the PC to avoid damaging the F28069(Outgoing Tx to the PC wouldn't matter).

    Also in that post you mention an error from CCS.  Code Composer MUST use the XDS100v2(or other JTAG debugger) to connect to the device.  We do not support debug over serial port connection, we have to use the JTAG pins on the device.

    Once we have the serial connection working, you can use the serial bootloader to download new code if you need to (vs the JTAG), but we need to use the JTAG to download the echoback example to debug the serial connection to the PC.

    Best,

    Matthew

  • Matthew,

    Many thanks for your help I am going to try this and follow the link of Marlyn. 

    Best,

    Nicolas