Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
In the supported hardware list this card is not mentioned but I think its similiar to other supported cards with the SJA1000.
Is there any chance that this card will run with any of the included drivers for PC/104 cards?
I´m not very familiar with writing drivers for linux, i just need a system with running RTLinux and 2x CAN interface at 1Mbit/s.
I´ve already installed OCERA on my AW-P631 PC and need now to decide which CAN contoller to buy...
there is no direct of PEAK PCAN PC/104
with the any card supported by LinCAN until
now. We use mainly PCM-3680 for our PC-104
targets. This has two SJA1000 chips mapped
into memory space. There is supported more
SJA1000 based cards, but none has directly IO
mapped chips. They are special embedded cards,
PCI cards or cards with indexed access to
But I think, that it would not be problem
to add support for PCAN PC/104. The card manual
publishes that it has two IO port directly
mapped SJA1000 chips. The channels are
fully independent so I would add support
for generic isaio_sja hardware which could be
used for all directly single or multiple IO
mapped SJA1000 based ISA cards.
So if you decide to buy the card, I try to
add support. You would test code on hardware.
Probably simple Linux build first and then
RT-Linux enabled one.
But, please, if I invest time to move things forward,
do yours part on testing and reporting. I have bad
experience with peoples asking for support
and not providing feedback then. This kills
the project and gets me angry, do not do that.
Thank you for your quick response! You say that it should be no problem to add support for the card, but how long will that take?
I´m asking because I need this Card for my thesis I started right now. When we are talking about 4-6 weeks that´s ok, otherwise I should use some card that is supported (but there is no one with 2 channel can @1Mbit as i know!?).
You can take it for granted that i´ll do testing and reporting (I can also use this work to fill some pages in my thesis)!
I have several kernels installed on my system (2.4/2.6 both with and without RTLinux and OCERA) so that testing on differnt system should be no problem.
It would give me great pleasure if we can do this in time!
I have added support for generic IO mapped SJA1000 chip into
LinCAN driver. This should support well even PCAN-PC/104 card.
The something like next command could be to insert and parameterize driver
insmod lincan.ko hw=gensja1000io,gensja1000io io=0x300,0x320 irq=10,5 \
"hw" - parameter select that we have two SJA1000 IO mapped chips.
"io" - parameter has to reflect setting of jumpers for each port IO base.
Be careful there to select range, which does not collide with
other peripherals on extension cards or PC104 CPU board.
"irq" - select IRQ lines for channels corresponding to jumpers setting.
Again be careful there.
"baudrate" - value 1000 selects 1MBaud
"clockfreq" - can be used to adjust used oscillator frequency.
Parameter is optional, 16MHz is selected by default
The change is committed into CVS.
Some quick start for use OCERA CAN related code from CVS
is on my page. You can find full documentation in the driver
sources or between OCERA deliverables as well.
Thank You for adding support. The card has arrived today and i´ve installed it with the driver from PEAK. Everything is running fine, so this will be a good point to start testing your driver.
I will do first test when i´m in office on next monday.
Have a nice weekend,
I would be interested in your results. But do not expect my reply till 10 July, I am going to short refreshment trip.