Question: Where can I get an example for software USB stack implementation for EZ-Host/OTG?
The Cypress CY3663 development kit has design examples built around the frameworks code which provides USB host stack functionality.
In CY4640 Reference Design, the entire USB Host stack is implemented in firmware. Additionally the firmware stack supports BOT compliant Mass storage devices. It includes FAT 12/16/32 support, File operations , Mass storage(UMSC,SCSI) class API to enumerate Pen drives and Hard disks on its own.