chipKIT® Development Platform

Inspired by Arduino™

Bootloader & ICD3

Created Thu, 26 May 2011 19:41:37 +0000 by doumdi


doumdi

Thu, 26 May 2011 19:41:37 +0000

Is there a way to compile and burn the chipKIT bootloader from the IDE? I guess it would require to support the ICD3 / PicKit programmers from Microchip. It seems to be supported with MPLABX via libusb...

Is the chipKIT serial bootloader code "Open Source" ? It doesn't seem to be available from github. If so, I would be interested to test it.

Thanks!


Mark

Thu, 26 May 2011 22:33:49 +0000

Yes the bootloader is open source, I think its up on github already

It does require MPLAB-X and a ICD-3 or PICKIT-3 to burn it.

I have the start of documentation at

[url]http://www.avr-developers.com/chipkit/[/url]


jasonk

Fri, 27 May 2011 06:53:47 +0000

Looks like we forgot to flip the switch to public on the bootloader repository. https://github.com/chipKIT32/pic32-Arduino-Bootloader


doumdi

Fri, 27 May 2011 13:53:55 +0000

Thanks, I'll give it a try!


ricklon

Fri, 27 May 2011 14:36:54 +0000

Thanks Jason!


doumdi

Fri, 27 May 2011 18:03:00 +0000

I successfully programmed my custom board using the mpide and your bootloader. I had to change few things because I am using a PIC32MX795F512H with a slightly different configuration and ICSP routing. However, my FTDI USB UART is connected the same way than the ChipKIT, which helps a lot!

Thanks for the good work!


Mark

Sat, 28 May 2011 14:15:55 +0000

I successfully programmed my custom board using the mpide and your bootloader.

Thats great, I expect to be adding more and more support for more boards to both the bootloader and to the core files. Currently I am working on Microchip PIC32 starter kits. If anyone has a favorite, let me know and I will make sure it gets added in.

Did you get avrdude.conf modified successfully. If not, let me know and I will help out.

Mark


TalhoSan

Sun, 29 May 2011 08:53:59 +0000

Hi! I would like to ask for some help. I like the Arduino-like IDE, librarys and the simple C language. I already created some projects, but looks like my Arudino has some speed, calculating issues. I'm going to change my board to the MAX32, but I will create my own board with some upgrades. I don't really like the low Voltage and Current. I'ts going to be cheaper for me to build my own since I already have a lots of parts for it. OK! My board will be bigger, not as beautiful and red (as long as i'ts not pink, I don't care about the color) as yours, but it will work and I will put it in a box, so nobody will see it actualy. My really problem is the Bootloader. Which file do I need to burn in my ipc32 or how should I compile it if I have to. I am going to use the same pic32 as the MAX32 board has the PIC32MX795F512L. I already ordered a PicKIT3(I can buy it with a nice discont in exchange for a few favors, so its still cheaper). I more like creating the boards tha programming them .

Thanks for your help!


Mark

Sun, 29 May 2011 14:29:31 +0000

TalhoSan

If its the same chip then you can simply burn the hex file with the pickit3

I use MPLAB-X and we are going to be putting up the complete MPLAB-X project file. In the project file under MPLAB-X you can specify many different configurations. I have this done so that you specify the UNO32, the MAX32, the starter kits, etc.

In the bootloader file there are 2 important things, the serial port (port 1 or 1A) and the LED. If you dont have an LED on your board, you can ignore this. The LED is used to blink status before and during the bootloader process.

Mark


doumdi

Mon, 30 May 2011 14:43:09 +0000

Thats great, I expect to be adding more and more support for more boards to both the bootloader and to the core files. Currently I am working on Microchip PIC32 starter kits. If anyone has a favorite, let me know and I will make sure it gets added in. Did you get avrdude.conf modified successfully. If not, let me know and I will help out. Mark

My board is a derived version of the PIC32 Ethernet starter kit with 2x integrated CAN transceiver + second serial port with transceiver and USB OTG. So yes, the PIC32 starter kit would be my favorite for now. I plan to support the Arduino environment with the OpenECoSys NetworkViewer soon available here: [url]https://sourceforge.net/projects/openecosys/files/NetworkViewer/Pre-Release/[/url]

That would allow Arduino users real-time monitoring of internal variables using the CAN, Ethernet or the serial port.

I did not modify avrdude.conf and I used the chipKIT MAX32 configuration.

Also, do you plan to support integrated Ethernet and CAN soon? That would be awesome.

Thanks.


Jimstrong

Wed, 05 Dec 2012 13:00:17 +0000

Dear doumdi, could you tell you how you modified the uno32 bootloader for your own chip? Which part do you specifically change?

I am trying to modify a bootloader for PIC32MX440512H. Many thanks.

My board is a derived version of the PIC32 Ethernet starter kit with 2x integrated CAN transceiver + second serial port with transceiver and USB OTG. So yes, the PIC32 starter kit would be my favorite for now. I plan to support the Arduino environment with the OpenECoSys NetworkViewer soon available here: [url]https://sourceforge.net/projects/openecosys/files/NetworkViewer/Pre-Release/[/url] That would allow Arduino users real-time monitoring of internal variables using the CAN, Ethernet or the serial port. I did not modify avrdude.conf and I used the chipKIT MAX32 configuration. Also, do you plan to support integrated Ethernet and CAN soon? That would be awesome. Thanks.