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]

RE: CAN


Hello
 
Jonathan Larmour wrote:
> > 
> > Does eCos have any support for the Controller Area Network?
> 
> Funny you should mention that. Just at the end of the week, I made
> available a port contributed by Europe Technologies to their easyCAN3
> ARM-based microcontroller. Have a look at
> http://sources.redhat.com/ecos/contrib.html
> 
> We'll get the contribution into the main sources shortly.

We have been working with the mentioned port a couple of months. Although
Europe Technologies did a fine job, there are some shortcomings.

We found, that the serial communication does not work with interrupts. Find
in the attached zip-file an updated version of
packages/devs/serial/arm/evmcan/current/src/evmcan_serial.c
and a patch to
packages/devs/serial/arm/evmcan/current/cdl/ser_arm_evmcan.cdl  

Please note, that the CAN-controllers on easyCAN3 chip is not supported by
the current port.

Also that the port is based on ecos-v1.3.1. 

To us it seems, although we have have not analyzed this, that there are some
similarities with Atmels AT91 controller. Adding the contribution to the
main sources might utilize this.

Jonathan, if you want someone to do some testing of the integration of the
contribution, you are welcome to contact us.

kind regards

Hans Peter

--
Hans Peter Jepsen          Phone: +45 74 88 50 11
Danfoss Drives A/S,        Fax:   +45 74 88 32 26
DG-1204, Ulsnaes 1,        Email: Hans_Peter_Jepsen@danfoss.com
DK-6300 Graasten, Denmark  or:    hpj@computer.org

evmcan_serial.zip


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