Problem compiling peak linux driver 8.7.0

This forum covers PCAN-Linux and Linux development issues concerning our products
Mario
Posts: 7
Joined: Sat 19. Jan 2019, 20:00

Re: Problem compiling peak linux driver 8.7.0

Post by Mario » Sat 2. Mar 2019, 15:10

Hello,

I am using a native linux.

transmitest works fine:

Code: Select all

bnutzer@i7:~/peak-linux-driver-8.7.0/test$ transmitest transmit1.txt -f=/dev/pcanusb32 -b=0x031c -e -n=1

transmitest Version "Release_20150610_n"  (www.peak-system.com)
------- Copyright (C) 2004-2009 PEAK System-Technik GmbH ------
transmitest comes with ABSOLUTELY NO WARRANTY.     This is free
software  and you are welcome  to redistribute it under certain
conditions.   For   details   see    attached   COPYING   file.

transmitest: device node="/dev/pcanusb32"
             Extended frames are sent, init with BTR0BTR1=0x031c
             Data will be read from "transmit1.txt".
transmitest: driver version = Release_20181116_n
transmit1.txt:

Code: Select all

m s 0x00000601 8 40 08 10 00 00 00 00 00
The oscilloscope shows the transmitted message and the response:
Tx and response - Linux transmitest
Tx and response - Linux transmitest
Transmit and Respone Linux transmitest.png (45.73 KiB) Viewed 3685 times
This is the transmitted message:
Tx message
Tx message
Transmit Linux transmitest.png (45.59 KiB) Viewed 3685 times
Seems to be OK.


Best wishes,

Mario

M.Maidhof
Support
Support
Posts: 1753
Joined: Wed 22. Sep 2010, 14:00

Re: Problem compiling peak linux driver 8.7.0

Post by M.Maidhof » Mon 4. Mar 2019, 10:32

Hi,

so all is ok from the driver side. Please check your application again, or use the demo application we provide with the PCANBasic API

regards

Michael

Mario
Posts: 7
Joined: Sat 19. Jan 2019, 20:00

Re: Problem compiling peak linux driver 8.7.0

Post by Mario » Sun 10. Mar 2019, 09:33

Hello,

thank you for helping me.
Now I can be sure that this is not a driver related problem.


Best wishes,

Mario

M.Maidhof
Support
Support
Posts: 1753
Joined: Wed 22. Sep 2010, 14:00

Re: Problem compiling peak linux driver 8.7.0

Post by M.Maidhof » Mon 11. Mar 2019, 09:59

Yes.

Post Reply