Forum Discussion
Altera_Forum
Honored Contributor
20 years agoUSB 1.1 Host
Hello, I've implement usb 1.1 host/slave IP core in NiosII processor and use it as Host to communicate with USB Mass Storage Class devices. I can read information from the flash drive disk but...
Altera_Forum
Honored Contributor
20 years agoHi slsnios,
thanks for reply. I haven't quite catch your first question, my host controller is usbhostslave IP core, it has some registers, etc. ADDRESS, ENDPOINT, PID and FIFO buffer, so I should fill all appropriate registers and set flag to start transmission. According to the second you're right, as I'm developing host I should worry just about transmit path. Read operation is fully successfull: I'm sending CBW, it is acknowledged by the function, I'm sending request for data and I receive them, I'm sending request for CSW and I receive it. But another case with write operation: I send CBW and it is acknowledged then I send Data and they are acknowledged too, then I send request for CSW but I don't receive it. When I read the same sector after this I can see no changes in data structure. Regards,Yuriy.