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.

TMS320F28377S: loading raw binary to flash

Part Number: TMS320F28377S
Other Parts Discussed in Thread: UNIFLASH, , TMS320F28379S

In the related post it is suggested to use:

GEL_LoadBin(<binary file>, <start address>)

to load a binary file directly into an address in flash.

My assumption is that this command is used in the Scripting Console, but a dump of help does not show this command.  Is there another command line tool to enter this command at and is this command still available in the latest version of Code Composer Studio?

Thanks in advance.

  • Hi Albert,

    In Uniflash (has command line mode), when you browse a binary file for load, it will allow you to enter the address where it has to be loaded.

    Example command: 

    > dslite -c TMS320F28377S.ccxml -e -s FlashDownloadSetting="Program Only" binary_trial.txt, 0x80000

    Thanks and regards,
    Vamsi

  • Hi Vamsi,

    I installed Uniflash and attempted to program the sector of flash using the following in the command prompt:

    dslite.bat -c TMS320F28379S.ccxml -e -s FlashDownloadSetting="Program Only" SpinTAC_TI_F28x7x_160407_NoDCSM.hex, 0x0be000

    It returns "Failed: Cannot convert "" to address".

    Can you provide some insight?

    Thanks,

    Al

  • AI,

    Will request the expert to get back to you.

    Best Regards

    Siddharth

  • Al,

    Are you loading a binary or a hex file?  With a binary image (.bin) you typically specify the filename and the start address.  The hex files have addresses in them so you just specify the file.  

    So the command be more like: 

    dslite -c TMS320F28379S.ccxml -e -s FlashDownloadSetting="Program Only" SpinTAC_TI_F28x7x_160407_NoDCSM.hex

    Anyway I would start with the GUI.  You can even use the cloud version dev.ti.com/uniflash

    Get things working with the GUI and then you can actually generate a command-line package from the GUI that will include a batch file that has the necessary parameters in it.

    Regards,

    John