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.

TM4C1294NCPDT: Combining application binary with data file for loading with Flash bootloader

Part Number: TM4C1294NCPDT
Other Parts Discussed in Thread: UNIFLASH

I have a project that has adapted the Tivaware bootloader code to load applications over Ethernet. We also have a separate data file (TXT format) that is loaded into Flash over JTAG. I would like to know if there is an easy way to merge this data file into the application image so they can be loaded together using the bootloader. The data file is automatically generated from separate application and is device specific (includes serial numbers, etc.) so building with CCS isn't an option. Are there any utilities that can package multiple files into one binary?

  • Hello Benjamin,

    I am not sure if this is exactly what you are looking for but the one method I am aware of for doing something like this is the following:

    1. Use Uniflash to load both the application and the data file into the device. Uniflash allows you to specify multiple files to load.
    2. Once loaded, go to Memory tab to export the flash content and save as a .bin file.
    3. Now you can use the exported .bin file for your boot loader over Ethernet.

    If that is not a viable solution for you, I can pull in our software tools team who may be able to offer alternatives.

    Best Regards,

    Ralph Jacobi

  • Ralph,

    The whole point is to avoid having to use JTAG, so no, using Uniflash to connect isn't viable. I've found a tool that seems like it may fit my needs(http://srecord.sourceforge.net/) although I have to verify it can properly merge the files and the bootloader will handle the crc properly.

    Thanks,

    Ben

  • Are there any utilities that can package multiple files into one binary?

    Unfortunately, TI has no utility that can perform this task.

    Thanks and regards,

    -George