Altera_Forum
Honored Contributor
11 years agoSources for using USB 2.0 OTG Controller
In usb 2.0 slave hwlib (http://www.alteraforum.com/forum/showthread.php?t=45542)
detewef (http://www.alteraforum.com/forum/member.php?u=92663) ask a possibility in HWLIB to use embedded USB controller in HPS. May be very usable to use my CV-device as flash-trinket, with keep there application codes in many variants, results of work, ...and with easy exchanges with PC, not through slow JTAG! In "Cyclone V Device Handbook" described 2 instances of OTG (On The Go, bidirectional USB) 2.0 for HPS, each may be device or host independently. Host realisation ask big efforts, Linux etc... And if suddently exist ready codes for slave drive with filesystem ? I connect OTG-output on kit to PC (Win7) through micro-USB-cable from kit set and not see new devices with Linux boot, although many "USB" mentions in console: "USB Mass Storage driver", "DWC OTG Controller", "irq 160", "USB HID core driver" etc... And if I start gpio example (http://www.altera.com/support/examples/soc/soc.html), then Win 7 has found new "Unknown Device" on USB bus: side by side with usual "FT232R USB UART" and "USB-Blaster II" :) May anybody give link to good and easy coltroller code for flash FAT32-device or like ?