Hi all.
I've been wanting to find a solution for this as well.
Having the load address & # bytes in the binary file is a bit of a headache.
A simple solution would be to prepend a bit of code to the binary which copies each section based on the load address & number of bytes,
however, I found another solution which is even easier.
Although I've not tried it yet, I did see a solution in another post, so thought I would relay it here.
There are a set of free tools from uTasker - one of which will convert the binary output from CodeWarrior to a flat binary suitable for executing.
Here is the link to the uTasker Forum: http://www.utasker.com/forum/index.php?topic=1445.0
Under ' uTaskerConvert ' I see details of this function :
Added capability to convert Motorola binary to raw binary output. This is useful for CodeWarrior binary output
which can otherwise not be used directly as a code image - after the conversion the content is in raw binary format
and so suitable for general binary program use.
User "uTaskerConvert uTasker_BM.bin raw.bin -b"
I hope that helps.
Ewan J. Wordsworth
Microbee Technology Pty Ltd.
www.microbeetechnology.com.au