Search found 19 matches

by mdenton
Wed 7. Dec 2011, 20:25
Forum: Linux
Topic: Linux Driver Build Problems
Replies: 3
Views: 7344

Re: Linux Driver Build Problems

Great, thanks for the pointer!
by mdenton
Tue 6. Dec 2011, 22:49
Forum: Linux
Topic: Linux Driver Build Problems
Replies: 3
Views: 7344

Re: Linux Driver Build Problems

Ok, just to test things a little further I went back to an older version of the driver, V 6.2 which I had used before also only in ISA mode, this version compiles properly creating the pcan.ko and pcan.o files.

Here is the output:

make[1]: Entering directory `/home/matt/HE_Kernel/pcan/peak-linux ...
by mdenton
Tue 6. Dec 2011, 20:29
Forum: Linux
Topic: Linux Driver Build Problems
Replies: 3
Views: 7344

Linux Driver Build Problems

Hi,

I am currently having problems building the driver for one of my linux platforms using kernel files for version 2.6.29. I can successfully build the driver if it is specified as type ISA, but I'm now trying to build the USB version. After I add USB support the pcan.ko file is not generated. I'm ...
by mdenton
Thu 4. Nov 2010, 15:29
Forum: Linux
Topic: CAN Message callback procedure?
Replies: 4
Views: 10134

Re: CAN Message callback procedure?

Ok,

I guess that depends how you describe "polling" My definition of polling is having to call a function such as LINUX_CAN_Read... to find out if it has a CAN message for you. As opposed to having a callback / signal handler tell you that a message is ready.
by mdenton
Thu 4. Nov 2010, 14:12
Forum: Linux
Topic: CAN Message callback procedure?
Replies: 4
Views: 10134

Re: CAN Message callback procedure?

Hi Michael,

That is exactly what I have at the moment, I opened the port in on blocking pode, and poll it within a separate thread. Just wanted a slightly more elegant solution.
by mdenton
Wed 3. Nov 2010, 23:20
Forum: Linux
Topic: CAN Message callback procedure?
Replies: 4
Views: 10134

CAN Message callback procedure?

Hi,

I am using a dual peak PC-104 board on my embedded Linux system. I have installed the peak drivers on my target device and have my two can ports working in chardev mode, installed as /dev/pcan8 and /dev/pcan9.

Today I got my own code running using the supplied driver, so far so good, I have ...
by mdenton
Fri 1. Oct 2010, 16:43
Forum: PCAN-MicroMod Motherboards
Topic: Temperature Sensor Curve
Replies: 2
Views: 8013

Re: Temperature Sensor Curve

No problem,

thanks for the update.
by mdenton
Thu 30. Sep 2010, 17:09
Forum: PCAN-MicroMod Motherboards
Topic: Temperature Sensor Curve
Replies: 2
Views: 8013

Temperature Sensor Curve

I have just been adding the Curve function for the two sensors on the MicroMod board, NTC & PT1000. The table for the PT1000 has some errors. There is no value for 2°C, and some of the values seem mixed up:


30 455
35 424
40 598
45 555


If the sensor is linear, then I would presume values 30,35 ...
by mdenton
Thu 30. Sep 2010, 09:43
Forum: PCAN-MicroMod Motherboards
Topic: PCAN MicroMod Mix 2 - Analogue Voltage Range
Replies: 15
Views: 29758

Re: PCAN MicroMod Mix 2 - Analogue Voltage Range

Ahh I see,

I assumed that each function had access to all available digital outputs, and had not spotted you had a different tab selected. :oops: .
by mdenton
Wed 29. Sep 2010, 23:16
Forum: PCAN-MicroMod Motherboards
Topic: PCAN MicroMod Mix 2 - Analogue Voltage Range
Replies: 15
Views: 29758

Re: PCAN MicroMod Mix 2 - Analogue Voltage Range

That is odd,

Mine definitely only has CAN and Dout0 available. Why does your only have CAN and Dout7, where is Dout0?

I have emailed you the file.