public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] receiving of CAN messages doesn't work when debugging through ethernet
@ 2008-09-24  9:11 Bronislav Gabrhelik
  0 siblings, 0 replies; only message in thread
From: Bronislav Gabrhelik @ 2008-09-24  9:11 UTC (permalink / raw)
  To: eCos discuss mailing list

I am facing to strange problem. When I debug my board by GDB through
ethernet the receiving of CAN messages doesn't work. I believe that it
is lost interrupt issue, because received CAN messages are
acknowledged by this board. Furthermore I found out that when I
execute and debug the same application through serial cable it works
fine and receives all messages. Also CTRL-C doesn't work in GDB when
debugging through ethernet. I tried to create a new thread which would
dump periodically CAN registers when CTRL-C doesn't work. But when
this thread call cyg_thread_delay(), it is indefinitely blocked in
this function. Both the CTRL-C and cyg_thread_delay() work fine when
debugged through serial cable.

My platform is Olimex LPC-L2294, ethernet device is CS8900 and I use
redboot GDB stubs.

What is in my configuration wrong? Any hint is appreciated.

TIA
Bronislav Gabrhelik

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-09-24  8:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-24  9:11 [ECOS] receiving of CAN messages doesn't work when debugging through ethernet Bronislav Gabrhelik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).