This is the mail archive of the
mailing list for the eCos project.
receiving of CAN messages doesn't work when debugging through ethernet
- From: "Bronislav Gabrhelik" <discuss at ahojky dot com>
- To: "eCos discuss mailing list" <ecos-discuss at ecos dot sourceware dot org>
- Date: Wed, 24 Sep 2008 10:40:30 +0200
- Subject: [ECOS] receiving of CAN messages doesn't work when debugging through ethernet
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.
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss