USB host mass storage is the only example I couldn't get to work on my due. I'm a due newbie but it never receives an sof event when I plug my 2gb scandisk cruzer.
IE: This line:
if (main_usb_sof_counter > 2000) {
// ..NEVER HAPPENS..
}
I have the same issue.
Files are not created on the USB disk. I am using a cable (which came with my Samsung Galaxy S), with a male to male connector to 8GB USB key. Is it expected to work in this configuration?
I set a breakpoints in various functions, eg main_usb_sof_event(), but seems interrupt never occurs!