Reading internal RAM

This forum covers PCAN-Linux and Linux development issues concerning our products
Post Reply
Kieutrang
Posts: 2
Joined: Sat 31. Aug 2019, 04:11

Reading internal RAM

Post by Kieutrang » Sat 31. Aug 2019, 04:13

we're using the PCAN-miniPCIe Card to connect a Tegra K1(running Linux 4 Tegra) to the CAN Bus. Sending and Recieving CAN Frames works just fine. But we're looking for a way to monitor the CAN Frames before they are processed by Linux. The idea is to read the Recieve FIFO and TX Buffer directly out of the internal RAM of the CAN Controller. According to the Data Sheet of the SJA1000 this should be possible. But reading out the internal RAM does not seem to working. I just get the registers repeated all over again. Am I missing something or am I doing it wrong?

M.Maidhof
Support
Support
Posts: 1753
Joined: Wed 22. Sep 2010, 14:00

Re: Reading internal RAM

Post by M.Maidhof » Mon 2. Sep 2019, 10:22

Hi,

you have to develop an own driver to realize such a feature. Please have a look on our peak-linux-driver-8.x, which is available as source.

regards

Michael

Post Reply