EEVblog® Electronics Community Forum
Electronics => Microcontrollers => Topic started by: mukymuk on June 05, 2012, 03:15:25 pm
-
Just FYI, you can get a Microstick II for $3.49 if you use "MCHPPIC32" discount code on checkout.
http://www.microchipdirect.com/ProductSearch.aspx?Keywords=DM330013-2 (http://www.microchipdirect.com/ProductSearch.aspx?Keywords=DM330013-2)
-
Do they make you pay for the compiler?
-
I don't remember exactly what their compiler license is. I think they offer a 60-day trial on the full version and I think there is a "lite" version that you can use indefinitely. There are open source alternatives for some of their chips (maybe all).
-
$17 for postage kills the deal a bit :P Still pretty good value if you want/need a dev kit for PIC24J stuff.
-
Just FYI, you can get a Microstick II for $3.49 if you use "MCHPPIC32" discount code on checkout.
Ordered one. Final price including shipping and VAT: 12.03 Euros. Thanks mukymuk.
-
I want to order from them but their website is pretty much like the company itself "We at microchip ensure you that your experience will be as flawed as possible"
I waited 10mins and it gave me a Error 324 and now it's 503
-
Thanks mukymuk. :) I am in the UK and got it for £8.21 inc shipping and vat.
-
I am a noob but what advantage does using a pic micro controller offer over your stock standard atmega on an arduino?
Thank-you for the heads up on this special code!
-
No advantage necessarily. It's just another micro from another company. Small differences here and there might make one micro more appropriate for a given application. For the odd personal hack project, it probably doesn't matter 99% of the time. For aspiring embedded folks, knowing PIC is probably a good idea as it is widely used in industry.
-
I am a noob but what advantage does using a pic micro controller offer over your stock standard atmega on an arduino?
Microchip have probably (I never counted) a thousand different processors called PIC from 8 to 32 bits so questions or statements which just say PIC are meaningless. Microchip shipped its 10 billionth PIC in 2011 which I think is a pretty good indication they have parts and support which is worth considering.
-
Atmel is not as stable as Microchip that's all.
Just that AVR's are better then PIC but they aren't so stable so to promise long term availability will be a bit of a task if you decide to use them in the later stages of being a engineer, you will never know when Atmel is gonna discontinue a product
-
This is actually a killer deal it includes 4 powerful CPU's a programmer/debugger and USB comm's.
Is it limited to 1 per order?
At that price I think I will get one for each team member :)
Cheers
Chris
-
You can only use the code once per order and they only had 5 left in stock, so I have ordered myself one. It comes out at:
Device Total: 3.49
Shipping: 10.09
Total (USD): 13.58
Shipping is to the door by Currier so not a bad shipping price.
that includes the board and:
1 - PIC24FJ64GB002
1 - PIC24HJ64GP502
1 - dsPIC33FJ64MC802
1 - PIC32MX250F128
Cheers
Chris
-
Thanks for the heads up mukymuk!
Just ordered one. $10.58 USD including shipping. The invoice say's it will ship tomorrow.
John
-
Awesome, thank you. I just ordered one.
You can order more than one, but for 2x the price each jumps up to $15 or so. So I just bought one.
-
You're welcome guys. Happy to contribute.
I got my kit in today...looks like prime breadboarding fun. 8)
-
Awesome, thank you. I just ordered one.
You can order more than one, but for 2x the price each jumps up to $15 or so. So I just bought one.
The code is valid for a discount of $31.46 regardless of the number you order. So if you buy two, you get ~$15.73 off each one.
Does anyone know when the code expires? I might browse for some other microchip stuff while I'm paying for shipping, but I don't really have time to spare at the moment.
-
I am a noob but what advantage does using a pic micro controller offer over your stock standard atmega on an arduino?
No advantage necessarily. It's just another micro from another company. Small differences here and there might make one micro more appropriate for a given application. For the odd personal hack project, it probably doesn't matter 99% of the time. For aspiring embedded folks, knowing PIC is probably a good idea as it is widely used in industry.
Actually, there is a big advantage: diversity. PICs are available from super cheap tiny SMDs to powerful 32-bit processors. Can you name an Arduino that has a DSP core and high resolution PWM outputs?
On the other hand, PICs are harder to program than Arduinos when it comes to using peripherals. Every family of PIC is a little different and there are even differences within families. Expect to spend some time reading datasheets and reference manuals to understand how to use them.
-
Actually, there is a big advantage: diversity. PICs are available from super cheap tiny SMDs to powerful 32-bit processors. Can you name an Arduino that has a DSP core and high resolution PWM outputs?
To be fair, the tiny SOT-23 PIC does not have that much in common with a big PIC32 apart from the name. I doubt they even share any of the peripherals.
-
I don't remember exactly what their compiler license is. I think they offer a 60-day trial on the full version and I think there is a "lite" version that you can use indefinitely. There are open source alternatives for some of their chips (maybe all).
I thought that technically, the full version can be had legally for free, as it is open source? Microchip do charge for it of course, but IIRC there is way to legally hack to get it for free?
Dave.
-
I don't think the LITE versions even have code size limits any more. From what I remember reading through the site a while back, its only the code size optimizations that are better in the paid version. For a hobbyist, if your code doesn't fit, just buy a slightly more expensive model with more program memory. If you're making enough devices that the cost becomes an issue you can afford to buy the full version :P
http://www.microchip.com/pagehandler/en_us/promo/mplabxc/ (http://www.microchip.com/pagehandler/en_us/promo/mplabxc/)
Looks like they're moving to some new "XC" compiler series. The XC8 for 8bit PICs looks to just be the Hi-Tech compiler. XC16 and XC32 are continuations of microchips original compilers. Click the downloads link on the left if you want the files (it's not actually very obvious... Microchip's website has always sucked the big one)
Better link: http://www.microchip.com/pagehandler/en-us/family/mplabx/#downloads (http://www.microchip.com/pagehandler/en-us/family/mplabx/#downloads)
-
I thought that technically, the full version can be had legally for free, as it is open source? Microchip do charge for it of course, but IIRC there is way to legally hack to get it for free?
Dave.
The compiler for 16 and 32 bit PIC is GCC derived and open source, but the libraries supplied by Microchip are not open source. So if you want to build and use the open source compiler then you have to use an alternative C standard library like newlib (http://sourceware.org/newlib/).
Two open source builds of the PIC32 compiler are the Pinguino build and the ChipKit build. They both use newlib 1.19.0
"32-bit Pinguino programs are compiled with a C/C++ Compiler which is a GNU-Mips toolchain based on GCC 4.5.2, binutils 2.21 and Newlib 1.19." (ref) (http://wiki.pinguino.cc/index.php/Compatibility)
"The chipKIT compiler, assembler and linker are based on GCC v4.5.1 and are also covered by the GPL. The C runtime library is based on Newlib v1.19.0, and is covered by a variety of open source licenses. " (ref) (http://chipkit.org/wiki/index.php?title=Frequently_Asked_Questions)
-
Picked mine up today (arrived yesterday). However, there is no PIC24F on the box. Anyway, I raised the issue with MicrochipDirect. Very strange, it is not like there where that many items to put on the box and they missed that. :-\
-
Picked mine up today (arrived yesterday). However, there is no PIC24F on the box. Anyway, I raised the issue with MicrochipDirect. Very strange, it is not like there where that many items to put on the box and they missed that. :-\
It's in the other anti static pouch, you only got 1 or 2 pouches? Mine came with PIC24H and a dsPIC33F
-
2 pouches, One with PIC24H and dsPIC33F and the headers and one with the board only.
It's in the other anti static pouch, you only got 1 or 2 pouches? Mine came with PIC24H and a dsPIC33F
-
2 pouches, One with PIC24H and dsPIC33F and the headers and one with the board only.
Ah, good, I was looking for this thread to ask that -- mine arrived with the same (plus the new PIC32 device preinstalled on the board). Although for the price I don't think I'd be in too much of a hurry to complain...
-
Hmmm, the one I got also originated from UK. Very suspicious. Well, it is true that for the price, I can not really complain but, it is the principle of the thing. Let's see what microchipdirect has to say. Ohh yes, I forgot to mention that the PIC32 was installed on the board and the blinking led demo already loaded.
Ah, good, I was looking for this thread to ask that -- mine arrived with the same (plus the new PIC32 device preinstalled on the board). Although for the price I don't think I'd be in too much of a hurry to complain...
-
My kit arrived today but I can't say the customer service experience has been great.
Sent me a fedex tracking number but listed it as a DHL track number. Sent several emails to Microchip over the past week believing I had been given wrong info, received no reply.
To cap it off, the kit is missing a PIC24FJ64GB002
Going to send another email, perhaps I will get lucky and merit a response this time.
But then again, considering how much it cost, $17, compared to $47 at element 14 Australia, I suppose I can't complain.
-
Okay time to raise a complain
-
After fiddling a bit with MPLAB X, I can say that I am not that impressed. First of all, even though you can read and write to the Microstic II and the IDE seems to recognize the device it lists all Microchip Starter Kits (including the suggested "Starter Kits (PKOB)") as "Not Supported". The "Make and program device" button stays inactive some times unless you click on an another tab and the look and feel in general is not that good. Anyway, at least it works.
Also SDCC does not support PIC32 so, you have to install the xc32 toolchain.
-
I got mine yesterday, also with the PIC32MX installed and a separate pouch with a PIC24 and a PIC33.
All 3 chips are 128K, so Higher spec than the packing list, considering they have sent me freebies in the past I am not going to complain about it.
My Raspberry Pi arrived at the same time, so I have been focused on that, but will start work on the PIC's today.
I have a PIC24 library I want to try and port to the 32.
Cheers
Chris
-
I think they placed the 128K parts and took away the 24F
No matter, 24H is a better part
-
True, all are 128K parts, so we are better of. Well, a note on their website and on the box that device samples may vary would be nice, especially for those that ordered without a discount code.
I think they placed the 128K parts and took away the 24F
No matter, 24H is a better part
Lucky you, I still waiting for mine :( I ordered April 1st.
My Raspberry Pi arrived at the same time, so I have been focused on that, but will start work on the PIC's today.
-
I checked the prices savings they have ... NONE they gave more value giving us 2x128K chips instead of 3x64K chips
-
Interesting, so far I've mostly used AVRs.
Are there other coupons active at this time? Or other must have products?
-
Finally found time to post pictures
(http://i492.photobucket.com/albums/rr283/DarkShadower/IMAG0024.jpg)
( The one on the right, the USB Starter kit was from a roadtest )
(http://i492.photobucket.com/albums/rr283/DarkShadower/IMAG0023.jpg)
that's a shitload of patents
(http://i492.photobucket.com/albums/rr283/DarkShadower/IMAG0025.jpg)
Their cables is always long as ... and all the necessary microchip documentation crap ...
(http://i492.photobucket.com/albums/rr283/DarkShadower/IMAG0028.jpg)
Top side
(http://i492.photobucket.com/albums/rr283/DarkShadower/IMAG0029.jpg)
Bottom side
-
I got mine a few days ago too. Looks nice and seems to work okay.
Although the download and debugging interface I found was annoyingly slow and painful using MPLAB X. At least compared with my experience with debugging on AVR and ARM.
-
I got mine a few days ago too. Looks nice and seems to work okay.
Although the download and debugging interface I found was annoyingly slow and painful using MPLAB X. At least compared with my experience with debugging on AVR and ARM.
Go back to MPLAB 8, it works a shitload better for me
They seemed to have made the all-godly Eclipse so slow
-
MPLAB X is based on NetBeans, not Eclipse.
-
MPLAB X is based on NetBeans, not Eclipse.
Netbeans IS also based on eclipse
-
MPLAB X is based on NetBeans, not Eclipse.
Netbeans IS also based on eclipse
umm no. eclipse came about in around 2000, and open source in about 2001. netbeans came about in 1996/97...
-
MPLAB X is based on NetBeans, not Eclipse.
Netbeans IS also based on eclipse
umm no. eclipse came about in around 2000, and open source in about 2001. netbeans came about in 1996/97...
:o Oops, does netbeans now look like what it is now before 1996 ? ... which would mean that Eclipse came then netbeans switched over ...
Anyway, MPLAB X might be eclipse not netbeans, I don't know, i don't care because it's too slow
-
Microchip's Embedded Software Development on the NetBeans Platform (http://netbeans.dzone.com/nb-microchip)
-
Also http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=2022&mcparam=en553772 (http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=2022&mcparam=en553772)
Elsewhere someone said that MPLABX is an application built on top of Netbeans, rather than a netbeans "plugin", so perhaps any resemblance to Eclipse is intentional. (Those IDEs all look alike, anyway.)
-
Just been playing around with this again, tried using MPLAB 8.x and it seems to be a lot more response, especially debugging.
Downloading 1.5KB program to the PIC32MX takes about 6-8 seconds though, is this normal?
I take it people using PicKit on standalone boards, 1.5 KB should download a *lot* quicker right? Or is this typical download speed for PICs.
(this is the first time I have ever used a PIC in case you haven't noticed)
-
Just been playing around with this again, tried using MPLAB 8.x and it seems to be a lot more response, especially debugging.
Downloading 1.5KB program to the PIC32MX takes about 6-8 seconds though, is this normal?
I take it people using PicKit on standalone boards, 1.5 KB should download a *lot* quicker right? Or is this typical download speed for PICs.
(this is the first time I have ever used a PIC in case you haven't noticed)
I don't know about the PIC32MX but it was pretty slow for me on the PIC24 USB Starter Kit
-
Downloading 1.5KB program to the PIC32MX takes about 6-8 seconds though, is this normal?
If you want to send me your code I can do a comparative test for you with PICKit3, ICD3 and MicrostickII, it could be a useful comparison.
I also have the PICKit2 but it can't handle the PIC32MX2xx at this point so I cant include it.
Cheers
Chris
-
I finally managed to decode what is under the sticker (The printing has been eaten away by the sticker so i can hardly see what the debugging chip is
(http://i01.i.aliimg.com/wsphoto/v0/544380457/PIC24FJ256GB106-I-PT-Whole-Sale-New-and-Original-MCU-16BIT-256K-FLASH-16MIPS-64TQFP.jpg)
-
I didn't realise you were after that info Dave, I could have saved you some effort.
It is the identical debug circuit as the original Microstick and the the StarterKit boards.
I have attached a pdf with the full schematic for the debugger in case anyone else is after the info.
Cheers
Chris
-
I didn't realise you were after that info Dave, I could have saved you some effort.
It is the identical debug circuit as the original Microstick and the the StarterKit boards.
I have attached a pdf with the full schematic for the debugger in case anyone else is after the info.
Cheers
Chris
Just a little bit of time wasted ;)
Man it is tough hunting for the chip, after all i am always interested in which any product has this/that chip
-
hmm mine arrived tonight. very nice, small! says its rev4.
1x 24h, 1x 24f, 1x ds33f, 1x pic32, 1x usb cable. seems they put the 24f back in as I see some of you did not get one.
(the 24f is a 64, the other three are 128's).
wierd, inspected on the 20th, overnighted to my house to arrive on the 22nd! wow.
-
gah :( mplabx does not support Microstick II and its PIC32MX250F128B. doh. all it sees is a 'starter kit (pkob)' with red button.
unsupported.
grrrr
-
Have you installed the PIC32 compiler?
You need to install the IDE and the install the separate compilers, there is one for PIC32, one for 8 bits PICs, and then there is a unified version for the PIC24 and dsPIC, and separate compiler for dsPIC and another for PIC24, but those two are the same, just with less header defines.
-
Oddly while i'm on MPLAB 8.x i have no problems compiling without the XC32 compiler ... only with the pic24 and dsPIC33 compiler
-
yeah I have all the compilers from c32 v2.02 and all the xc8/16/32 compilers. mplabx just does not yet support microstick2.
-
yeah I have all the compilers from c32 v2.02 and all the xc8/16/32 compilers. mplabx just does not yet support microstick2.
:o Bloody microchip, and to think mplab X is newer then mplab 8.x
-
mplabx just does not yet support microstick2.
Yes it does, or at least it was doing a very good impression of supporting it when I just tested it... MPLAB X v1.10, downloaded and installed in mid-March this year; everything worked exactly as described in the instructions that came with the Microstick II (effectively, 'select Starter Kits under Hardware Tools'). Was able to make an obviously-observable change to the obligatory blinking-LED demo code to verify that it was reprogramming the chip, and then use the debugger to set breakpoints, etc.
-
I have mplabx 1.20, i get some status of the chip,
(http://i.imgur.com/LWQiV.png)
but looking at the project properties, all the little red lights are unsupported programmers. according to mplabx1.2 I'm unsupported, best thing to do is get icd3/pickit3/real ice. Is your startet kit listed with a green light or red light?
(http://i.imgur.com/tikG4.png)
-
but looking at the project properties, all the little red lights are unsupported programmers. according to mplabx1.2 I'm unsupported, best thing to do is get icd3/pickit3/real ice. Is your startet kit listed with a green light or red light?
Uhm, I think it's red, but I have very poor colour vision so don't hold me to it:
(https://www.eevblog.com/forum/microcontrollers/cheap-microchip-dev-kit/?action=dlattach;attach=26097;image)
It definitely works though! Do you get an error when you try and program a device? I notice your 'device:' setting is 'PIC32MX250F128', whereas my board came with a PIC32MX250F128B installed -- not sure if the B is just hidden by the width of the control or if you might need to change that to match...
-
been looking over the microstickii some more.. its supposed to be breadboard friendly, comes with the headers to drop it on, sweet... except the power pins 13 + 28 (vdd/avdd) are not hooked up :( so you cant power it. I see a GND + VDD hole in the center of the board but the info sheet does not say if they are hooked up at all. I guess I'll cut up a usb cable to leave the mini connector and tap power directly via the two power lines in it...
does anyone know what the slideswitch does?
-
does anyone know what the slideswitch does?
I believe it switches between the two sets of programming pins, in case your design needs to use one particular set for other purposes.
-
*oops
And as for powering options ... it was designed to powered via USB
-
Yeah it switches between the DIP and SPDIP ( 0.6" DIP ) sockets
No, it doesn't. It switches between two sets of programming pins available on the supported devices -- PGEC1/PGED1 (pins 4/5) and PGEC3/PGED3 (pins 14/15).
The SPDIP socket is the 0.3" one and seems to be the only one you should plug a device into -- looking at the schematic, the outer rows of pins on the 0.6" spacing do not have the power pins connected, so if you fitted a PDIP device on the bottom I suspect you'd find it wouldn't do anything useful! The marketing blurb indicates they're intended for connecting to breadboards, as BloodyCactus mentioned; makes sense, as otherwise you'd find it rather hard to do any I/O with the thing...
-
Yeah it switches between the DIP and SPDIP ( 0.6" DIP ) sockets
No, it doesn't. It switches between two sets of programming pins available on the supported devices -- PGEC1/PGED1 (pins 4/5) and PGEC3/PGED3 (pins 14/15).
Right ... Thanks
-
Anyone have some DSP code examples for this? Microchip only as a "blinky" example on their Microstick II page. Dopes!
-
Have a look here: http://www.microchip.com/CodeExamplesByFunc.aspx (http://www.microchip.com/CodeExamplesByFunc.aspx)
-
WOW microchip took 1 month to reply >:(
Here's what they sent me just only 1 hour ago
Please accept our aplogies for this delay response.
We requested our shipping team to send the missing XXX for the XXXX. I will advise you once the missing pic has been sent out.
-
Even worst:
Hi George,
We would like to apologize for this delay.
Could you please advise us if you have receieved the missing PIC24F device from the microcstick? If not, please let us know.
Thank you,
-
Even worst:
Hi George,
We would like to apologize for this delay.
Could you please advise us if you have receieved the missing PIC24F device from the microcstick? If not, please let us know.
Thank you,
(http://i0.kym-cdn.com/entries/icons/original/000/000/554/facepalm.jpg)
-
I got mine. The question now is: Will You Marry Me? (see attached photo) ;D
Even worst:
Hi George,
We would like to apologize for this delay.
Could you please advise us if you have receieved the missing PIC24F device from the microcstick? If not, please let us know.
Thank you,
-
The fedex box they sent is simply massive...
The box with those foam things,
and then the "ring" box,
aka the microchip sample box,
Great, you can fit a Bus Pirate in there! ;D
-
They have been taking packing lessons from HP then.
-
They either discontinued that discount code, or it is not valid for Russia. ^(
-
I don't mean to be rude or anything, but mid-eastern europe countries including Russia, Ukraine, Lativia, Estony, Poland, etc are considered as poor countries and semiconductor companies usually refuse to ship samples (well, Microchip actually still does provide samples in Poland as the only company left...) suspecting that we want those for resale on ebay or other auction site. And same thing goes for promotion/discount codes. they usualy don't don't include eastern Europe.
-
I don't mean to be rude or anything, but mid-eastern europe countries including Russia, Ukraine, Lativia, Estony, Poland, etc are considered as poor countries and semiconductor companies usually refuse to ship samples
Never had any problems with samples, except for:
- Atmel actually send samples through their local representatives in Moscow - and sometimes your samples go into the black hole
- TI ships by FedEx, which is not in good relationships with customs office, and you will have a lot of headache with papers
As for Maxim, NXP, Intersil, AD and other big names - no problems at all.