Search found 7 matches

by JGarza
Mon 7. Dec 2020, 09:41
Forum: Linux
Topic: timestamp issue
Replies: 11
Views: 643

Re: timestamp issue

So I though I made the installation right but still I cannot make the driver work:

when I do:
sudo modprobe pcan

I get:
modprobe: FATAL: Module pcan not found in directory /lib/modules/5.4.0-56-generic
by JGarza
Fri 4. Dec 2020, 15:32
Forum: Linux
Topic: timestamp issue
Replies: 11
Views: 643

Re: timestamp issue

I uninstall and install again with:

sudo make netdev

and now it worked.
by JGarza
Fri 4. Dec 2020, 14:55
Forum: Linux
Topic: timestamp issue
Replies: 11
Views: 643

Re: timestamp issue

Hi,

So I followed the procedure you mentioned and runned:

make –C driver NET=NETDEV_SUPPORT

Then I did:
sudo modprobe pcan

but now when I do ip link I dont see any can device anymore.
by JGarza
Thu 3. Dec 2020, 08:53
Forum: Linux
Topic: timestamp issue
Replies: 11
Views: 643

Re: timestamp issue

Hi, This is how I call candump: candump can0 -tA This is what I get: (2020-12-03 08:51:25.837411) can0 401 [20] 01 E4 FF B8 B8 16 CB FB 80 00 68 02 00 00 00 37 01 11 01 57 (2020-12-03 08:51:25.837412) can0 010 [08] EA 00 00 00 00 00 00 00 (2020-12-03 08:51:25.837412) can0 402 [20] 01 F7 0C 68 05 96 ...
by JGarza
Wed 2. Dec 2020, 14:51
Forum: Linux
Topic: timestamp issue
Replies: 11
Views: 643

Re: timestamp issue

Hello Marvin,

I am not using Peak drivers, only Socketcan and QT CAN bus. This is what you requested:

Linux radar-Precision-7510 5.4.0-54-generic #60-Ubuntu SMP Fri Nov 6 10:37:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

OK,I will only reply here.
Regards,
Jorge Garza
by JGarza
Wed 2. Dec 2020, 13:00
Forum: Linux
Topic: timestamp issue
Replies: 11
Views: 643

Re: timestamp issue

Here is what I get when I use candump with the PCI CAN card: 2020-09-10 12:54:39.528426) can2 102 [20] 01 C7 00 08 EA D7 3C 9F 80 00 60 00 00 00 00 56 02 20 01 06 (2020-09-10 12:54:39.528441) can2 020 [08] C7 00 00 00 00 00 00 00 (2020-09-10 12:54:39.528441) can2 103 [20] 02 57 00 08 1D D7 A4 BF 80 ...
by JGarza
Wed 2. Dec 2020, 12:55
Forum: Linux
Topic: timestamp issue
Replies: 11
Views: 643

timestamp issue

Hello, Im using PeakCan proFD usb device and also PCI express card from Peak. When I read CANFD messages I get messages with the same timestamp although they come one after the other. Im using socketCAN and also QT can bus interface. The parameters I use to initialize my hardware are; #!/bin/sh sudo...