The Apalis modules have two on-module CAN controllers. Change the status of the mcpcan node to okay and add a status property to the spidev1 node which is disabled. Sign up or log in Sign up using Google. Sign up using Facebook. Stack Overflow works best with JavaScript enabled.

Uploader: Daitilar
Date Added: 1 March 2014
File Size: 25.56 Mb
Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X
Downloads: 15190
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.

Stack Overflow works best with JavaScript enabled. By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of serviceprivacy policy and flexcqn policyand that your continued use of the website is subject to these policies.

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.

  FUJI XEROX PHASER 3110 DRIVER

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.

If not enable it and recompile the kernel. Fleexcan the Colibri Evalution board V3. Post Your Answer Discard By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to these policies. The reason I want to do this is for creating a service tool on the same device which can log all CAN frames.

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.

  LOGITECH MX1000 LASER CORDLESS MOUSE DRIVER

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.

CAN (Linux)

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.