Thanks - I tried that, it recognizes the correct amount of sections and
their sizes in the ihex file but not the base address - I am getting
random values when reading the base_address member in the struct
"imagesection".

Am I supposed to read the section address from that variable or is there
something I'm overlooking?

Martin


On Sat, 2011-04-02 at 11:42 -0700, Phil Fong wrote:

>         Another way would be to implement a minimalistic Intel HEX
>         parser in the
>         ULINK driver or in a separate C module.
>         
>         
> If you are looking for an Intel HEX parser, look in targets/image.c.
> There it parses Intel Hex, ELF, and Srec files.
> 
> 
> Phil



_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to