New Board and/or new PIC32 device

Toley
Posts: 17
Joined: Thu Jun 02, 2011 7:26 pm

New Board and/or new PIC32 device

Postby Toley » Mon Jun 06, 2011 2:30 pm

Congratulation for this great contribution to the open source world!

Is it too soon to ask for new board and new PIC32 support ?
I own an Explorer16 with a PIC32MX460F512L PIM, I also have a Mikroelektronika PIC32MX4 board with the same chip. My Max32 is ordered but B.O. at my local distributor so I cannot begin development now.

Thank you.

User avatar
rtestardi
Posts: 79
Joined: Mon Jun 06, 2011 1:16 am
Location: Boulder, CO USA
Contact:

Re: New Board and/or new PIC32 device

Postby rtestardi » Mon Jun 06, 2011 2:56 pm

I think the challenge you'll have with these other boards (once you get past essentially just selecting a different processor for the include files used by the bootloader and the compiled application) is that MPIDE needs control over the MCU reset (mclr) line in order to initiate the uploading process. In the chipkit, this is provided by the FTDI chip modem signals -- which allow for an easy MCU reset when the COM port is opened...
Embedded Systems Made Easy: http://www.cpustick.com .....

Mark
Posts: 116
Joined: Sat May 21, 2011 4:26 pm

Re: New Board and/or new PIC32 device

Postby Mark » Mon Jun 06, 2011 10:31 pm

I have already added the Explorer 16 to the list of supported boards. It should be in the next release

The bootloader is set up so that if you are compiling for boards that are not the MAX32 or UNO32, then the timeout is longer. This will allow you to hit reset and you do not have to rely on the auto-reset.

I checked out that Mikroelektronika PIC32MX4 board, it looks real neat. I will see about trying to get one

Mark

Toley
Posts: 17
Joined: Thu Jun 02, 2011 7:26 pm

Re: New Board and/or new PIC32 device

Postby Toley » Tue Jun 07, 2011 12:29 pm

rtestardi wrote:MPIDE needs control over the MCU reset (mclr) line in order to initiate the uploading process.

This is quite simple to solve with small harware mod, RTS pin (via a capacitor) could be used to trig the Reset of the PIC.

Mark wrote:I have already added the Explorer 16 to the list of supported boards. It should be in the next release

Thank you Mark, can you tell us when the next release will be available ?

Toley
Posts: 17
Joined: Thu Jun 02, 2011 7:26 pm

Re: New Board and/or new PIC32 device

Postby Toley » Sat Jun 11, 2011 10:25 am

I have already added the Explorer 16 to the list of supported boards. It should be in the next release

:cry: Unfortunately Explorer 16 is not in the 20110610-test release :cry:

User avatar
rtestardi
Posts: 79
Joined: Mon Jun 06, 2011 1:16 am
Location: Boulder, CO USA
Contact:

Re: New Board and/or new PIC32 device

Postby rtestardi » Tue Jun 21, 2011 4:00 pm

Is it too soon to ask for new board and new PIC32 support ?
I own an Explorer16 with a PIC32MX460F512L PIM


If you want to try something, I made an avrdude-compatible bootloader that should work on your board. It will enumerate a CDC/ACM serial port, and you can just point mpide to it. The only challenge might be that you have to choose either the Uno32 or Max32 in mpide, and neither of those are exactly the MCU you have -- but basic functions seem to work (I'd probably go with the Uno32).

See: viewtopic.php?p=643#p643
Embedded Systems Made Easy: http://www.cpustick.com .....

Toley
Posts: 17
Joined: Thu Jun 02, 2011 7:26 pm

Re: New Board and/or new PIC32 device

Postby Toley » Wed Jun 22, 2011 1:48 pm

Thank you for your effort Rich but Explorer16 and MikroElektroniKa board are now part of the mpide-0022-chipkit-win-20110619 build. Thank you Mark.

User avatar
rtestardi
Posts: 79
Joined: Mon Jun 06, 2011 1:16 am
Location: Boulder, CO USA
Contact:

Re: New Board and/or new PIC32 device

Postby rtestardi » Wed Jun 22, 2011 3:02 pm

Yes, if your board has a serial port (and your PC does, too), then you can always use the serial bootloader.

My project is for the boards that only have USB or for folks who don't have or want serial ports on their PCs, as it provides native USB support.

-- Rich
Embedded Systems Made Easy: http://www.cpustick.com .....


Return to “chipKIT Boards”

Who is online

Users browsing this forum: Bing [Bot] and 1 guest