Search found 13 matches

by matteo
Sat 13. Sep 2014, 20:10
Forum: PCAN-USB
Topic: Receivetest does't work (ubuntu 14.04)
Replies: 1
Views: 4103

Receivetest does't work (ubuntu 14.04)

Hi everybody,
I am using a force sensor that transmits data with CAN 2.0B at 1Mbps; I set a terminated (both ends) connection and the result of
cat /proc/pcan is:
*------------- PEAK-System CAN interfaces (www.peak-system.com) -------------
*------------- Release_20140723_n (7.12.0) Aug 13 2014 ...
by matteo
Wed 20. Aug 2014, 20:14
Forum: Linux
Topic: Problem in Drivers installation under Linux-Kernel 3.2.0
Replies: 21
Views: 30721

Re: Problem in Drivers installation under Linux-Kernel 3.2.0

ok, now, with the API guide, i'm getting a little bit better. I thought I was supposed to find everything on the linux guide.
Btw, what dou tou mean for "fake"??
*------------- PEAK-System CAN interfaces (www.peak-system.com) -------------
*------------- Release_20140723_n (7.12.0) Aug 13 2014 18 ...
by matteo
Tue 19. Aug 2014, 19:34
Forum: Linux
Topic: Problem in Drivers installation under Linux-Kernel 3.2.0
Replies: 21
Views: 30721

Re: Problem in Drivers installation under Linux-Kernel 3.2.0

hi,
I did it in fact...sometimes either i get Nothing or m s 0x000002d0 6 0x01 0x01 0x00 0x01 0x00 0x00 516492425 570
.
I guess it is another error. I would like not to bother you and to find out the solution myself: to to that I need to know whether there is around a clear explanation of the type ...
by matteo
Mon 18. Aug 2014, 17:36
Forum: Linux
Topic: Problem in Drivers installation under Linux-Kernel 3.2.0
Replies: 21
Views: 30721

Re: Problem in Drivers installation under Linux-Kernel 3.2.0

Could you please go step by step...
you have a PCAN-USB - right?
you have installed as CharDev - right?
you have compiled also the samples - right?
if you have all this done - it look s like this when you type
cat /proc/pcan
*------------- PEAK-System CAN interfaces (www.peak-system.com ...
by matteo
Mon 18. Aug 2014, 14:35
Forum: Linux
Topic: Problem in Drivers installation under Linux-Kernel 3.2.0
Replies: 21
Views: 30721

Re: Problem in Drivers installation under Linux-Kernel 3.2.0

Dear Wihlelm,
you have been very nice to me so far, since, maybe, i'm asking stupid questions
...but sorry, it's my fisrt time with CAN applications.
so,...I receive the structure i reported on the post: on the guide the explanation of it is not that clear, at least to me.
Btw, I guess the ...
by matteo
Mon 18. Aug 2014, 13:05
Forum: Linux
Topic: Problem in Drivers installation under Linux-Kernel 3.2.0
Replies: 21
Views: 30721

Re: Problem in Drivers installation under Linux-Kernel 3.2.0

sorry, maybe I was not clear. I get

Code: Select all

x x 0x00000000 4  0x00 0x00 0x00 0x08                        155466769 065
after

Code: Select all

cat /dev/pcan32
.
How can I display the TPCANMsg structure? sorry but the guide is not very clear to me...
thanks again
by matteo
Fri 15. Aug 2014, 13:37
Forum: Linux
Topic: Problem in Drivers installation under Linux-Kernel 3.2.0
Replies: 21
Views: 30721

Re: Problem in Drivers installation under Linux-Kernel 3.2.0

sorry, it seemed to work.
now i get messages like this x x 0x00000000 4 0x00 0x00 0x00 0x08 155466769 065
that don't seem to contain data (apart from the last 2 fields these messages are always the same, even if the device is transmitting different values).
the massage rate is also very slow as ...
by matteo
Fri 15. Aug 2014, 13:06
Forum: Linux
Topic: Problem in Drivers installation under Linux-Kernel 3.2.0
Replies: 21
Views: 30721

Re: Problem in Drivers installation under Linux-Kernel 3.2.0

it works now.
Thanks
Matteo
by matteo
Thu 14. Aug 2014, 16:26
Forum: Linux
Topic: Problem in Drivers installation under Linux-Kernel 3.2.0
Replies: 21
Views: 30721

Re: Problem in Drivers installation under Linux-Kernel 3.2.0

thank you one more time,
i try immediately.
it is in fact :roll:
by matteo
Thu 14. Aug 2014, 16:12
Forum: Linux
Topic: Problem in Drivers installation under Linux-Kernel 3.2.0
Replies: 21
Views: 30721

Re: Problem in Drivers installation under Linux-Kernel 3.2.0

hi,
after the pcan-usb converter i just used an adapter to solder the cables of my device (cable lenght ca. 62cm)...not sure whether it is the answer you expected
no, the device is transmitting at 1Mbps (CAN Bus 2.0B).
cheers
Matteo