This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: How can I debug my drivers without redboot?
- From: Andrew Lunn <andrew at lunn dot ch>
- To: venice <venice dot tu at live dot com>
- Cc: ecos-discuss <ecos-discuss at ecos dot sourceware dot org>
- Date: Fri, 14 Mar 2008 10:39:15 +0100
- Subject: Re: [ECOS] How can I debug my drivers without redboot?
- References: <BLU108-DS194182C6504B0698653AF9E0A0@phx.gbl>
On Fri, Mar 14, 2008 at 05:32:18PM +0800, venice wrote:
> Now I can use JTAG device to debug redboot but the ram is too small to do
> that job, So I must remove the reboot But How can I debug my drivers in
> source level code? any good idea is welcome. Thanks!
Use your JTAG device in combination with gdb. gdb can talk to JTAG
devices to set hardware break points, look at memory etc. You just
need to ensure you have a JTAG device which gdb supports.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss