This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Re: How to use CAN in poll mode?
- From: "wang cui" <iucgnaw at msn dot com>
- To: bob dot koninckx at o-3s dot com, uwe dot kindler at cetoni dot de, ecos-discuss at ecos dot sourceware dot org
- Date: Tue, 06 Feb 2007 09:26:52 +0000
- Subject: Re: [ECOS] Re: How to use CAN in poll mode?
- Bcc:
Thanks, I will try it!
You can of course enable interrupts in redboot. We did this a couple of
years ago to do exactly what you want to accomplish; offering the redboot
interface on a CAN link instead of serial or ethernet.
We decided to use interrupts in redboot afterall because we had a custom
CAN stack and interrupt-based CAN drivers which we wanted to use and
integrate with redboot with minimal effort.
Although you can find many arguments against enabling interrupts in
redboot, the infrastructure is there (the ISR/DSR mechanism works in the
absence of a kernel) and that solution worked very well for us.
Bob
_________________________________________________________________
免费下载 MSN Explorer: http://explorer.msn.com/lccn
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss