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: Re: How to use CAN in poll mode?


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


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