This is the mail archive of the ecos-discuss@sources.redhat.com 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: insight can't connect to the redboot


"twomol" <twomol@126.com> writes:

> all,hello
>       I use insight to connect to the target(ARMS3C44B0) running redboot by serial . After setting the  connection parameters and clicking OK button, Insight hangs . But if I use terminal to connect to the redboot ,I type some words like "$g#67 ", it response words like "$G123456789abcdef0...#xx ". Dose this means that  the connection with stub is right? 
> How can I check out what's the problem?  
>        Thanks  in advance!

That output looks correct for a functioning GDB stub. Instead of using
Insight, try using command-line GDB instead, you are more likely to
see any error messages. You could also try turning on logging:

(gdb) set remotelogfile /dev/tty
(gdb) target remote /dev/ttyXX

This should show you everything that passes across the serial link.


-- 
Nick Garnett                                     eCos Kernel Architect
http://www.ecoscentric.com                The eCos and RedBoot experts
>>>>> Visit us in booth 2539 at Embedded Systems Conference 2005 <<<<<
>>>>> March 8 - 10, San Francisco http://www.embedded.com/esc/sf <<<<<


-- 
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]