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.

TMS320F2810: SCI communication

Part Number: TMS320F2810
Other Parts Discussed in Thread: UNIFLASH, NE555, LAUNCHXL-F28027F

Hi,

I am attempting to flash a TMS320F2810 MCU via UART using a DFR0065 (USB to UART board).

I have an old .out file compiled in CCS v3 that I am trying to flash using UniFlash. 

The steps I follow are:

  1. Select  TMS320F2810 as my device.
  2. Import a .ccxml filr created in CCSv10 that is setup for UART at the baudrate of 9600.
  3. Find the .out file and select load image.

I get the following errors:

[4/28/2022, 9:42:08 AM] [ERROR] C28xx: Failed CPU Reset: Unsupported GTI Function.
[4/28/2022, 9:42:12 AM] [ERROR] C28xx: Trouble Reading Memory Block at 0x3f7ff8 on Page 1 of Length 0x1: Read timed out
[4/28/2022, 9:42:12 AM] [ERROR] C28xx: GEL: Error while executing OnReset(-1): Target failed to read 0x003F7FF8@Data at XAR0=*(0x3F7FF8) [f2810.gel:107] at Unlock_CSM() [f2810.gel:25] at OnReset(-(1))
[4/28/2022, 9:42:12 AM] [ERROR] C28xx: GEL: Error while executing StartUp( 11, 2, 0, 2655 ): Reset failed: retcode=-1 at GEL_Reset() [f2810.gel:16] at StartUp(11, 2, 0, 2655)

Please let me know if you need any further details.

  • Hello,

    Please give us an additional day to respond.  We are working to get this assigned to the correct expert with TI.

    Best,

    Matthew

  • Hi,

    UniFlash does not support serial programming.

    Please check with Elprotronic and CodeSkin - they may have this support.

    https://www.elprotronic.com/ 

    https://www.codeskin.com/ 

    Thanks and regards,
    Vamsi

  • Hi,

    Thank you for the information. C2Prog seems like the best software available for serial programming.

    When I set it up, I get the error of "no response"

    Current Hardware Details:

    My control board as the following connector:

    I am using a DFR0065 (USB to UART board) with the CTS pin tied low and the DTR pin left floating.

    Questions:

    Is there a specific hardware configuration that the USB to UART board should follow?

    What signal is the C2Prog looking for while pinging?

  • We need to make sure the device is in Boot to SCI-A by configuring the boot pins as shown below. 

    For instance your board is pulling SCI_TXA(GPIOF4) high, which will boot to flash.  You will need to change this to a pull down(along with configuring the other 3 pins).

    Best,

    Matthew

  • Hi Matthew,

    I have been using a programming dongle from RealSYS to successfully flash the f2810 processor through SCIA.  

       

    This RealSYS dongle is now obsolete however the SCI flashing worked with the CON6.

    I would like to transition to a simpler USB to UART board with the C2Prog software for flashing.

    As the RealSYS worked:

    1. Is there a specific hardware configuration that the USB to UART board should follow?
    2. What signal is the C2Prog looking for while pinging?

  • Snambiar,

    With the RealSYS tool, can you give some more details on how you connected this to your F280x target?  Was it just to connect from the RealSYS to the 6 pin connector J1 you attached previously?  I suspect that the RealSYS pulled this signal low when connected to put the F280x into SCI Boot mode and then drove XRSn to reset the device.

    For the connection to the DFR0065 when C2PROG is running; I think you will need to connect the device to pins 2 and 3 accordingly, drive pin 6 low.  Do all this with the C2000 not powered.  Once things are connected, intiate the program with C2PROG and then power up the device.  It should begin the download across UART as it boots into SCI-Boot mode.

    I think you can leave XRSn connection floating if you use the power up method.

    Let me know if this works.

    Best,

    Matthew

  • Hi Matthew,

    Yes, the RealSYS tool is just a direct plugin to the 6 pin connector.

    This is what I observed by putting a scope on the XRS pin while the RealSYS was flashing.

    I did try the connections you suggested for the DFR0065 when C2PROG is running, but the result was the same: PINGING TARGET: NO RESPONSE.

  • Snambiar,

    Looking back at my post I realized I incorrectly said to drive pin 6 low, which is already a VSS connection.  I meant to drive pin 5 low as I suspect the RealSYS tool did.  You may have figured my mistake out, but wanted to make sure we drove pin 5 low before powering up the C2000.

    Does your schematic call out GPIOF2, F3, F12 as well?  Can you confirm how they are driven?

    Best,

    Matthew

  • Hi Matthew,

    I did try pulling pin 5 low and the results were the same: PINGING TARGET: NO RESPONSE.

    GPIO F2 Pulled High

    GPIO F3 Pulled High

    GPIO F12 Pulled Low

  • Snambiar,

    The only other thing I can think of to try is to manually drive XRSn pin (pin 4 on your header)low then high after power up then attempt to send code across.  It seems we are not getting into the SCI Boot mode with the previous methods. This will be latched on the rising edge of XRSn.

    Best,
    Matthew

  • Hi Matthew,

    I created the same waveform the XRS pin is looking for using three NE555 one-shot circuits. The end result still showed PINGING TARGET: NO RESPONSE.

  • Snambiar,

    Is it possible to scope the UART pins TX/RX to see if we have data coming from the PC host?  I want to make sure the USB/UART device/IC is behaving correctly.

    I know this is a different device, but do you have one of C2000 LaunchPads(LAUNCHXL-F28027F/F28069M/etc) in your possession?  Those have USB to UART implemented from FTDI device locally and we could jumper that connection over to the UART of the F281x.

    Best,

    Matthew