chipKIT® Development Platform

Inspired by Arduino™

porting to 32MX250F128B

Created Tue, 10 Jul 2012 02:20:35 +0000 by BloodyCactus


BloodyCactus

Tue, 10 Jul 2012 02:20:35 +0000

Is there anything to porting to new pic32 besides creating a new directory under variants and editing the board_defs.[ch] ?

I'm using the uno as a base.

my problem is things like wiring_analog.c use pins AD1PCFG, which the 250 does not have.. (I dont really know enough about what I am doing! lol).

I was hoping porting this would be a tad easier :/


EmbeddedMan

Tue, 10 Jul 2012 04:06:31 +0000

Yes, there are a few more pieces than that but not too many. We are currently working on adding support for MX1 and MX2 devices to the general MPIDE install so that these parts may be easily used as targets. A date for full support is not know at this time, but it is being actively worked on.

We have a new board, the Fubarino Mini, which is based on the MX250, which will be for sale in the near future. The support for these parts is being developed, in part, to support this new board.

*Brian


BloodyCactus

Tue, 10 Jul 2012 12:27:05 +0000

well, if support for MX250 is being worked on, I will not keep going with my changes, I'm sure you guys know it better than I! I cant wait to see them hit the master branch.

Will you be making changes to the pic32-arduino-bootloader to support the MX150/MX250?

does mx250 support imply mx1xx an mx2xx families?

are we talking about the SPDIP chip here or the qfn/ssop chips which have greater pin counts?

I was trying to add support for the microchip Microstick II board and its 28pin spdip chips.


EmbeddedMan

Tue, 10 Jul 2012 15:08:44 +0000

Yes, the bootloader is also being modified to work properly on these chips - both in a serial and USB way.

We're using the VLAP package on the Fubarino Mini board, but I don't think that it will be hard at all to make sure the DIP version works as well.

My impression, so far, is that all MX1-MX2 parts will work, but at the moment I'm only working on the MX250.

*Brian


GeneApperson

Thu, 19 Jul 2012 18:30:36 +0000

I'm currently working on adding support for the MX1/MX2 devices into the core files and standard libraries. When I am finished, it will support all devices listed in the current MX1/MX2 data sheeet. It will require creating a new board variant, and there will be some additions/enhancements to the board variant mechanism to support it.

There are a couple of spec. issues I'm still working on. The main one is how to modify/enhance the periperal interface functions (e.g. attachInterrupt, Serial.begin) to allow support for the peripheral pin select feature in the MX1/MX2 devices.

I don't have a firm schedule, but I expect that the work will be completed and into a test release in the next two to three weeks.

Gene Apperson Digilent


avenue33

Thu, 19 Jul 2012 19:43:13 +0000

Very nice!

I tried to sample a PIC32MX250F128B but my order was denied because I don't live in the USA :(


chow@vajri.com

Fri, 20 Jul 2012 15:40:35 +0000

Want !

Yes, there are a few more pieces than that but not too many. We are currently working on adding support for MX1 and MX2 devices to the general MPIDE install so that these parts may be easily used as targets. A date for full support is not know at this time, but it is being actively worked on. We have a new board, the Fubarino Mini, which is based on the MX250, which will be for sale in the near future. The support for these parts is being developed, in part, to support this new board. *Brian


EmbeddedMan

Sun, 22 Jul 2012 13:45:58 +0000

Also in the works, although not quite as far along, is a short instructions and list of materials on using a DIP version of the MX250 to create your own MPIDE compatible board in a breadboard. That will be cool because you can get CPU samples from Microchip!

*Brian


avenue33

Sun, 22 Jul 2012 13:52:25 +0000

Also in the works, although not quite as far along, is a short instructions and list of materials on using a DIP version of the MX250 to create your own MPIDE compatible board in a breadboard. That will be cool because you can get CPU samples from Microchip! *Brian

Unfortunately, not outside the USA :(


majenko

Sun, 22 Jul 2012 15:30:36 +0000

I'm in the UK and get samples just fine.


allman8144

Wed, 22 Aug 2012 22:13:16 +0000

Don't feel bad, I live in the USA and they refused to sample me because I don't have a business or school email address.

Randy


BoH_Havoc

Thu, 04 Oct 2012 20:18:54 +0000

Also in the works, although not quite as far along, is a short instructions and list of materials on using a DIP version of the MX250 to create your own MPIDE compatible board in a breadboard. That will be cool because you can get CPU samples from Microchip!

Any new info on this? :)

I'm working on a Wavetable Synthesizer with optional Frequency Modulation and while it's working nice so far, i'm now at a point where i'd like to outsource the actual sound generation to additional pic32s. I am using a max32 and it's driving 128 oscillators (max 64 in FM mode) along with 2 envelopes for each oscillator, SD Card for program save/load, Touchpanel + Display as well as some encoders, a MCP4922 DAC and Midi Input. Now i'd like to add some filters to each oscillator and things are starting to get really slow ;)

What i would like to do is create some sort of pic32 soundchip which i can then manipulate by SPI/I²C.

I'm writing all this just so you know that i'm REALLY looking forward to burning a bootloader on a DIP pic32 myself (i like the 32MX150F128B ) and getting it to run on a breadboard.

So yes, long story short, any info would be nice, even if it's just "It's definately not coming in the next 2 months, so don't ask anymore" :)


EmbeddedMan

Thu, 04 Oct 2012 21:04:21 +0000

Well, the MX1/MX2 support is now being merged into test builds of MPIDE. There is a lot of testing and changes that need to happen, but the Fubarino Mini board is up and running (MX250 based), so it does work.

Will you be using a USB or serial bootloader? Either way, we could probably set you up with a bootloader, and then you could pull down the latest development MPIDE development code from Github and build your own MPIDE version locally. That's the fastest way to get going at this point. But it's more work than waiting until we get all of the wrinkles worked out.

As far as DIP based kit - I have talked to a couple people about this, but no traction yet. Yes, it's a good idea. No, it hasn't actually happened yet.

Hope that helps-

*Brian


BoH_Havoc

Mon, 08 Oct 2012 15:45:30 +0000

Thanks for your reply! If you have a working bootloader at hand which you could send over, that would be nice. I'm using a USB to TTL converter to upload the code (at least that's what i was using for breadboard arduinos). So i guess i would need a serial bootloader then? If you have to make changes to the current bootloader and fix things just so i can use it, please don't bother. I don't want to slow overal development down :)

I had a look at mpide on github and it looks like support for other pic32s might be ready in a few months (at least that's what i get from the commit messages). Waiting a few more months is ok with me. I just wanted to know if we are talking about months or years in my initial post. I should have been more clear back then, sorry.

Keep up the nice work! Looking forward to MX1 support :)


majenko

Mon, 08 Oct 2012 17:04:26 +0000

Now i'd like to add some filters to each oscillator and things are starting to get really slow

You'd be better off using dsPIC chips for this, not PIC32. The DSP module is considerably more efficient than doing it in software.

Of course, what would be nice would be a PIC32 with DSP module in it - that would ROCK!


Gavinmc

Thu, 15 Nov 2012 02:33:30 +0000

Have a look in the MPIDE 20121013 Test Build post for PIC32MX250F128B bootlooader help

http://chipkit.org/forum/viewtopic.php?f=20&t=1607