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.

How do I concatenate bootloader and application binaries for a single bootable SPI Flash binary ?

Hello community,

I achieved to boot my processor application TI AM335x from an SPI0-Flash. I created a bootloader and my application in two seperate Code Composer Studio projects. I flashed both binaries serparately via the processor  JTAG onto the SPI0-Flash. The bootloader starts at address 0x00000 and the firmware starts at 0x20000. As the flashing of the firmware takes very long via the JTAG - I want to flash the SPI-Flash by an external tool (Aardvark from Totalphase.com) "In-Circuit". To to that, I need a single binary with the size of the SPI-Flash and "Fill-Bytes" between the Bootloader and the start of the firmware address (0x20000).

I consulted:

http://processors.wiki.ti.com/index.php/Combining_executable_files

ARM Assemly Language Tool User Guide (Spnu118j.pdf)

GNU Coreutils - Cat Command (coreutils.pdf)

but neither documentation seems to fit my needs - or I just do not understand how to create the post-built script correctly.

I assume, that someone else has already solved this issue. Can you please help ?

Klaus