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.

TMS320F2800137: How to Flash Program in mcu

Part Number: TMS320F2800137
Other Parts Discussed in Thread: UNIFLASH, C2000WARE, TIDM-02010

Dear Sir,

Please guide how load hex file in TMS320F2800137 mcu.

also how to erase all ??

  • If you are using Uniflash https://www.ti.com/tool/UNIFLASH there are options to erase the device, or selectively erase based on what you are trying to program.  Uniflash will also allow you to program the device, either with the .out file from your build, or it should be able to take the hex file as well.

    This communicates to the device via the JTAG connector like XDS110.

    Best,

    Matthew

  • Dear Sir,

    How to load .out file permanent.

    I have try .out file flash into mcu after switching on/OFF power supply then it cannot work.

    Please suggest how to load file permanent.

  • Babaji,

    I would look at some of the examples in C2000Ware for your device.  If you right click on the project, and then go down to build configurations, you can change the config to build for flash.  you can then look at this option .cmd (linker) file to see how we have allocated the code to flash memory in order to boot to flash after power up.

    Best,

    Matthew

  • please check there is no flash option.

    which .cmd file?

  • Thanks for including the CCS screenshot, so this is reference to TIDM-2010.  Below highlighted .cmd is the one you want to look at.  This project is build to load into flash natively.

    Best,
    Matthew

  • Dear Sir,

    Please find the attached.

    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    TI File $Revision: /main/3 $
    // Checkin $Date: Agu 1, 2017 13:45:43 $
    //
    // FILE: F2800137_FLASH_LIB.cmd
    //
    // TITLE: Linker Command File For F2800137 examples that run out of RAM
    //
    //
    // Keep in mind that LS0, and LS1 are protected by the code
    // security module.
    //
    // What this means is in most cases you will want to move to
    // another memory map file which has more memory defined.
    //
    */
    /*========================================================= */
    /* Define the memory block start/length for the F280013x
    PAGE 0 will be used to organize program sections
    PAGE 1 will be used to organize data sections
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

  • Hello,

    The TIDM-02010 project should already flash the device.

    How are you trying to run it after restart?

    Regards,
    Jason Osborn