chipKIT® Development Platform

Inspired by Arduino™

chipKIT Pi and MPIDE (Windows)

Created Fri, 22 Nov 2013 01:03:24 +0000 by HopWorks


HopWorks

Fri, 22 Nov 2013 01:03:24 +0000

I noticed on the raspian version of MPIDE (for linux obviously) that one of the boards I can select in tools is the chipKIT Pi. When I installed the same version number (00023) on my Windows XP, chipKIT Pi is not listed with the other boards.

Does this mean that the chipKIT Pi isn't supported with the Windows version of MPIDE? I was hoping to find the same examples as well but didn't see them.

I want to use the Windows version of MPIDE because programming the chipKIT Pi with the Raspberry Pi is PAINFULLY SLOW! I was able to work with the board with MPLAB X 1.95 rather quickly, but I want to explore Arduino sketches with this board.

Thank you for your time!


majenko

Fri, 22 Nov 2013 01:11:03 +0000

They should be both built from the same source tree, with the same core files, etc.

You could drag-and-drop files from the Raspian version to the Windows version - boards.txt and variants should do it - and see if that gives you what you need.

Either that or give UECIDE a go? ;)


guymc

Fri, 22 Nov 2013 17:26:35 +0000

Check and see if you are using the latest Windows version of MPIDE. I believe the chipKIT Pi support files are included.

Cheers


HopWorks

Fri, 22 Nov 2013 21:45:03 +0000

Check and see if you are using the latest Windows version of MPIDE. I believe the chipKIT Pi support files are included. Cheers

I am running 0023 on Windows XP. I checked GitHub and 0023 is the latest, uploaded over a year ago. I then went to chipKIT core, and I see files uploaded just a few days ago, including boards.txt, but when I try to get anything or even sign in, I get 'forbidden - administrative rules'. :?

I'll give the boards.txt on the RPi a go Matt. I don't have anything like webmin or samba set up on that install, so I'm not sure yet how I will get it off there. I suppose I could just shell to it from my laptop and copy the boards.txt contents. I'll check out UECIDE also. 8-)

Thank you!


majenko

Fri, 22 Nov 2013 21:57:11 +0000

0023 is a generic base version number - the Arduino IDE version MPIDE is based on. You need to check the date in the version number.


EmbeddedMan

Fri, 22 Nov 2013 23:16:08 +0000

This is the very latest Windows test build - it has all of the chipKIT PI files in it: [url]http://chipkit.s3.amazonaws.com/builds/mpide-0023-windows-20131118-test.zip[/url]

*Brian


djgardn2

Tue, 20 May 2014 04:32:13 +0000

I just wanted to verify that you can use MPIDE on Windows to program the ChipKit Pi the only catch is that you will most likely need to install the chipKIT_Pi_USBi bootloader onto the pic32 first, according to my understanding. In order to load the USB bootloader onto the pic32 you will need a Pickit3 or similar.

Loading code on to the pic32 using Windows compiles much faster than compiling the code on the Pi.


EmbeddedMan

Tue, 20 May 2014 13:06:05 +0000

Close. I've programed my chipKIT Pi from Windows many times with the default serial (UART) bootloader as I was developing the chipKIT Pi variant files.

You just need a USB to Serial adapter (I use the FTDI cables) and then tie the chipKIT Pi's UART TX/RX lines to the serial adapter. Then select that serial port in the Windows MPIDE, and you can program the chipKIT Pi that way. And, it's much faster than running natively on the Raspberry Pi.

Of course, using the USB bootloader also works (and is even faster) but does require the other bootloader, and the easiest way to get that on the chipKIT Pi board is with a hardware programmer.

*Brian


djgardn2

Tue, 20 May 2014 21:57:12 +0000

Thanks for the tip about the USB to Serial adapter (FTDI cables), good to know.