I.MX6UL CAN initial is stopped

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

I.MX6UL CAN initial is stopped

771 次查看
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)".

标签 (2)
0 项奖励
回复
1 回复

709 次查看
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 项奖励
回复