It is currently Thu Jul 31, 2014 10:37 pm



Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: New Board and/or new PIC32 device
PostPosted: Mon Jun 06, 2011 2:30 pm 
Offline

Joined: Thu Jun 02, 2011 7:26 pm
Posts: 17
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.


Top
 Profile  
 
 Post subject: Re: New Board and/or new PIC32 device
PostPosted: Mon Jun 06, 2011 2:56 pm 
Offline
User avatar

Joined: Mon Jun 06, 2011 1:16 am
Posts: 79
Location: Boulder, CO USA
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 .....


Top
 Profile  
 
 Post subject: Re: New Board and/or new PIC32 device
PostPosted: Mon Jun 06, 2011 10:31 pm 
Offline

Joined: Sat May 21, 2011 4:26 pm
Posts: 116
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


Top
 Profile  
 
 Post subject: Re: New Board and/or new PIC32 device
PostPosted: Tue Jun 07, 2011 12:29 pm 
Offline

Joined: Thu Jun 02, 2011 7:26 pm
Posts: 17
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 ?


Top
 Profile  
 
 Post subject: Re: New Board and/or new PIC32 device
PostPosted: Sat Jun 11, 2011 10:25 am 
Offline

Joined: Thu Jun 02, 2011 7:26 pm
Posts: 17
Quote:
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:


Top
 Profile  
 
 Post subject: Re: New Board and/or new PIC32 device
PostPosted: Tue Jun 21, 2011 4:00 pm 
Offline
User avatar

Joined: Mon Jun 06, 2011 1:16 am
Posts: 79
Location: Boulder, CO USA
Quote:
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 .....


Top
 Profile  
 
 Post subject: Re: New Board and/or new PIC32 device
PostPosted: Wed Jun 22, 2011 1:48 pm 
Offline

Joined: Thu Jun 02, 2011 7:26 pm
Posts: 17
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.


Top
 Profile  
 
 Post subject: Re: New Board and/or new PIC32 device
PostPosted: Wed Jun 22, 2011 3:02 pm 
Offline
User avatar

Joined: Mon Jun 06, 2011 1:16 am
Posts: 79
Location: Boulder, CO USA
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 .....


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Theme designed by stylerbb.net © 2008
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All times are UTC [ DST ]