Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
11 years ago

Arrow SoCKit, how to read USB device?

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

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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 ?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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.