Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #476286

Re: Best bang-for-buck uC

From David Brown <david.brown@hesbynett.no>
Newsgroups sci.electronics.design
Subject Re: Best bang-for-buck uC
Date 2017-09-05 10:16 +0200
Organization A noiseless patient Spider
Message-ID <oolmhj$630$7@dont-email.me> (permalink)
References (4 earlier) <onpenf$72c$1@dont-email.me> <drXnB.7204$t03.5724@fx23.iad> <onpg6j$cob$3@dont-email.me> <oo1a09$aoo$1@dont-email.me> <oodeig$cte$1@dont-email.me>

Show all headers | View raw


On 02/09/17 07:16, rickman wrote:
> David Brown wrote on 8/28/2017 10:44 AM:
>> On 25/08/17 17:41, rickman wrote:
>>> bitrex wrote on 8/25/2017 11:33 AM:
>>>> On 08/25/2017 11:15 AM, rickman wrote:
>>>>> bitrex wrote on 8/25/2017 10:00 AM:
>>>>>> On 08/25/2017 09:20 AM, Klaus Kragelund wrote:
>>>>>>> Well, the Silicon Labs EFM88B goes for 15 cents in high volume
>>>>>>>
>>>>>>> Not easy to make a all parts final judgement like this
>>>>>>>
>>>>>>> Cheers
>>>>>>>
>>>>>>> Klaus
>>>>>>>
>>>>>>
>>>>>> 8051 core? GROSS.
>>>>>
>>>>> Judging engineering by emotions again?  That's ok, we all do it even
>>>>> when
>>>>> we think we are being logical.
>>>>>
>>>>
>>>> Also the fact AFAIK there's not a decent HLL compiler for that core you
>>>> won't pay out the ass for. Hope you like asm...
>>>
>>> I prefer the many excellent free tools for embedded CPUs.  There is no
>>> shortage of Forth compilers for the 8051.
>>>
>>
>> And are these 8051 Forth tools free, full-featured, and do they generate
>> efficient compiled code?  Do they have modern IDE's and debuggers?  Do
>> they support the huge range of 8051 variations with different memory
>> types, double accumulators, extensions, etc.?
>>
>> I don't know the answer here, I am just asking.
> 
> I don't know either.  The free Forth tools tend not to have debuggers as
> Forth lends itself well to debugger free development.  But any language
> can be used with Eclipse if I am not mistaken.  So then you have a
> debugger.

You can certainly use Eclipse for editing any language (at least,
anything written in plain ASCII.  APL probably needs an extension), and
there are plugins for language syntax highlighting and other tools for
lots of languages (again, I don't know about Forth).  But that does
/not/ mean you can debug the language - that requires support for the
language in the debugger.  Eclipse can act as an interface to gdb, and
gdb supports a number of languages (assembly, C, C++, Fortran, Go, Rust,
Ada, etc.).  Other languages like Python are also supported with the
right plugins.

> 
> Not sure what you mean about supporting the "range" of 8051s.  If the
> 8051 doesn't use the same code, it really isn't an 8051.
> 

There are lots of variants of the 8051, with different types and sizes
of memory, extra registers, extra instructions, etc.  They share a
common core ISA, but there are lots of details that are important if you
want to have efficient code.

> 
>> SDCC is a reasonable C compiler for the 8051, and is entirely free.  It
>> does not generate as tight code as the massively expensive ones, but it
>> is (apparently) OK.  My experience with "top-class" 8051 C compilers has
>> been poor - the code may be efficient, but the C compliance has been bad.
>>
>> Given the choice, I would never choose to use an 8051 core - or any
>> similarly brain-dead and outdated ISA.  That would apply even if I were
>> programming in Forth or assembly - there are so many good ISA's around,
>> that it makes no sense to pick such a bad one unless the choice of
>> peripherals on the microcontroller are overwhelming.
> 
> Your use of the terms "brain-dead" and "outdated" shows you have an
> emotional connection to this decision.

It is not emotional - I just don't like them!  ("outdated" is factual,
"brain-dead" is opinion.)

>  These are not engineering terms.
> You know little about the CPU but are rejecting it for not having the
> image you want from your CPUs.

I know more than enough about 8051's to dislike them and to reject them
given the choice.  The decision is based on fact as well as personal
preference.  I /have/ used them occasionally - because sometimes I am
/not/ given the choice.

>  The only issue is whether the device
> meets the requirements of the project.

No, that is not the only issue.  It is certainly an important issue - it
is a requirement, obviously.  But once you have established that a
project can be handled by microcontrollers A, B and C, then you have to
choose between them.  Many factors come into play, including price,
power, availability, ease of development, flexibility - different
weightings will be used for different projects.  8051 cores score low on
all of these.  So, as I said, given the choice I would generally pick
something other than an 8051.  (If the choice was 8051, COP8 or PIC16,
it would be a harder decision.)

>  As has been stated, the 8051 is
> the only CPU that can meet certain project requirements that some users
> have.
> 

In which case there would be no /choice/.  That is what "choice" means!

Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Best bang-for-buck uC bitrex <bitrex@de.lete.earthlink.net> - 2017-08-24 22:49 -0400
  Re: Best bang-for-buck uC lonmkusch@gmail.com - 2017-08-25 05:56 -0700
    Re: Best bang-for-buck uC Klaus Kragelund <klauskvik@hotmail.com> - 2017-08-25 06:20 -0700
      Re: Best bang-for-buck uC bitrex <bitrex@de.lete.earthlink.net> - 2017-08-25 10:00 -0400
        Re: Best bang-for-buck uC rickman <gnuarm@gmail.com> - 2017-08-25 11:15 -0400
          Re: Best bang-for-buck uC bitrex <bitrex@de.lete.earthlink.net> - 2017-08-25 11:33 -0400
            Re: Best bang-for-buck uC rickman <gnuarm@gmail.com> - 2017-08-25 11:41 -0400
              Re: Best bang-for-buck uC bitrex <bitrex@de.lete.earthlink.net> - 2017-08-25 11:59 -0400
                Re: Best bang-for-buck uC rickman <gnuarm@gmail.com> - 2017-08-25 12:11 -0400
              Re: Best bang-for-buck uC David Brown <david.brown@hesbynett.no> - 2017-08-28 16:44 +0200
                Re: Best bang-for-buck uC bitrex <bitrex@de.lete.earthlink.net> - 2017-08-28 11:12 -0400
                Re: Best bang-for-buck uC David Brown <david.brown@hesbynett.no> - 2017-08-29 13:19 +0200
                Re: Best bang-for-buck uC pcdhobbs@gmail.com - 2017-08-29 06:05 -0700
                Re: Best bang-for-buck uC rickman <gnuarm@gmail.com> - 2017-09-02 01:16 -0400
                Re: Best bang-for-buck uC David Brown <david.brown@hesbynett.no> - 2017-09-05 10:16 +0200
            Re: Best bang-for-buck uC Klaus Kragelund <klauskvik@hotmail.com> - 2017-08-25 15:10 -0700
        Re: Best bang-for-buck uC Martin Riddle <martin_rid@verizon.net> - 2017-08-25 11:24 -0400
      Re: Best bang-for-buck uC John Larkin <jjlarkin@highlandtechnology.com> - 2017-08-25 08:31 -0700
        Re: Best bang-for-buck uC bitrex <bitrex@de.lete.earthlink.net> - 2017-08-25 11:41 -0400
          Re: Best bang-for-buck uC John Larkin <jjlarkin@highlandtechnology.com> - 2017-08-25 15:13 -0700
    Re: Best bang-for-buck uC bitrex <bitrex@de.lete.earthlink.net> - 2017-08-25 09:58 -0400
    Re: Best bang-for-buck uC Jasen Betts <jasen@xnet.co.nz> - 2017-08-26 00:47 +0000
      Re: Best bang-for-buck uC lonmkusch@gmail.com - 2017-08-25 18:29 -0700
  Re: Best bang-for-buck uC David Brown <david.brown@hesbynett.no> - 2017-08-25 17:03 +0200
    Re: Best bang-for-buck uC rickman <gnuarm@gmail.com> - 2017-08-25 11:18 -0400
      Re: Best bang-for-buck uC Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2017-08-25 15:06 -0400
        Re: Best bang-for-buck uC rickman <gnuarm@gmail.com> - 2017-08-25 16:20 -0400
          Re: Best bang-for-buck uC Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2017-08-25 20:36 -0400
            Re: Best bang-for-buck uC rickman <gnuarm@gmail.com> - 2017-08-25 20:42 -0400
              Re: Best bang-for-buck uC Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2017-08-25 20:46 -0400
                Re: Best bang-for-buck uC rickman <gnuarm@gmail.com> - 2017-08-25 22:10 -0400
                Re: Best bang-for-buck uC Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2017-08-26 11:31 -0400
                Re: Best bang-for-buck uC bitrex <bitrex@de.lete.earthlink.net> - 2017-08-26 15:30 -0400
      Re: Best bang-for-buck uC David Brown <david.brown@hesbynett.no> - 2017-08-28 16:48 +0200
        Re: Best bang-for-buck uC bitrex <bitrex@de.lete.earthlink.net> - 2017-08-28 11:15 -0400
          Re: Best bang-for-buck uC David Brown <david.brown@hesbynett.no> - 2017-08-29 13:21 +0200
    Re: Best bang-for-buck uC bitrex <bitrex@de.lete.earthlink.net> - 2017-08-25 11:40 -0400
      Re: Best bang-for-buck uC Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2017-08-25 12:38 -0400
      Re: Best bang-for-buck uC upsidedown@downunder.com - 2017-08-25 21:16 +0300
      Re: Best bang-for-buck uC Piotr Wyderski <peter.pan@neverland.mil> - 2017-08-27 01:43 +0200
        Re: Best bang-for-buck uC rickman <gnuarm@gmail.com> - 2017-08-26 20:48 -0400
          Re: Best bang-for-buck uC Piotr Wyderski <peter.pan@neverland.mil> - 2017-08-27 10:53 +0200
          Re: Best bang-for-buck uC bitrex <bitrex@de.lete.earthlink.net> - 2017-08-27 07:35 -0400
        Re: Best bang-for-buck uC bitrex <bitrex@de.lete.earthlink.net> - 2017-08-27 07:28 -0400
        Re: Best bang-for-buck uC David Brown <david.brown@hesbynett.no> - 2017-08-28 16:53 +0200
    Re: Best bang-for-buck uC Klaus Kragelund <klauskvik@hotmail.com> - 2017-08-25 15:12 -0700
  Re: Best bang-for-buck uC "Tim Williams" <tmoranwms@gmail.com> - 2017-08-25 12:37 -0500
    Re: Best bang-for-buck uC rickman <gnuarm@gmail.com> - 2017-08-25 16:47 -0400
      Re: Best bang-for-buck uC "Tim Williams" <tmoranwms@gmail.com> - 2017-08-25 16:33 -0500
        Re: Best bang-for-buck uC rickman <gnuarm@gmail.com> - 2017-08-25 20:39 -0400
          Re: Best bang-for-buck uC bitrex <bitrex@de.lete.earthlink.net> - 2017-08-26 00:04 -0400
            Re: Best bang-for-buck uC rickman <gnuarm@gmail.com> - 2017-08-26 02:04 -0400
            Re: Best bang-for-buck uC rickman <gnuarm@gmail.com> - 2017-08-26 02:14 -0400
            Re: Best bang-for-buck uC "Tim Williams" <tmoranwms@gmail.com> - 2017-08-26 14:28 -0500
              Re: Best bang-for-buck uC bitrex <bitrex@de.lete.earthlink.net> - 2017-08-26 16:52 -0400
          Re: Best bang-for-buck uC "Tim Williams" <tmoranwms@gmail.com> - 2017-08-26 14:16 -0500
            Re: Best bang-for-buck uC bitrex <bitrex@de.lete.earthlink.net> - 2017-08-26 15:23 -0400
            Re: Best bang-for-buck uC rickman <gnuarm@gmail.com> - 2017-08-26 19:03 -0400
              Re: Best bang-for-buck uC "Tim Williams" <tmoranwms@gmail.com> - 2017-08-27 14:40 -0500
                Re: Best bang-for-buck uC pcdhobbs@gmail.com - 2017-08-27 14:13 -0700
                Re: Best bang-for-buck uC bitrex <bitrex@de.lete.earthlink.net> - 2017-08-27 17:43 -0400
      Re: Best bang-for-buck uC Piotr Wyderski <peter.pan@neverland.mil> - 2017-08-27 11:04 +0200
    Re: Best bang-for-buck uC John Larkin <jjlarkin@highlandtechnology.com> - 2017-08-25 15:23 -0700
  Re: Best bang-for-buck uC antispam@math.uni.wroc.pl - 2017-09-02 00:15 +0000

csiph-web