Page 2 of 2

Re: Problem compiling peak linux driver 8.7.0

Posted: Sat 2. Mar 2019, 15:10
by Mario
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 3688 times
This is the transmitted message:
Tx message
Tx message
Transmit Linux transmitest.png (45.59 KiB) Viewed 3688 times
Seems to be OK.


Best wishes,

Mario

Re: Problem compiling peak linux driver 8.7.0

Posted: Mon 4. Mar 2019, 10:32
by M.Maidhof
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

Re: Problem compiling peak linux driver 8.7.0

Posted: Sun 10. Mar 2019, 09:33
by Mario
Hello,

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


Best wishes,

Mario

Re: Problem compiling peak linux driver 8.7.0

Posted: Mon 11. Mar 2019, 09:59
by M.Maidhof
Yes.