Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > sci.electronics.design > #474696 > unrolled thread
| Started by | bitrex <bitrex@de.lete.earthlink.net> |
|---|---|
| First post | 2017-08-24 22:49 -0400 |
| Last post | 2017-09-02 00:15 +0000 |
| Articles | 20 on this page of 64 — 14 participants |
Back to article view | Back to sci.electronics.design
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
Page 1 of 4 [1] 2 3 4 Next page →
| From | bitrex <bitrex@de.lete.earthlink.net> |
|---|---|
| Date | 2017-08-24 22:49 -0400 |
| Subject | Best bang-for-buck uC |
| Message-ID | <2fMnB.16621$QC2.4627@fx19.iad> |
IMHO the best bang-for-buck uP available right now is the ATTiny85. Luxurious 8K of program memory, 512 bytes RAM, 512 bytes flash, 4 ADC channels, 2 hardware PWM outputs, 20 MHz clock @ 5 volts. Under a buck in quantity at Mouser: <http://www.mouser.com/ProductDetail/Microchip-Technology-Atmel/ATtiny85-20SU/?qs=sGAEpiMZZMtkfMPOFRTOlzm3F7l5sNgt>
[toc] | [next] | [standalone]
| From | lonmkusch@gmail.com |
|---|---|
| Date | 2017-08-25 05:56 -0700 |
| Message-ID | <c5edeeee-f388-4389-8bc1-982fed14c493@googlegroups.com> |
| In reply to | #474696 |
On Thursday, August 24, 2017 at 9:49:39 PM UTC-5, bitrex wrote: > IMHO the best bang-for-buck uP available right now is the ATTiny85. > Luxurious 8K of program memory, 512 bytes RAM, 512 bytes flash, 4 ADC > channels, 2 hardware PWM outputs, 20 MHz clock @ 5 volts. > > Under a buck in quantity at Mouser: > > <http://www.mouser.com/ProductDetail/Microchip-Technology-Atmel/ATtiny85-20SU/?qs=sGAEpiMZZMtkfMPOFRTOlzm3F7l5sNgt> Wait...how do you get 8K program memory and 512b of flash? Not necessarily the best bang for the buck, but that NXP 8 pin ARM (or now, "arm") is intriguing.
[toc] | [prev] | [next] | [standalone]
| From | Klaus Kragelund <klauskvik@hotmail.com> |
|---|---|
| Date | 2017-08-25 06:20 -0700 |
| Message-ID | <3919a4d3-419e-498a-aa82-8af6a9600cca@googlegroups.com> |
| In reply to | #474717 |
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
[toc] | [prev] | [next] | [standalone]
| From | bitrex <bitrex@de.lete.earthlink.net> |
|---|---|
| Date | 2017-08-25 10:00 -0400 |
| Message-ID | <l4WnB.16898$EZ2.16598@fx22.iad> |
| In reply to | #474719 |
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.
[toc] | [prev] | [next] | [standalone]
| From | rickman <gnuarm@gmail.com> |
|---|---|
| Date | 2017-08-25 11:15 -0400 |
| Message-ID | <onpenf$72c$1@dont-email.me> |
| In reply to | #474722 |
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. -- Rick C Viewed the eclipse at Wintercrest Farms,dd on the centerline of totality since 1998
[toc] | [prev] | [next] | [standalone]
| From | bitrex <bitrex@de.lete.earthlink.net> |
|---|---|
| Date | 2017-08-25 11:33 -0400 |
| Message-ID | <drXnB.7204$t03.5724@fx23.iad> |
| In reply to | #474731 |
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...
[toc] | [prev] | [next] | [standalone]
| From | rickman <gnuarm@gmail.com> |
|---|---|
| Date | 2017-08-25 11:41 -0400 |
| Message-ID | <onpg6j$cob$3@dont-email.me> |
| In reply to | #474740 |
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. -- Rick C Viewed the eclipse at Wintercrest Farms, on the centerline of totality since 1998
[toc] | [prev] | [next] | [standalone]
| From | bitrex <bitrex@de.lete.earthlink.net> |
|---|---|
| Date | 2017-08-25 11:59 -0400 |
| Message-ID | <BPXnB.20050$po2.11996@fx36.iad> |
| In reply to | #474743 |
On 08/25/2017 11:41 AM, 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. > The other advantage the newer products like AVR and ARM have over the older cores is that they have an ISA and architecture which was designed from the ground up to allow HLL compilers to generate tight code. There's no dedicated accumulator, nearly every register can also perform that function. And there are enough registers that the compiler can often decide to cache frequently-accessed variables there permanently so it never has to load/store them from RAM.
[toc] | [prev] | [next] | [standalone]
| From | rickman <gnuarm@gmail.com> |
|---|---|
| Date | 2017-08-25 12:11 -0400 |
| Message-ID | <onphun$i0i$2@dont-email.me> |
| In reply to | #474746 |
bitrex wrote on 8/25/2017 11:59 AM: > On 08/25/2017 11:41 AM, 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. >> > > The other advantage the newer products like AVR and ARM have over the older > cores is that they have an ISA and architecture which was designed from the > ground up to allow HLL compilers to generate tight code. There's no > dedicated accumulator, nearly every register can also perform that function. > And there are enough registers that the compiler can often decide to cache > frequently-accessed variables there permanently so it never has to > load/store them from RAM. And yet they still function quite well. None of these issues are important by themselves. No one evaluates processors by measuring the details of code density or even performance per MHz. If a CPU will do the job it is a candidate. It may need more space for the code, but as long as a given price MCU will hold the app, it's a win! -- Rick C Viewed the eclipse at Wintercrest Farms, on the centerline of totality since 1998
[toc] | [prev] | [next] | [standalone]
| From | David Brown <david.brown@hesbynett.no> |
|---|---|
| Date | 2017-08-28 16:44 +0200 |
| Message-ID | <oo1a09$aoo$1@dont-email.me> |
| In reply to | #474743 |
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. 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.
[toc] | [prev] | [next] | [standalone]
| From | bitrex <bitrex@de.lete.earthlink.net> |
|---|---|
| Date | 2017-08-28 11:12 -0400 |
| Message-ID | <CpWoB.50005$sH2.49853@fx05.iad> |
| In reply to | #475114 |
On 08/28/2017 10:44 AM, David Brown wrote: > 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. > The huge advantage of the AVR/ARM architectures is the free-as-in-free and free-as-in-beer availability of efficient, regularly-maintained HLL compilers with excellent compliance to the language standards, e.g. the GNU AVR and ARM embedded toolchains.
[toc] | [prev] | [next] | [standalone]
| From | David Brown <david.brown@hesbynett.no> |
|---|---|
| Date | 2017-08-29 13:19 +0200 |
| Message-ID | <oo3ibv$rc7$1@dont-email.me> |
| In reply to | #475117 |
On 28/08/17 17:12, bitrex wrote: > On 08/28/2017 10:44 AM, David Brown wrote: > >> 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. >> > > The huge advantage of the AVR/ARM architectures is the free-as-in-free > and free-as-in-beer availability of efficient, regularly-maintained HLL > compilers with excellent compliance to the language standards, e.g. the > GNU AVR and ARM embedded toolchains. I fully agree. Another reason is that those architectures are ones for which such toolchains can be made. You can't make such a C or C++ toolchain for the 8051 and that class of cpu core. (The absence of such toolchains, despite the widespread use of the 8051, bears witness to that. SDCC is an impressive project, but not of the class of gcc.)
[toc] | [prev] | [next] | [standalone]
| From | pcdhobbs@gmail.com |
|---|---|
| Date | 2017-08-29 06:05 -0700 |
| Message-ID | <b1ed1dc4-faf0-4401-934a-234fbaa29a0b@googlegroups.com> |
| In reply to | #475205 |
>You can't make such a C or C++ toolchain for the 8051 and that >class of cpu core. (The absence of such toolchains, >despite the widespread use of the 8051, bears witness to that. Just as the absence of aftermarket turbo kits for the Hillman Minx proves that can't be done either. ;) Cheers Phil Hobbs
[toc] | [prev] | [next] | [standalone]
| From | rickman <gnuarm@gmail.com> |
|---|---|
| Date | 2017-09-02 01:16 -0400 |
| Message-ID | <oodeig$cte$1@dont-email.me> |
| In reply to | #475114 |
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. 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. > 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. 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. The only issue is whether the device meets the requirements of the project. As has been stated, the 8051 is the only CPU that can meet certain project requirements that some users have. -- Rick C Viewed the eclipse at Wintercrest Farms, on the centerline of totality since 1998
[toc] | [prev] | [next] | [standalone]
| From | David Brown <david.brown@hesbynett.no> |
|---|---|
| Date | 2017-09-05 10:16 +0200 |
| Message-ID | <oolmhj$630$7@dont-email.me> |
| In reply to | #475920 |
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!
[toc] | [prev] | [next] | [standalone]
| From | Klaus Kragelund <klauskvik@hotmail.com> |
|---|---|
| Date | 2017-08-25 15:10 -0700 |
| Message-ID | <f787fa57-ebe4-4c8a-94f4-4b99af92dc93@googlegroups.com> |
| In reply to | #474740 |
On Friday, August 25, 2017 at 5:33:36 PM UTC+2, bitrex wrote: > 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 am using a C compiler now on that core, nothing to complain about yet
[toc] | [prev] | [next] | [standalone]
| From | Martin Riddle <martin_rid@verizon.net> |
|---|---|
| Date | 2017-08-25 11:24 -0400 |
| Message-ID | <01g0qchr7m14fodtkcbvdfm7gfunftn5uk@4ax.com> |
| In reply to | #474722 |
On Fri, 25 Aug 2017 10:00:49 -0400, bitrex <bitrex@de.lete.earthlink.net> wrote: >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. Pretty stout @ 50Mhz. Should suffice for small applications. Not happy, use a PIC. Cheers
[toc] | [prev] | [next] | [standalone]
| From | John Larkin <jjlarkin@highlandtechnology.com> |
|---|---|
| Date | 2017-08-25 08:31 -0700 |
| Message-ID | <hjg0qch59levsgu45nft0hmmlnhjivei9c@4ax.com> |
| In reply to | #474719 |
On Fri, 25 Aug 2017 06:20:17 -0700 (PDT), Klaus Kragelund <klauskvik@hotmail.com> wrote: >Well, the Silicon Labs EFM88B goes for 15 cents in high volume > Fine if you make singing greeting cards, or maybe even it could handle a toaster. -- John Larkin Highland Technology, Inc lunatic fringe electronics
[toc] | [prev] | [next] | [standalone]
| From | bitrex <bitrex@de.lete.earthlink.net> |
|---|---|
| Date | 2017-08-25 11:41 -0400 |
| Message-ID | <XyXnB.7206$t03.1048@fx23.iad> |
| In reply to | #474738 |
On 08/25/2017 11:31 AM, John Larkin wrote: > On Fri, 25 Aug 2017 06:20:17 -0700 (PDT), Klaus Kragelund > <klauskvik@hotmail.com> wrote: > >> Well, the Silicon Labs EFM88B goes for 15 cents in high volume >> > > Fine if you make singing greeting cards, or maybe even it could handle > a toaster. > I should have qualified it as "if you need to do any kind of real work." As another poster mentioned you can get msp430s for ~33 cents in thousands, with 512 bytes of program memory. That might be enough to run a greeting card.
[toc] | [prev] | [next] | [standalone]
| From | John Larkin <jjlarkin@highlandtechnology.com> |
|---|---|
| Date | 2017-08-25 15:13 -0700 |
| Message-ID | <h181qc1tjafml68ir18mtfh9nfq3fm0gn7@4ax.com> |
| In reply to | #474744 |
On Fri, 25 Aug 2017 11:41:43 -0400, bitrex <bitrex@de.lete.earthlink.net> wrote: >On 08/25/2017 11:31 AM, John Larkin wrote: >> On Fri, 25 Aug 2017 06:20:17 -0700 (PDT), Klaus Kragelund >> <klauskvik@hotmail.com> wrote: >> >>> Well, the Silicon Labs EFM88B goes for 15 cents in high volume >>> >> >> Fine if you make singing greeting cards, or maybe even it could handle >> a toaster. >> > >I should have qualified it as "if you need to do any kind of real work." >As another poster mentioned you can get msp430s for ~33 cents in >thousands, with 512 bytes of program memory. That might be enough to run >a greeting card. I used to do serious stuff in 1K bytes, assembly on a 6803, but that was a hassle. Unless the million-piece price matters, something more reasonable, like an LPC1758 maybe, can do some serious signal crunching. -- John Larkin Highland Technology, Inc trk jlarkin att highlandtechnology dott com http://www.highlandtechnology.com
[toc] | [prev] | [next] | [standalone]
Page 1 of 4 [1] 2 3 4 Next page →
Back to top | Article view | sci.electronics.design
csiph-web