In message
<636dc588-c606-4825-a524-99a01ad39624@q30g2000prq.googlegroups.com>,
linnix <me@linnix.info-for.us> writes
>On Nov 12, 11:02 am, Frank Buss <f...@frank-buss.de> wrote:
>> Jeff Fox wrote:
>> > When I think of lower end embedded market I think mostly of 4-bit
>> > and 8-bit, <$0.10, <256bytes RAM. C hasn't been king there as
>> > far as I know.
>>
>> Do you have an example of a microcontroller for <$0.10? How many do you
>> need to buy for this price?
>>
>> One of the cheapest microcontroller I've found, but still with some nice
>> features, is this one,
>
>1K flash is quite useless.
It depends what you are doing.
--
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills Staffs England /\/\/\/\/
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
Reply by Jeff Fox●November 13, 20082008-11-13
On Nov 13, 7:03=A0am, Walter Banks <wal...@bytecraft.com> wrote:
> Think a data base of programming tricks applied where appropriate.
> In time embedded C compilers produce some incredible code. I am amazed
> at some of the code that comes out of the compilers we have written
> when combinations of code invokes several rule sets and the produced code
> is not something we would have thought of.
Your software sounds impressive. One reading of "C is King"
is that out of all the examples the best one is king. In that
sense your C compiler might be king.
I was using it more in the form of the most widely used thing is
King or that with the largest market share is king. I still don't
think C dominates in the <$0.10 low-end embedded area.
Best Wishes
Reply by CBFalconer●November 13, 20082008-11-13
Jeff Fox wrote:
>
... snip ...
>
> Your software sounds impressive. One reading of "C is King" is that
> out
> of all the examples the best one is king. In that sense your C
> compiler
> might be king.
You apparently have Firefox set to wrap output text at 72 char,
which is fine (although I recommend 67). However you should not
terminate your sentences with <return> (or <enter>) - let the
newsreader do it. Just use the <enter> to install a blank line, to
mark paragraphs. That will avoid the funny output you have above.
--
[mail]: Chuck F (cbfalconer at maineline dot net)
[page]: <http://cbfalconer.home.att.net>
Try the download section.
Reply by Jeff Fox●November 13, 20082008-11-13
On Nov 13, 7:01=A0am, Walter Banks <wal...@bytecraft.com> wrote:
> Think a data base of programming tricks applied where appropriate.
> In time embedded C compilers produce some =A0incredible. I am amazed
> at some of the code that comes out of the compilers we have written
> when combinations of code invokes several rule sets and the produced code
> is not something we would have thought of.
Your software sounds impressive. One reading of "C is King" is that
out
of all the examples the best one is king. In that sense your C
compiler
might be king.
I was thinking of the more common use of the phrase that, "in this
field
something is King" means it is the most common or most dominate thing.
What I meant when I said that C had not been King in the low-end
embedded
computing is that there is a LO
> Quite a while ago I was using Cosmic C on HC11's and was amazed at the code
> it produced. Hello World was something like 28 bytes. Good C compilers for
> micros can do tricks I wouldn't do in assembly for readability reasons.
Think a data base of programming tricks applied where appropriate.
In time embedded C compilers produce some incredible code. I am amazed
at some of the code that comes out of the compilers we have written
when combinations of code invokes several rule sets and the produced code
is not something we would have thought of.
Regards
--
Walter Banks
Byte Craft Limited
http://www.bytecraft.com
Reply by Walter Banks●November 13, 20082008-11-13
Charlie Springer wrote:
> Quite a while ago I was using Cosmic C on HC11's and was amazed at the code
> it produced. Hello World was something like 28 bytes. Good C compilers for
> micros can do tricks I wouldn't do in assembly for readability reasons.
Think a data base of programming tricks applied where appropriate.
In time embedded C compilers produce some incredible. I am amazed
at some of the code that comes out of the compilers we have written
when combinations of code invokes several rule sets and the produced code
is not something we would have thought of.
Regards
--
Walter Banks
Byte Craft Limited
http://www.bytecraft.com
Reply by Charlie Springer●November 12, 20082008-11-12
Reply by Charlie Springer●November 12, 20082008-11-12
[[ This message was both posted and mailed: see
the 'To' and 'Newsgroups' headers for details. ]]
On Wed, 12 Nov 2008 09:49:59 -0800, Paul E. Bennett wrote
(in article <6o0ja8F19ek5U1@mid.individual.net>):
> When all the resource you have is 256 bytes RAM and 4k Code space then
> you do tend to need to pay very close attention to what is assembled or
> compiled and what data-structures are being used and when.
Quite a while ago I was using Cosmic C on HC11's and was amazed at the code
it produced. Hello World was something like 28 bytes. Good C compilers for
micros can do tricks I wouldn't do in assembly for readability reasons. There
are plenty of things I would still code by hand but anything reasonably
"normal" seems to work out. However, I still think C sucks as a language.
-- Charlie Springer
Reply by linnix●November 12, 20082008-11-12
On Nov 12, 11:02 am, Frank Buss <f...@frank-buss.de> wrote:
> Jeff Fox wrote:
> > When I think of lower end embedded market I think mostly of 4-bit
> > and 8-bit, <$0.10, <256bytes RAM. C hasn't been king there as
> > far as I know.
>
> Do you have an example of a microcontroller for <$0.10? How many do you
> need to buy for this price?
>
> One of the cheapest microcontroller I've found, but still with some nice
> features, is this one,
1K flash is quite useless.
> for $0.36, if you buy 7,500:
We found one with 16K ROM for $0.25 at 25,000 pcs.
Our C compiled app is around 8K, so plenty of room to grow.