This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GDB Problem


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]