-
Notifications
You must be signed in to change notification settings - Fork 139
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
Warning message for teensy bootloader #1065
Comments
full avrdude run log with -vvvv
|
The same happens to Teensy++ 2.0 as well.
|
@mcuee can you check if you get the same warning when using @mariusgreuel's Avrdude fork? |
Same issue.
Detail log shows the same as well.
I also tried the previous release of the fork and the results are the same.
Detail log shows the same issue.
|
Somehow it does not work under Linux. Edit: sorry this is a known issue, I need to use
After using
|
@mariusgreuel |
@mariusgreuel
In that case, we do not need to use
|
Answer from hidapi developer.
The new work-around requires the latest hidapi git -- or the upcoming hidapi 0.13 release. |
Thanks for contacting them. I will give their suggestions a shot. |
It seems that your PC is a bit more picky then mine about USB communication. I suspect when the AVR reboots it does not properly reply to the control packet. It does not happen on my PC. Could you share some details about the make of your PC? Are you using a VM? Just wondering what CPU/USB chipset it has. Also, does the Teensy successfully reboot? A simply workaround would be to just suppress the warning for the reboot. |
Interesting that you do not have issues with your PC. My Acer Swift 3 laptop: dual boot Windows 11 or Ubuntu 20.04, not using VM. Standard Microsoft Windows xHCI driver and USB 3.0 root driver for Intel chipset. More detail HW info: Tiger Lake-LP USB 3.2 Gen 2x1 xHCI Host Controller
|
@mariusgreuel That is a good workaround. I agree with this. |
A PR would be nice! 😀 |
@mcuee I was unable to reproduce the problem, however, this PR should fix the warning you see. Could you please give this a try? |
@mariusgreuel |
There is a warning message for teensy bootlaoder.
avrdude.exe: WARNING: Failed to write page: hid_write/GetOverlappedResult: (0x0000001F) A device attached to the system is not functioning.
Run log with Teensy 2.0.
The text was updated successfully, but these errors were encountered: