-
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
analyzingInvestigation required to understand the problemInvestigation required to understand the problem
Description
Hi,
First off, thanks for the macOS support for PCAN.
I'm trying to use the library but ran into some issues with reading frames so isolate the issues i tried running the samples, pcbusb_recv and pcbusb_send.
The only changes i did was change the baud rate to 500kbit, get the both to use PCAN_USBBUS1 and add some extra printf.
I'm using two PCAN FD USB connected together, one shared with a Parallels VM running Windows with PCAN View and the other on macOS. I have set PCAN View to send a frame every second and I can see some frames once in a while when starting pcbusb_recv.
tlb@mac C++ % make && ./pcbusb_recv
make: Nothing to be done for `all'.
Initialize CAN: 0x0
Read
Read done: 0x20
Select
^CError: Interrupted system call
tlb@mac C++ % make && ./pcbusb_recv
make: Nothing to be done for `all'.
Initialize CAN: 0x0
Read
Read done: 0x20
Select
^CError: Interrupted system call
tlb@mac C++ % make && ./pcbusb_recv
make: Nothing to be done for `all'.
Initialize CAN: 0x0
Read
Read done: 0x20
Select
Read
Read done: 0x0
- R ID: 200 LEN:6 DATA:11 22 cc dd ee ff 00 00
Read
Read done: 0x0
- R ID: 200 LEN:6 DATA:11 22 cc dd ee ff 00 00
Read
Read done: 0x20
Selectpcbusb_send works without issue an I can see the frames in PCAN View in the Windows VM.
Metadata
Metadata
Assignees
Labels
analyzingInvestigation required to understand the problemInvestigation required to understand the problem