Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > sci.electronics.design > #382581
| From | Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> |
|---|---|
| Newsgroups | sci.electronics.design |
| Subject | Re: Microchip "Curiosity" 8 bit demo/development board - $20 |
| Date | 2015-10-24 19:11 +0000 |
| Organization | Datemas.de http://www.news.datemas.de |
| Message-ID | <n0gl4a$1r8$1@news.datemas.de> (permalink) |
| References | <n0eh5s$295$1@dont-email.me> <dKBWx.64532$Iq2.63862@fx08.iad> <n0eu28$ur8$1@dont-email.me> <n0fclv$9fd$2@news.datemas.de> <y0QWx.104217$rR6.102147@fx23.iad> |
On a sunny day (Sat, 24 Oct 2015 14:23:27 -0400) it happened bitrex <bitrex@de.lete.earthlink.net> wrote in <y0QWx.104217$rR6.102147@fx23.iad>: >On 10/24/2015 3:40 AM, Jan Panteltje wrote: >> 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. >> > >Yes, we get it, you're the PIC ASM MASTER, blah blah. thank you thank you >The AVR ISA is specifically optimized for C code, it says so right in >their datasheets. On most tasks the avr-gcc compiler is so good that I >can almost never beat it handwriting asm. Yes I think Microchip tried to add instruction and make architectural changes to accommodate C. But note that I was talking about their small micros with 256 bytes RAM. >I use C/C++ on 8 bit micros all the time and it works fine - you'd be >amazed how much code you can fit in 32/64k. I have used C on micros like that, not AVR so dunno about that. >I agree that C++ isn't a >particularly pleasant language, Na it is a disability, like dyslexia. >but structuring some of the larger >projects in straight ASM without layers of >abstraction/threading/scheduling would be a complete nightmare. I get to see and work through C++ code from others on a regular basis. I do _not_ get the impression that the ones using it had those divine goals in mind you mention, in fact I think they tried to sabotage it,. After reading the code from so many different programmers I can hack it usually though. The layers of abstraction you mention in asm and C are the same, once is called subroutine, the other function. How you pass arguments depends, but is easily specified in both languages. The shit hits the fan (so to speak) in that plus plus language with operator overloading, usually enhanced in small by a zillion defines that are not needed (in C also). A while back we were looking here at that driver C code for that pressure sensor, should be still on google, few month back. Makes you wonder if sanity is rare. Maybe I come in a bit harsh, but really, once I learned welding, the teacher would throw the still half molten red hot object at you if you did not do it right.. Got peoples attention. The argument that C++ allows larger projects (than C) because of structure or whatever is disproved by the Linux kernel project, one of the greatest things of all times as people working together in software is concerned. Linus specifically decided 'no C++' in the kernel, probably why it is still alive. Charging ever more for IT that does not work is however the business model of these days. As to Linux I had a little discussion in an other group that claimed it was insignificant in the world (as compared to that Apple thing), I just counted where in my _living room_ was Linux, and actually forgot some. 1 Samsung TV 1 Humax cable modem 1 LG autonomous vacuum cleaner 2 Linksys wireless access points 1 clock 2 laptops 2 PCs 2 raspberries. Bit of topic actually.. The number of micros is stunning, from mouse to keyboard to camera to monitors to radios, many no doubt programmed in asm, some by me. AVR? is that also in Arduino? I had some email exchange about that a while back with somebody who had a serial com issue, recommended a raspberry, but he managed to fix it, something with timing I think. made me severely doubt AVR hardware...
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