Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21602 Discussions

Arrow SoCKit, how to read USB device?

Altera_Forum
Honored Contributor II
1,403 Views

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 Kudos
2 Replies
Altera_Forum
Honored Contributor II
711 Views

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 Kudos
Altera_Forum
Honored Contributor II
711 Views

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 Kudos
Reply