MyUSB 1.0.2 has now been uploaded. As the version number indicates, this is a minior revision to the code, rather than a major enhancement.
The new version carries the new DynAlloc version I wrote about a few days ago (with the seperate DynAlloc zip file on the AVR Experiments page already containing the revised code) as well as enhancements to the Mass Storage demonstration application. After grumbling about the lack of standards compliance on the cheap no-name Chinese flash disks, I’ve decided to update the code to be (I believe) SBC-2/SBC-3 compliant by adding the READ-6, WRITE-6 and MODE-SENSE-10 commands. While the code worked already on the OSes I tested (Win98, WinXP, Vista, Ubuntu) the added standards compliance gives me the right to sit on my oh-so-high horse and complain about the dodgy flash disks.
In addition, I have a little more work to do on the Mass Storage Host code. I’ve fixed a problem in the existing code in the 1.0.2 revision, allowing for multiple read/write commands to be executed correctly, rather than just the one. However, on some of the no-name disks I’ve tried the code with it fails, either during enumeration or due to a BLOCK DATA IN pipe stall. More investigation needs to be done, but again this is likely due to a lack of standards compliance, as name-brand disks appear to work fine.
MyUSB 1.0.2 is available from the MyUSB page.
Recent Comments