Skip to content

Conversation

@tannewt
Copy link
Member

@tannewt tannewt commented Nov 8, 2017

No description provided.

@tannewt tannewt requested a review from dhalbert November 8, 2017 18:48
Copy link
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are good, but I made these changes manually on the tip of master and I'm still seeing the #422 problems on Windows. ☹️

* Be more liberal with critical sections to ensure ordering.
* Correct usb_busy so that it is busy when no errors occur on
  transfer. I believe it worked before because it would be false
  momentarily until a second transfer was attempted and a busy
  error was returned, therefore setting usb_busy to true. That
  risks the first "failed" transfer completing before a second one
  is attempted.
@tannewt tannewt changed the title atmel-samd: Align SCSI responses. atmel-samd: USB mass storage tweaks. Nov 8, 2017
@jerryneedell
Copy link
Collaborator

@tannewt Is there any conflict between turning the caches and the errata 1.6 regarding the DSU CRC32 which may fail if NVM caches are disabled? Does this apply?

@tannewt
Copy link
Member Author

tannewt commented Nov 9, 2017

I don't think we're checking the CRC32 anywhere. We probably should though.

@jerryneedell
Copy link
Collaborator

Not with the cache disabled ;-) - Thanks for clarifying - I just wanted to make sure one fix was not going to introduce another latent bug.

@tannewt
Copy link
Member Author

tannewt commented Nov 9, 2017

Yup, I appreciate the second set of eyes on it.

dhalbert added a commit to dhalbert/circuitpython that referenced this pull request Nov 9, 2017
…t/circuitpython, align_usb branch).

Roll back to b4fc464:

git revert -m 1 -n b82cfcb
git revert -n 0e6928b
git revert -n bfe7e05
git commit
dhalbert added a commit that referenced this pull request Nov 9, 2017
Unrevert the revert below, in preparation for PR #425 (tannewt/circuitpython, align_usb branch).
Copy link
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kattni and @hukuzatuna have tested this. I've tried it on Windows and it seems to be fine (not sure why my testing earlier seemed to point to an issue).

@dhalbert dhalbert merged commit 9564f7b into adafruit:master Nov 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants