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.

TMS320F2812: Flash loading commands

Part Number: TMS320F2812


I had an ex-coworker create an interface for multiple TI DPS, e.g. TMS320F2812. 

For example here is a command to erase a Flash. I am trying to find a TI user manual that that defines these commands. His tool works great, but he did not document it very well. We are trying to improve on the documentation and want to save the user guide locally so we can reference it.

Byte

Data byte

Value (Hex)

1

DIAG_FLASH_COMMAND_RESPONSE_MSG

0x50

2

FLASH_ERASE_COMMAND

0x55

3

FLASH_ERASE_COMMAND_MAX_BYTES

0x02

4

Flash Erase Sector mask (MSB: Bits15-8)

(Refer table below)

5

Flash Erase Sector mask (LSB: Bits 7-0)

 

 My understanding is instead of using something like Code Composer, we have created our own tool that communicates with the JTAG interface. 

 I am looking for a document that defines all the commands. As this tool works for many DSP, ideally a link to a data base with all the DSP user manuals would be good or it there is a common manual valid for all DSP that would be even better. Otherwise I'll send a request for each DSP. At this time I am unsure how different ones this tool works with.

  • Carlos,

    I've attached the F281x Flash API User Guide, I suspect that your co-worker used this to create the interface.  It will provide the base level functions, and their parameters.

    The API package can be downloaded from here https://www.ti.com/tool/SPRC125 .  The core API is Flash28_API the link includes specific APIs for F281x/F280x/F2833x C2000 MCUs. 

    Newer C2000 MCUs, F2802x/03x/06x or F2837x/F28004x/003x/002x the API can be found in the library section of the C2000Ware download package.

    The F281x/F280x/F2833x/02x/03x/06x are all 180nm TI Flash MOS, and the API will be very similar.  The newest Gen 3 devices, F2837x/F28004x/003x/002x , are 65nm TI Flash MOS and will have a different API structure.

    Best,

    Matthew7573.Flash281x_API_V210.pdf