-
Notifications
You must be signed in to change notification settings - Fork 52
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
Program hangs?? #48
Comments
Can you please try running pic32prog with triple debug option? For example: It will show a trace of data exchange between pickit2 and pic32prog. |
Send a9 76 |
No reply from pic32prog. Probably something is wrong with USB driver or access permissions. Try "sudo pic32prog -D -D -D". |
I am using Win7 |
Try to run pic32prog as administrator. I mean, create a bat file, right click on it as choose "run as administrator". |
Nope, still the same... |
the problem exists in version .220 of pic32prog, but NOT in version .193 what changes to USB support were made between .193 and .220? unfortunately i don't have a pickit2/3 available at the moment to do any testing myself. cheers, |
The issue still persists and it happens to on multiple Windows machines with multiple PICKIT2 programmers.
I have managed to narrow down the issue to the HID library used. It seems that HID backend was changed between .193 and .220. To be exact, the old HID implementation (WDK hidsdi.h) was working and the new hid backend (hidapi library) is not working correctly. I have just replaced the new hid backend with old one for newer revisions and they work as well. |
When I attach PICKIt2 or PICKIT3 and run software, all I get is message, Programmer.... and Copyright info and it sits there forever.
If i unplug USB, it says Pickit2: error receiving packet.
PICKIT2 is plugged in a board, and when i run PICKIT2 software, it works fine and it does recognize PIC32MX360F512
Same problem with PICKIT3.
What can be issue?
The text was updated successfully, but these errors were encountered: