Skip to content

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