Search found 3 matches

by lammer18
Tue 29. May 2018, 19:19
Forum: Linux
Topic: Trouble with PCAN-BASIC
Replies: 4
Views: 5135

Re: Trouble with PCAN-BASIC

Stephane,

The command I use with pcanfdtst is:
pcanfdtst tx -b 1M -i 0x0c4 -n 10 -l 2 /dev/pcanpcifd0
also to have similar settings to the windows implementation:
pcanfdtst tx -c 24M -b 1M -d 2M -i 0x0c4 -n 10 -l 2 /dev/pcanpcifd0

Result of
$ pcanfdtst rx -b 1M /dev/pcanpcifd0
is blank and ...
by lammer18
Sun 27. May 2018, 16:15
Forum: Linux
Topic: Trouble with PCAN-BASIC
Replies: 4
Views: 5135

Re: Trouble with PCAN-BASIC

So after still not having luck I worked on using the pcanfdtst and still no luck. I added a memcpy call on line 1105 of pcanfdtst.c to send the fields I want.

Case in point: I have PCAN API working on Windows both sending and receiving as expected and cannot get the same functionality in linux ...
by lammer18
Thu 24. May 2018, 20:13
Forum: Linux
Topic: Trouble with PCAN-BASIC
Replies: 4
Views: 5135

Trouble with PCAN-BASIC

Hello, I am working with a PEAK PCAN-PCIe FD on Linux and having trouble with both the PCAN-Basic tests and the peak driver test. Heres my method and outputs from a few commands

For Drivers:
sudo rmmod pcan
make clean
make NET=NO
sudo make install
sudo modprobe pcan

Output from receivetest -f ...