Hi All,
I’m using MPLab X IDE V3.10 with UDB5 board and PICkit 3 (a brand new, just purchased from Sparkfun). I connected PICkit 3 to UDB5 and made a build (which is done successfully) in IDE. After that, IDE tells me it couldn’t connect PICkit 3 to the hardware (UDB5). Refer to the error message below:
…
"C:\Program Files (x86)\Microchip\xc16\v1.25\bin"\\xc16-bin2hex dist/UDB-5/production/MatrixPilot-udb5.X.production.elf -a -omf=elf
make[2]: Leaving directory 'C:/MyProject/MatrixPilot-master/MatrixPilot/MatrixPilot-udb5.X'
make[1]: Leaving directory 'C:/MyProject/MatrixPilot-master/MatrixPilot/MatrixPilot-udb5.X'
BUILD SUCCESSFUL (total time: 58s)
Loading code from C:/MyProject/MatrixPilot-master/MatrixPilot/MatrixPilot-udb5.X/dist/UDB-5/production/MatrixPilot-udb5.X.production.hex...
Loading completed
Connecting to programmer...
The programmer could not be started: Could not connect to tool hardware: PICkit3PlatformTool, com.microchip.mplab.mdbcore.PICKit3Tool.PICkit3DbgToolManager
Connecting to MPLAB PICkit 3...
Connection Failed.
Here are additional info on what I did and on the setup
- - UDB5 has 6V power supply and is up and running (LEDs toggle properly after it’s powered on)
- - I have an ICSP cable (purchased from Sparkfun) which I used it to connect PICkit 3 and UBD5. And I checked the continuity of ICSP cable and tried to connect the different ways between PICkit 3 and UBD5.
- - PICkit 3 is recognized by IDE (PICkit 3 Serial # is displayed in Project window, see attachment) and all 3 LEDs are on
Did anyone program UDB5 with PICkit 3 and MPLab X IDE V3.10 successfully ?
Thanks
David
--
--
---
You received this message because you are subscribed to the Google Groups "uavdevboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to uavdevboard...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
The following is a list of known problems. For information on common problems, error messages and limitations please see Troubleshooting in the online help file for the PICkit 3.
Some applications, plug-ins or widgets may take control of, or interfere with, the system provided HID USB driver, which can cause problems communicating with the PICkit 3. If you cannot connect to the PICkit 3, review the Task Manager for these types of programs and close them.
If you have a PICkit 3 that is a revision 7 or above, you must use the MPLAB X IDE or MPLAB IPE (Integrated Programming Environment) to load the PTG (Programmer-to-Go) image onto the PICkit 3. Previous revisions (6 and older) of the PICkit 3 work with MPLAB v8.
For more information, see forum posts:
http://www.microchip.com/forums/m614572-p2.aspx
http://forums.ni.com/t5/Multifunction-DAQ/No-supported-devices-found/td-p/1856299/page/2
I have looked through the first of the two links above. I can see many people have had a similar problem, and there seem to be a number of solutions.
I recommend reading all the way through to the end of the thread.
Sorry I cannot help further as I am on the Mac with the Pickit 3.
David, I think it would be helpful for the uavdevboard group if you could confirm your Windows O/S version number as well.
Best wishes, Pete
- - PICkit 3, Firmware suite Version ….. 0.1.32.09
- - Window 7 (Enterprise), Service Pack 1
Hi David,
--
--
Connecting to MPLAB PICkit 3...
Currently loaded firmware on PICkit 3
Firmware Suite Version.....01.39.15
Firmware type..............dsPIC33F/24F/24H
Target voltage detected
Target Device ID (0x0) does not match expected Device ID (0x7ff0000).
Target device Id of 0 means it did not communicate with the hardware.
--
--
--