On Sun, Oct 17, 2010 at 3:14 PM, Andreas Schmidt <[email protected]> wrote:
> Hello all,
>
> I would like to debug an newly developed application which consists of a
> bootloader and a separate application. The bootloader and the application
> exist as ELF binaries having a distinct base address in flash memory. But I
> don't know how to load and flash the two files with GDB and OpenOCD to my
> target (AT91SAM7S256).
>
> So my question is: How can I load the two ELF files with GDB and OpenOCD,
> flash them to the target and start debugging with symbols available for both
> ELF files?

Issue "load" twice from GDB would be the obvious answer. GDB "load"
takes an elf executable as an argument.

You should also check out the "symbol" command in GDB.

> Thanking you in anticipation!
>
> Best regards
> Andy
>
> _______________________________________________
> Openocd-development mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/openocd-development
>



-- 
Øyvind Harboe
US toll free 1-866-980-3434 / International +47 51 63 25 00
http://www.zylin.com/zy1000.html
ARM7 ARM9 ARM11 XScale Cortex
JTAG debugger and flash programmer
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to