This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: GDB Problem
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Henry Yu <henry at sigpro dot com>
- Cc: Andrew Lunn <andrew at lunn dot ch>, ecos-discuss at ecos dot sourceware dot org,steven at sigpro dot com
- Date: Tue, 1 Nov 2005 08:46:53 +0100
- Subject: Re: [ECOS] GDB Problem
- References: <20051031215813.20B321BE@dm20.mta.everyone.net>
On Mon, Oct 31, 2005 at 09:58:12PM -0800, Henry Yu wrote:
> Andrew
> Thank you so much for taking the time to reply me, follow you direction, I use serial port to connect boards, in gdb mode I type:
> "(gdb) set remotebaud 115200"
> "(gdb) target remote com1"
> but some error show me:
> "Remote debugging using com1"
> "couldn't establish connection to remote target"
> "cannot access memory at address 0xcca7cd2a"
Does your serial cable work OK?
try doing
set remotedebug on
and see if there is any communication between the host and the target.
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