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.

TMS320F2811 programming via serial connection using Uniflash 3.3

Other Parts Discussed in Thread: UNIFLASH, TMS320F2811

After much messing about it seems that Uniflash works very nicely with a JTAG emulator (the Spectrum Digital 510USB), but I can’t make it work with the serial connection, although it did get a lot further than yesterday, complaining “C28xx: Can't Initialize Target CPU: Error starting communication transport: 2147500037”.

 

Also, the serial connection doesn’t work as an emulator either, giving the messages: C28xx: Flash Programmer: Warning: The configured device (TMS320F2811), does not match the detected device (). Flash Programming operations could be affected. Please consider modifying your target configuration file.

C28xx: GEL: Error while executing OnTargetConnect(): Could not read register ST1: Execution state prevented access     at (ST1&~(0x0100)) [f2811.gel:254]       at C28x_Mode() [f2811.gel:76]     at OnTargetConnect() .

C28xx: Failed CPU Reset: Unsupported GTI Function.

 

From these opaque messages and the TI documentation it looks like the serial connection doesn’t work with the F2811 for UniFlash.

Please could you confirm whether the serial connection should work with the F2811 & UniFlash.

 

  • Hi Paul,

    I'm not sure about Uniflash but why don't you try C2PROG for the same operation?
    www.codeskin.com/programmer

    Regards,
    Gautam
  • Hello Gautam and thanks for the reply. I suspect I tried the C2Prog route before and found that it did not support the .out files that we use with this particular hardware. It is possible we started looking into obtaining a .out to .hex file converter.

    The problem is with SD Flash not reliably verifying a firmware write ('failed at block address..........').

    If you have any further recommendations/solutions they would be appreciated.

    Paul

  • PAUL RERRIE3 said:
    It is possible we started looking into obtaining a .out to .hex file converter.

    Check these links:

  • Thanks. Previously we got to the stage where our programmer was looking into the CCS utility for converting to hex. I think this was where we got to:

    "The TMS320C28x assembler and linker create object files that are in common
    object file format (COFF). COFF is a binary object file format that
    encourages modular programming and provides more powerful and flexible
    methods for managing code segments and target system memory.
    Most EPROM programmers do not accept COFF object files as input. The
    hex-conversion utility converts a COFF object file into one of several
    standard ASCII hexadecimal formats suitable for loading into an EPROM
    programmer. The utility is also useful in other applications requiring
    hexadecimal conversion of a COFF object file (for example, debugger and
    loader applications).

    The hex-conversion utility can produce these output file formats:

    · ASCII-Hex, supporting 16-bit addresses

    · Extended Tektronix (Tektronix)

    · Intel MCS-86 (Intel)

    · Motorola Exorciser (Motorola-S), supporting 16-bit addresses

    · Texas Instruments SDSMAC (TI-Tagged), supporting 16-bit addresses"

    Which of these would be best?  Note that we use more than 16 bit addresses.

    Paul

  • Intel-hex is the one majorly accepted and used.