Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21602 讨论

Arrow SoCKit, how to read USB device?

Altera_Forum
名誉分销商 II
1,401 次查看

Hi! 

 

I have an Arrow SoCkit evalboard, and i have pendrive which is pluged into the micro usb of the kit. The pendrive and linux indicates that they see each other, because the pendrive is blinking, and the linux(Altera Yocto Linux) says that he got the interrupt message from it. So my question is, that how am i able to read data from it? 

 

Thanx
0 项奖励
2 回复数
Altera_Forum
名誉分销商 II
709 次查看

May need be driver for your pendrive in Yocto ? 

Embedded Linux may not know about all USB devices and its habits. 

ug_soc_eds.pdf say about "Device driver developing"... 

However, in Linux World may be sources of drivers on pendrive producer site ?
0 项奖励
Altera_Forum
名誉分销商 II
709 次查看

You don't need specific drivers for an ordinary USB thumb drive formatted with FAT32 (as most are). The SoCkit may be seeing your pen drive already. I don't know if this will work on the SocKit, but on a desktop linux system you would type "cat /proc/partitions" before and after inserting the drive. If there is a new line in the output that is where linux put your drive. You can then use the mount command to gain access as usual.

0 项奖励
回复