Created Fri, 07 Feb 2014 07:18:33 +0000 by WanaGo
Fri, 07 Feb 2014 07:18:33 +0000
Is it possible to use the MPIDE to load a chipkit sketch onto a MAX32 using the picKit3 programmer, rather than over USB?
If so, can someone please point me to where I can read how to do it, or mention it here?
Thanks in advance
EDIT I know you can compile in MPIDE and take the hex and load in MPLAB, but is there a method to do it all in MPIDE. I remember a few years ago when I was playing with Arduino that you could set up a new programmer and program the sketch through the IDE also. Is that also possible on MPIDE with Chipkit?
Fri, 07 Feb 2014 10:17:35 +0000
Not directly in MPIDE you can't, no.
Part of the problem is that the PICkit3 is a closed source device, so the only software that really exists is either MPLAB, MPLAB-X, or the MPLAB-X IPE.
However, there is hope.
You can replace the firmware on the PICkit3 with the "scripting engine" available from Microchip. This makes the PICkit3 look almost like a PICkit2, so you can use it with software that works with the PICkit2. It has its risks though - last time I tried it I crippled my PICkit3 and needed to use my PICkit2 to replace the firmware on it. All a bit of a trial. Better is if you have a PICkit2 in the first place.
UECIDE has the option (though I haven't really tested it yet so I don't know how well it works) to program using a PICkit2 instead of the USB bootloader. If you have a PICkit2 or are willing to risk the Scripting Engine, then you might give that a go.
Fri, 07 Feb 2014 19:34:20 +0000
Sounds like playing with fire for me at this stage.