Is the launch (start) address stored anywhere inside the image?
I can derive things like physical start address an and size from the info in
the stored image's TOC but I can't find where the launch address is stored.
I know its available in the bin file as I can see it with the viewbin
utility.
I would like my bootloader to pull this info from a stored flash image. Is
it possible?

Re: Launch address of image by Steve

Steve
Wed Jun 14 16:26:04 CDT 2006

It is in the BIN file as part of the last record. If you don't store the bin
file then you will need to store that address some place on your own as it
is not part of the image.

--
Steve Maillet
EmbeddedFusion
www.EmbeddedFusion.com
smaillet at EmbeddedFusion dot com



Re: Launch address of image by A

A
Wed Jun 14 17:15:31 CDT 2006

Then this leads to my next question.
Is it possible to force the build in such a way to make the launch address
always come out at a predictable offset from the start or some known base
address?


"Steve Maillet (eMVP)" <nospam1@EntelechyConsulting.com> wrote in message
news:O7CUpk$jGHA.4276@TK2MSFTNGP03.phx.gbl...
> It is in the BIN file as part of the last record. If you don't store the
> bin file then you will need to store that address some place on your own
> as it is not part of the image.
>
> --
> Steve Maillet
> EmbeddedFusion
> www.EmbeddedFusion.com
> smaillet at EmbeddedFusion dot com
>
>



Re: Launch address of image by Steve

Steve
Wed Jun 14 17:38:04 CDT 2006

The build generates a jump to the starting IP as the very first instruction
of the OS image, so if you know what the base address of the image is, e.g
offset 0 of your flash or RAM then you can jump to that location and let the
build generated jump take care of the rest.

--
Steve Maillet
EmbeddedFusion
www.EmbeddedFusion.com
smaillet at EmbeddedFusion dot com