EmbeddedRelated.com
Forums
Memfault Beyond the Launch

Programming dsPIC33FJ32GP302

Started by embcontrol September 10, 2010
On 09/12/2010 10:06 PM, larwe wrote:
> On Sep 12, 2:40 pm, "embcontrol" <navasimoN@n_o_s_p_a_m.gmail.com> > wrote: > >> Hi! thanks for your reply! It's not for commercial applications. I am aware >> that I can use the evaluation version, but I as we know, it's limited. Do >> you know of any other C compilers that would allow me to write the C code, >> and somehow that it can generate the assembly code so that I can then copy > > That is basically what a C compiler does. So what you are looking for > is... tada... a C compiler. > > Just download the lite version and see if it works. I see no evidence > that the limitations actually are known to be a problem for you.
I have been cursing this also. I haven't found much competition with Microchip. I study PIC32s and only two compilers I have found are from Microchip, namely HI-Tech and PIC32-gcc. Both very expensive from student point of view. Does MicroChip have student pricing option? There is a good GPL tools for Atmel stuff. Why there aren't such for PICs? Have anyone hacked the Microchip compilers....:-))) Best Regards Kari -- PIC - ARM - Microcontrollers - I2C - SPI Keypads - USB-RS232 - USB-I2C - Accessories http://www.byvac.com I am just a happy customer
On Sep 14, 10:32=A0pm, Kari Laine <klai...@gmail.com> wrote:

> I have been cursing this also. I haven't found much competition with > Microchip. I study PIC32s and only two compilers I have found are from > Microchip, namely HI-Tech and PIC32-gcc. Both very expensive from > student point of view. Does MicroChip have student pricing option? > > There is a good GPL tools for Atmel stuff. Why there aren't such for PICs=
? There are options, just not good options. Low end PICs aren't meant to run C, and getting semi-usable code into them is specialized. dsPIC is a limited market product (ish, this is an oversimplification). As for PIC32, it is really nothing to do with PIC, just MIPS... gcc supports the core just fine. And in fact Microchip's compiler is gcc, and you can obtain the sources and re-enable the optimizations if you wish. Microchip does have student pricing - register at microchip.com with a .edu email address and you get 25% off dev tools (software and hardware), plus free (no shipping even) samples - two orders per month. Most students, even EEs, are quite happy with the lite compiler.
On 15/09/2010 04:44, larwe wrote:
> On Sep 14, 10:32 pm, Kari Laine<klai...@gmail.com> wrote: > >> I have been cursing this also. I haven't found much competition with >> Microchip. I study PIC32s and only two compilers I have found are from >> Microchip, namely HI-Tech and PIC32-gcc. Both very expensive from >> student point of view. Does MicroChip have student pricing option? >> >> There is a good GPL tools for Atmel stuff. Why there aren't such for PICs? > > There are options, just not good options. Low end PICs aren't meant to > run C, and getting semi-usable code into them is specialized. dsPIC is > a limited market product (ish, this is an oversimplification). > > As for PIC32, it is really nothing to do with PIC, just MIPS... gcc > supports the core just fine. And in fact Microchip's compiler is gcc, > and you can obtain the sources and re-enable the optimizations if you > wish. >
That's sort of correct. Microchip's PIC32 /compiler/ is gcc, since the core is MIPs. And gcc is under the GPL, and available from Microchip in source form, and can be re-compiled with optimisations enabled and licensing limitations disabled. It is also possible to use other MIPs compilers (such as gcc from other sources) with the devices. But Microchip's /libraries/ for the PIC32 are not open in any sense of the word. They are specifically licensed for use with the PIC32-gcc binaries from Microchip, and may not be used with a re-compiled version with licensing restrictions disabled. This is designed as a way to force people to Microchip them for the gcc compiler tools that Microchip obtained freely and openly. Apparently this legal, but IMHO it is unethical and against the spirit of the gcc licensing. I have no problem with tool vendors charging for their software, or for support or other services. I would have no problem with Microchip charging for their libraries. But I /do/ have a problem with companies taking other companies' and people's software and passing it off as their own software and charging people as though that were the case.
> Microchip does have student pricing - register at microchip.com with > a .edu email address and you get 25% off dev tools (software and > hardware), plus free (no shipping even) samples - two orders per > month. > > Most students, even EEs, are quite happy with the lite compiler.

Memfault Beyond the Launch