Hallo,
I attached the files and also added screen-shots that show the data on the bus using a monitoring software.
thanks for your help
Regards
Katharina
transmitest und receivetest not working
-
- Posts: 8
- Joined: Sat 27. Jan 2018, 13:44
Re: transmitest und receivetest not working
- Attachments
-
pcanfdtst_tx_100.txt
- pcantdtst
- (133 Bytes) Downloaded 575 times
-
pcan_2.txt
- pcan2
- (473 Bytes) Downloaded 557 times
-
pcan_1.txt
- pcan1
- (473 Bytes) Downloaded 531 times
-
- Data
- screenshot Daten.PNG (43.1 KiB) Viewed 5048 times
-
- Datarate
- screenshot Baud.PNG (5.62 KiB) Viewed 5048 times
- S.Grosjean
- Software Development
- Posts: 357
- Joined: Wed 4. Jul 2012, 17:02
Re: transmitest und receivetest not working
Hi,
Thanks but I think you gave us a wrong output file: AFAIU, you gave us the output of "pcanfdtst rx" in "/tmp/pcanfdtst_tx_100" while we asked for "pcanfdtst tx". Please, be careful to give us the output of:
That is, the output of the pcanfdtst application when it writes 100x frames with CAN ID = 0x123 over your 1Mbps CAN bus connected to the CAN channel of your PCAN-PCIe.
Regards,
Stéphane
Thanks but I think you gave us a wrong output file: AFAIU, you gave us the output of "pcanfdtst rx" in "/tmp/pcanfdtst_tx_100" while we asked for "pcanfdtst tx". Please, be careful to give us the output of:
Code: Select all
$ pcanfdtst tx -b 1M -i 0x123 -n 100 -l 8 /dev/pcan0 > /tmp/pcanfdtst_tx_100
Regards,
Stéphane
— Stéphane
-
- Posts: 8
- Joined: Sat 27. Jan 2018, 13:44
Re: transmitest und receivetest not working
Hello,
sorry for the inconvenience, here is the correct file.
Regards,
Katharina
sorry for the inconvenience, here is the correct file.
Regards,
Katharina
- Attachments
-
pcanfdtst_tx_100.txt
- (7.26 KiB) Downloaded 537 times
- S.Grosjean
- Software Development
- Posts: 357
- Joined: Wed 4. Jul 2012, 17:02
Re: transmitest und receivetest not working
Ok, thanks.
Can you redo this but with writing 1.000 frames, please?
Tell us if the program stops by itself or if it must be stopped with ^C.
Do you see these frames on your monitoring software?
After the above command has completed, please give us the output of:
Regards,
Stéphane
Can you redo this but with writing 1.000 frames, please?
Code: Select all
$ pcanfdtst tx -b 1M -i 0x123 -n 1000 -l 8 /dev/pcan0 > /tmp/pcanfdtst_tx_1000
Do you see these frames on your monitoring software?
After the above command has completed, please give us the output of:
Code: Select all
$ cat /proc/pcan
Stéphane
— Stéphane
-
- Posts: 8
- Joined: Sat 27. Jan 2018, 13:44
Re: transmitest und receivetest not working
Hello,
it did not stop by itself so I had to terminate it.
I did see something on the monitoring software, I also attached a screenshot of that output.
The output of cat /proc/pcan was:
*------------- PEAK-System CAN interfaces (http://www.peak-system.com) -------------
*------------- Release_20171027_n (8.5.1) Jan 29 2018 11:54:57 --------------
*------------- [mod] [isa] [pci] [pec] [dng] [par] [usb] [pcc] --------------
*--------------------- 1 interfaces @ major 238 found -----------------------
*n -type- -ndev- --base-- irq --btr- --read-- --write- --irqs-- -errors- status
0 pci -NA- df200000 016 0x0014 00000002 000001f5 00000000 00000001 0x0001
Regards,
Katharina
it did not stop by itself so I had to terminate it.
I did see something on the monitoring software, I also attached a screenshot of that output.
The output of cat /proc/pcan was:
*------------- PEAK-System CAN interfaces (http://www.peak-system.com) -------------
*------------- Release_20171027_n (8.5.1) Jan 29 2018 11:54:57 --------------
*------------- [mod] [isa] [pci] [pec] [dng] [par] [usb] [pcc] --------------
*--------------------- 1 interfaces @ major 238 found -----------------------
*n -type- -ndev- --base-- irq --btr- --read-- --write- --irqs-- -errors- status
0 pci -NA- df200000 016 0x0014 00000002 000001f5 00000000 00000001 0x0001
Regards,
Katharina
- Attachments
-
pcanfdtst_tx_1000.txt
- (35.85 KiB) Downloaded 528 times
-
- Data_output.PNG (43.43 KiB) Viewed 5044 times
- S.Grosjean
- Software Development
- Posts: 357
- Joined: Wed 4. Jul 2012, 17:02
Re: transmitest und receivetest not working
Hi,
Can you give us the output of:
Please, give us the serial number of that board too.
Everything looks like your board is not given any interrupt to the driver. Please check if the board is well connected into the PCI slot. You could also try to plug it into another one.
Could you test this board in a Windows PC?
You could also check if the transceiver of the board is ok: here is how to do that: http://www.peak-system.com/forum/viewto ... f=120&t=52
Regards,
Stéphane
Can you give us the output of:
Code: Select all
$ lspci -d 1c: -vv
Everything looks like your board is not given any interrupt to the driver. Please check if the board is well connected into the PCI slot. You could also try to plug it into another one.
Could you test this board in a Windows PC?
You could also check if the transceiver of the board is ok: here is how to do that: http://www.peak-system.com/forum/viewto ... f=120&t=52
Regards,
Stéphane
— Stéphane