wwatson
Well-known member
@WMXZ
Think I have the basic MSC structure setup in Github now. Need to add a readme and then learn how to use the repository properly. Lots of info available on the web.
Any advice to a novice Github user from you guys is very welcomed.
@Kurte
I saw your PR and merged it. This max LUN thing really has me bugged. I know it is not right. In the usbmassbulk10.pdf page 7 section 3.2 it shows this command.
I have wLength set to 0000h and it always returns 0 in report[0]. If I set wLength to 1 as stated in the manual, I get this followup error.
The manual also states that
Other information I have seen states that the Get Max LUN command can cause flakey results.
LUN's are numbered from 0 to 15 so setting LUN in the Command Block Wrapper to 0 is always working.
Not working this weekend. Hope to have time to work with this.
Think I have the basic MSC structure setup in Github now. Need to add a readme and then learn how to use the repository properly. Lots of info available on the web.
Any advice to a novice Github user from you guys is very welcomed.
@Kurte
I saw your PR and merged it. This max LUN thing really has me bugged. I know it is not right. In the usbmassbulk10.pdf page 7 section 3.2 it shows this command.
bmRequestType bRequest wValue wIndex wLength Data
10100001b 11111110b 0000h Interface 0001h 1 byte
I have wLength set to 0000h and it always returns 0 in report[0]. If I set wLength to 1 as stated in the manual, I get this followup error.
Code:
control CallbackIn (msController)
00 00 00 00 00 00 00 00
ERROR Followup
remove from followup list
remove from followup list
qtd: B0C0, token=7083788B, next=7003780B
The manual also states that
At this point I am trying to figure out how to detect a pipe stall with USBHost_t36.Devices that do not support multiple LUNs may STALL this command.
Other information I have seen states that the Get Max LUN command can cause flakey results.
LUN's are numbered from 0 to 15 so setting LUN in the Command Block Wrapper to 0 is always working.
Not working this weekend. Hope to have time to work with this.