FRDM KL25Z USB Device is not getting recognized in Linux system

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

FRDM KL25Z USB Device is not getting recognized in Linux system

跳至解决方案
1,892 次查看
charanreddy
Contributor III

Hi,

We had designed a custom board with MKL25Z32VFM4 Controller on it. we have programmed the custom board with USB Device program. The problem here is the custom board is getting detected on windows system as Removable disk but the same board is not getting detected on Linux system. If i download the same code on FRDM KL25Z development boad it is getting detected on both windows and Linux systems. Is there any particular thing that need to be done on the custom board to make it detect on any operating system.

Regards,

Charan

0 项奖励
回复
1 解答
1,562 次查看
santiago_lopez
NXP Employee
NXP Employee

Hi Charan,

USB is a standard, so as soon as the firmware complies with that standard the device should be compatible with any USB host supporting that class regardless the operating system. Problems of this type are more commonly related with hardware and drivers. Some of them are most robust and can handle errors in the communication allowing you to continue, but some others no. My recommendation would be to use a USB sniffer and compare both cases to catch the part of the communication in which Linux is dropping the connection. Also I would recommend you to use an oscilloscope to compare the USB lines in your board with the lines in the FRDM-KL25 to see how much distorted they are.

Let us know how it went.

Saludos

Santiago Lopez – Wireless Applications Engineer

在原帖中查看解决方案

2 回复数
1,563 次查看
santiago_lopez
NXP Employee
NXP Employee

Hi Charan,

USB is a standard, so as soon as the firmware complies with that standard the device should be compatible with any USB host supporting that class regardless the operating system. Problems of this type are more commonly related with hardware and drivers. Some of them are most robust and can handle errors in the communication allowing you to continue, but some others no. My recommendation would be to use a USB sniffer and compare both cases to catch the part of the communication in which Linux is dropping the connection. Also I would recommend you to use an oscilloscope to compare the USB lines in your board with the lines in the FRDM-KL25 to see how much distorted they are.

Let us know how it went.

Saludos

Santiago Lopez – Wireless Applications Engineer

1,562 次查看
charanreddy
Contributor III

Hi Santiago Lopez,

Thanks for your quick replay. I think there is some problem in our hardware. we are checking on that. Will inform once the problem gets resolved.

Regards

Charan

0 项奖励
回复