|Date Added:||1 March 2014|
|File Size:||25.56 Mb|
|Operating Systems:||Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X|
|Price:||Free* [*Free Regsitration Required]|
Linux on imx: Can’t log sent CAN frames using candump – Stack Overflow
See also the CAN integration commit on git. With the Colibri Evaluation board V3. The second component, the CAN transceiver, is external and makes sure electrical specification the physical layer is met.
It is FlexCAN that is used. The Apalis modules have two on-module CAN controllers.
The most important configuration is the bitrate. Alright, I have been at this issue many times but given up.
Sign up or log in Sign up using Google. Any clues are welcome. The following changes are needed for the device tree: On Colibri modules, CAN is not a standard pin mux flecan therefore not supported by our default image.
iMX FlexCAN Driver | GuruCE
I understand that it might be convenient that messages that is sent is filtered, but I should be possible to choose. If you are using SocketCAN, you should be able to turn on loopback to receive messages that are being transmitted from your interface and they must actually be transmitted on the wires to be received via loopback.
Our Apalis standard image provide a kernel and if applicable a device tree configured for CAN. The can-utils package requires SocketCAN, which was integrated into the stock kernel 2.
Eric G 1 3.
This not glexcan tree enabled kernel must be recompiled with the following kernel configurations enabled:. The first component acts on the data-link layer and allows to send and receive CAN datagrams. Once the device tree is setup to use a CAN device, the modules will get loaded automatically.
The following shows the bring-up of a Colibri EvalBoard V3. For older images the required ipk packages can be built with OpenEmbedded or can be found on http: CAN imxx with external nodes works like a charm, but the frames that I send to the nodes from my app is not printed when using “candump can0” in the terminal when I run the same app on my host using a glexcan dongle this problem does not occur.
By using this configurations, the platform data for the SPI resp. But know I stumbled on the solution: Either downgrade to iproute2-ss from our V2.
Use the latest kernel sources as we had to backport the following commits: The drivers have to be enabled and configured in the device tree. The syntax of the cansend command is different between the two.
Beside that, the interface needs to started using the up command:. When extended CAN frames are sent they show up using candump. I have a custom build linux 2.