Hei, and thanks for the fast reply.
It is working now after a "make clean".
BR,
Magnus Zaza
Search found 7 matches
- Thu 8. Sep 2022, 08:53
- Forum: Linux
- Topic: ld error while compling test code
- Replies: 2
- Views: 5577
- Wed 7. Sep 2022, 13:57
- Forum: Linux
- Topic: ld error while compling test code
- Replies: 2
- Views: 5577
ld error while compling test code
Hi, we are using peak-linux-driver-8.14.0 on raspberry CM4. It's installed and we run the receivetest and transmitest without problem. I tried to rename transmitest.cpp and then run "make -C test" and I got ld error for the transmitest.cpp I rename it back as it was but I got the same error. The ...
- Thu 5. May 2022, 12:27
- Forum: Linux
- Topic: Peak-linux-driver-8.14.0 not working
- Replies: 9
- Views: 7000
Re: Peak-linux-driver-8.14.0 not working
Under 5.15.32-v8+ 64bit the PCAN-M2:
Regards,
Magnus
- does not work with the socket-can and pcan driver
- works with the socket-can and the pcan driver
Regards,
Magnus
- Thu 5. May 2022, 11:17
- Forum: Linux
- Topic: Peak-linux-driver-8.14.0 not working
- Replies: 9
- Views: 7000
Re: Peak-linux-driver-8.14.0 not working
Hello again Stéphane,
We are already using the socket-can driver, but we want to use the chardev. We have tested the chardev with RPI cm4 with 32bit OS and it is working. The issue appeared when we tried using the same hardware but with 64bit OS.
We tried tuning the DMA but it was not successful ...
We are already using the socket-can driver, but we want to use the chardev. We have tested the chardev with RPI cm4 with 32bit OS and it is working. The issue appeared when we tried using the same hardware but with 64bit OS.
We tried tuning the DMA but it was not successful ...
- Wed 4. May 2022, 08:43
- Forum: Linux
- Topic: Peak-linux-driver-8.14.0 not working
- Replies: 9
- Views: 7000
Re: Peak-linux-driver-8.14.0 not working
UPDATE!
We have changed the value of #size-cells in pcie@7d500000 struct from <0x02> to <0x04> and reboot the RPI4 that has raspbian 64bit and installed PCAN driver again. The output of "dmesg | grep pcan" is the following:
evoy@raspberrypi:~/peak-linux-driver-8.14.0 $ dmesg | grep pcan
[ 79 ...
We have changed the value of #size-cells in pcie@7d500000 struct from <0x02> to <0x04> and reboot the RPI4 that has raspbian 64bit and installed PCAN driver again. The output of "dmesg | grep pcan" is the following:
evoy@raspberrypi:~/peak-linux-driver-8.14.0 $ dmesg | grep pcan
[ 79 ...
- Tue 3. May 2022, 16:26
- Forum: Linux
- Topic: Peak-linux-driver-8.14.0 not working
- Replies: 9
- Views: 7000
Re: Peak-linux-driver-8.14.0 not working
Thanks for your answer. We took a look about how tuning DMA for RPI4. After a period of searching, we found this link https://gist.github.com/geerlingguy/9d78ea34cab8e18d71ee5954417429df where is mentioned how to configure the DMA size in "/boot/bcm2711-rpi-cm4.dtb" file. We have found the place ...
- Mon 2. May 2022, 16:07
- Forum: Linux
- Topic: Peak-linux-driver-8.14.0 not working
- Replies: 9
- Views: 7000
Peak-linux-driver-8.14.0 not working
Hi, I am installing pcan driver for linux in our raspberry pi compute module 4 that has "Debian GNU/Linux 11 (bullseye)". Ther kernel is 5.15.32-v8+
We followed the guide in this link: https://forum.peak-system.com/viewtopic.php?f=59&t=6897&sid=0d035991e464b7ebbcc8e110ca1be8c9
"sudo make install ...
We followed the guide in this link: https://forum.peak-system.com/viewtopic.php?f=59&t=6897&sid=0d035991e464b7ebbcc8e110ca1be8c9
"sudo make install ...