AnsweredAssumed Answered

IMX28 CAN communication error

Question asked by Ganesh H on Jul 7, 2014
Latest reply on Jul 7, 2014 by igorpadykov

Hi am using IMX28 EVK and its linux 2.6.35 BSP



I am having problems in configuring can interface.



In ltib package list i enabled can4linux and cantest



-- Package Selection

    Package List -->

        [*] cantest

        [*] can4linux



In kernel configuration



[*] Networking support --->

     <*> CAN bus subsystem support --->

        <*>   Raw CAN Protocol (raw access with CAN-ID filtering)       

<*>   Broadcast Manager CAN Protocol (with content filtering)   

        CAN Device Drivers  --->

  <*> Virtual Local CAN Interface (vcan)                                                                                                 

  <*> Platform CAN drivers with Netlink support                                                                                         

    [*]   CAN bit-timing calculation                                                                                                      

  <*>   Microchip MCP251x SPI CAN controllers                                                                                           

  <*>   Philips/NXP SJA1000 devices  --->                                                                                                

  CAN USB interfaces  --->                                                                                                         

  [*] CAN devices debugging messages                                                                                                    

  <*> Freescale FlexCAN                                                                                                                 





But when i issue the commands like

$ ip link set can0 up type can bitrate 500000

Cannot find device "can0"


$ ifconfig can0 up



ifconfig: SIOCGIFFLAGS: No such device



What will be the problem???