I.MX6UL CAN initial is stopped

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

I.MX6UL CAN initial is stopped

386 Views
tacho
Contributor I

Hi all,

when i test my can moudule whith the single object can_test.c. that can be compiled and running normally.But when i add this object to my project. I find a problem. the task is stopped at "ioctl(socked, SIOCGIFINDEX, &ifr)".

Labels (2)
0 Kudos
1 Reply

324 Views
igorpadykov
NXP Employee
NXP Employee

Hi 建霆 陈

suggest to look at SIOCGIFINDEX example programming

Sending raw Ethernet packets from a specific interface in C on Linux | Austin's blog

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos