Forum Discussion
Altera_Forum
Honored Contributor
10 years agoNot able to read device description of pen drive via USB interface.
Hello everyone! I am trying to execute a C code in Nios IDE to create a file in pen drive connected to Micron Nand flash via USB. After running the program, file system is succesfuly initialized...
Altera_Forum
Honored Contributor
10 years agoSome pen drives include additional devices (security, etc). Simplistic software like most embedded libraries can't deal with this. Sometimes USB hub(s) are also included. I'd suggest trying your code with a variety of different brands, models, sizes of pen drives and use the ones that work. That's easier than debugging a more complex pen drive. If your device needs to work with any generic pen drive, I'd suggest purchasing a commercial USB and file system stack for embedded devices rather than relying on code from a demo.
Also, it's not considered polite to post the same question in multiple forum areas.