Skip to content
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

Device can't start on windows #1

Open
wants to merge 27 commits into
base: master
Choose a base branch
from
Open

Conversation

rapapar
Copy link

@rapapar rapapar commented Feb 10, 2016

Hi,
I try gputils to compile a pic16f1459 version
compilation ok but same result that with the provided hex file: error code 10 can't start device
The former bootloader is ok (the 1000h words one) https://github.com/majbthrd/pic16f1454-bootloader

So I think something goes wrong here, may someone give help to me?

thanks

@Haftmann
Copy link

Haftmann commented Aug 25, 2017

Reason for error 10 is omitting checking wLengthH. Windows 7 usbser.sys querys Device Descriptor with wLength=0x109, and bootloader.hex returns 9 bytes instead of the full descriptor. There are some more omits that may result in error for other operating systems.

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.

4 participants