-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
write timeout on MIMXRT DVJ6B #75
Comments
I've also observed this behavior. I'm using a Teensy 4.1. When this happens I noticed that there seems to be a longer delay once the 3rd block is attempted to be written and the driver returns USBD_STATUS_STALL_PID for all retries of writing that 3rd block until the current set timeout of 500ms is hit. This was observed using wiresharks usb-capture. Retrying the upload a second time also works and there seems to be no significant delay then. |
Was getting a write timeout loading a hex file on the DVJ6B chips with the current teensy_loader_cli (Did not have this problem on the DVJ6A chips). I resolved it by changing line 194 to
r = teensy_write(buf, write_size, first_block ? 5.0 : 2.0);
but is there a better solution here?
The text was updated successfully, but these errors were encountered: