Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > sci.electronics.design > #382552
| From | Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> |
|---|---|
| Newsgroups | sci.electronics.design |
| Subject | Re: Re:Microchip "Curiosity" 8 bit demo/development board - $20 |
| Date | 2015-10-24 07:40 +0000 |
| Organization | Datemas.de http://www.news.datemas.de |
| Message-ID | <n0fclv$9fd$2@news.datemas.de> (permalink) |
| References | <n0eh5s$295$1@dont-email.me> <dKBWx.64532$Iq2.63862@fx08.iad> <n0eu28$ur8$1@dont-email.me> |
On a sunny day (Fri, 23 Oct 2015 23:33:24 -0400) it happened "P E Schoen" <paul@pstech-inc.com> wrote in <n0eu28$ur8$1@dont-email.me>: >"bitrex" wrote in message news:dKBWx.64532$Iq2.63862@fx08.iad... > >> When there's an optimizing C/C++ compiler available for Microchip devices >> for less than a grand then maybe I'll care. > >Here's one for $249, but I don't know how it compares to XC8 or C18 (which >is what I bought for about $500 about 10 years ago at the MASTERS >conference, and upgraded free). >http://www.mikroe.com/mikroc/pic/ > >CCS compilers are $350-$600: >http://www.ccsinfo.com/ccs-product-catalog.php > >The Microchip XC8 compiler with network server license is $595, and supports >PIC10/12/16/18 devices. This link shows a wide variety of compilers >available through the MicrochipDirect site: >http://www.microchipdirect.com/ProductDetails.aspx?Catalog=BuyMicrochip&Category=Cat10_SubCat5&mid=1&treeid=6 > >The 8 bit PCM command line compiler is just $150 and can be integrated into >the MPLABX IDE. > >There is a free version of the XC32++ compiler: >http://www.microchip.com/xcdemo/xcpluspromo.aspx > >Here is a free open source compiler project with limited support for PIC16 >and PIC18: >http://sourceforge.net/projects/sdcc/?source=directory > >Reviews: >http://www.microchipc.com/reviews/PIC18_compiler_comparison/ Freaking !!! For these simple processor just write in asm. if you ever wrote asm for ANY processor then PIC asm should be as simple or simpler than that. C on these tiny micros is a waste of time and resources. Do not get talked into it by those who say 'floats' (what would be the ONLY reason), there are free 32 bit signed math libs that can do 90% of what you think you need floats for, if you know how to multiply. It is all marketing C selling zombie companies making zombies. Do not use MPLAB and other simulators. Just use a scope and asm, one pin I/O is enough, debug via serial port, beats any other method in development time. Debugger? Never use one. I tell you learning C specific to these small 16F and 18F micros takes more time than learning the asm, and you never know if it creates the right code, etc. I wrote these things in an afternoon or maybe at the most 2 or 3 evenings: http://panteltje.com/panteltje/pic/index.html Just did an other one, very interesting one indeed from a hardware POV, zero uA off current, one button multi function. maybe .. if ... http://panteltje.com/pub/SWR_bridge_IMG_5051.JPG http://panteltje.com/pub/SWR_bridge_circuit_diagram_IMG_5053.JPG So there you are, making the web page for it is more work, that is why it is not there yet :-) Along with many other projects. And, before you accuse me of being anti C, no I am anti C++ (C++ is a crime against humanity), I write tons of code in C, on a real processor, say Raspberry Pi if you want it small: http://panteltje.com/panteltje/xgpspc/index.html latest (site needs updating). If your power budget allows: Raspi has a free gcc excellent C compiler, and all the I/O you can ever want, and comes at 35 $ or so, debugger too I think. So if you need to write complicatiatiateded software and must use C or more memory than a PIC.. go with a Raspi, also because of availability, and price. As to reliability I have one running all day with a huge display as wall-clock, still working fine after a year. Since I also made my own PIC programmer, and wrote the programming soft (in C), I think I know what I am talking about. http://panteltje.com/panteltje/raspberry_pi_noppp/ Cost so Far? Zero, except for the PICs, the Raspberry is used for multiple purposes, jppp18 also runs on an old PC with parport. http://panteltje.com/panteltje/pic/jppp18/index.html So, if you made it that far, maybe try flashing a LED on a PIC in asm... :-) Is that not how in the old days people learned programming? Or are they now only rubbing screens on an droid ? Especially for a hardware designer asm is a must. Talk to and know your chips.
Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Microchip "Curiosity" 8 bit demo/development board - $20 "P E Schoen" <paul@pstech-inc.com> - 2015-10-23 19:53 -0400
Re:Microchip "Curiosity" 8 bit demo/development board - $20 bitrex <bitrex@de.lete.earthlink.net> - 2015-10-23 21:13 -0400
Re: Re:Microchip "Curiosity" 8 bit demo/development board - $20 "P E Schoen" <paul@pstech-inc.com> - 2015-10-23 23:33 -0400
Re: Re:Microchip "Curiosity" 8 bit demo/development board - $20 Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2015-10-24 07:40 +0000
Re: Microchip "Curiosity" 8 bit demo/development board - $20 "P E Schoen" <paul@pstech-inc.com> - 2015-10-24 04:28 -0400
Re: Microchip "Curiosity" 8 bit demo/development board - $20 Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2015-10-24 18:08 +0000
Re: Microchip "Curiosity" 8 bit demo/development board - $20 bitrex <bitrex@de.lete.earthlink.net> - 2015-10-24 14:23 -0400
Re: Microchip "Curiosity" 8 bit demo/development board - $20 Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2015-10-24 19:11 +0000
Re: Microchip "Curiosity" 8 bit demo/development board - $20 bitrex <bitrex@de.lete.earthlink.net> - 2015-10-24 19:50 -0400
Re: Microchip "Curiosity" 8 bit demo/development board - $20 Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2015-10-25 09:19 +0000
Re: Microchip "Curiosity" 8 bit demo/development board - $20 Jasen Betts <jasen@xnet.co.nz> - 2015-10-24 06:58 +0000
Re: Microchip "Curiosity" 8 bit demo/development board - $20 Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2015-10-24 08:18 +0000
csiph-web