5 ms·
It's 2 years after that article was written, and I don't see 8-bit MCUs and their accompanying tiny amounts of RAM going away anytime soon - although ARM seems
by userbinator 12y ago
It's 2 years after that article was written, and I don't see 8-bit MCUs and their accompanying tiny amounts of RAM going away anytime soon - although ARM seems to have had a lot of publicity, architectures like the 8051, with its 256 bytes of RAM (and up to 64K of external RAM, not present on all models), are still alive and well; for every chip containing an ARM core that's been shipped, there's probably several times more with 8051 or other 8-bit cores. I singled out 8051 because unlike PIC/AVR which are only single-sourced, and ARM which is not free, it's both produced by many manufacturers, and AFAIK it's free to implement.
In fact I wish the trend of making "smart" devices with grossly overpowered processors that were likely chosen just so they could run a fully bloated Linux distro - only to poke a few GPIOs based on some very simple input events - would stop. Running a full OS when only a tiny fraction of the functionality is used is not only wasteful, it adds to the security risk because of increased attack area.
- nezza-_- 12y agoThe problem is: A lot of the 'native' libraries and even the open-source embedded RT OSs really suck. And if you use a vendor's library you are very locked in: Let's say you use a TI chip for your prototype but then someone who knows stuff about designing hardware tells you that now it has to run on an Atmel processor because $profits... you will have to reimplement a lot of your stuff which costs (quite a huge amount) of time and might even require an entire rewrite..
- minthd 12y agoyou could always use something like the mbed or arduino , and have the ability to change chips ,but if you want to access the full capabilities of chips ,you'll cant have portability ,because you lose something when abstracting.
- EpicEng 12y agoAm Arduino is not a production solution. It's great for prototyping, but to expensive for mass production. You go with something as small and cheap as possible.
- TD-Linux 12y agoYou can totally use the Arduino in production, and it's happened quite often. The core of the Arduino is just the ATMega8 micro, which is only a few dollars - Arduino is just a nice programming environment and set of libraries for it.
- neohaven 12y agoCan you? Sure. Should you? Oh, sure, if you want a very expensive piece of hardware in your product.
- Sanddancer 12y agoI think the parent was talking about Arduino as a software platform, instead of the Arduino hardware. The software itself will run on pretty much any of the 8 bit avrs, even things like the ATTiny45.
- ANTSANTS 12y agoI've only done hobbyist embedded development, so maybe I'm totally off the mark here, but I would have guessed that for truly low RAM niches (i.e. ultra low power or extremely cost constrained), an RTOS would be totally out of the question. And for the vendor-provided libraries, if you're really memory constrained, you're probably writing in assembly language anyway which dwarfs any other porting cost.
- sliverstorm 12y agoSome of the ARM MCU's are frankly amazing though. Aside from development complexity and tool licensing, they seem to sacrifice very little. Low power, low price, high performance, many features. Atmel really isn't helping on that front with their pricing. A few years ago I discovered I could buy a Cortex M3 that ran 10x faster, had 10x the storage and twice the features/IO, and 32-bit, for 75% the cost of Atmel's offerings.
- derefr 12y agoAnd how much more power did the M3 consume?
- FigBug 12y agoIt really depends on what you are doing. If you compare mA/MHz, the M3 will probably be lower than the AVR. If your micro is busy a lot, you maybe get lower power consumption from the M3. If your micro is idle most of the time, the AVR lower power states will probably be more efficient than the M3.
- minthd 12y agoatmel recently announced a cortex-m0 with 40ua/MHz which is competitive with 8-bit , and energy micro chips are also very competitive using their smart peripherals .
- teraflop 12y agoWow. To put that in perspective, I found a reference [1] saying the simplest Cortex-M0 chips have about 12K gates, which means that the processor uses about 20,000 electrons per cycle, per gate. When you think about how many orders of magnitude of improvement there have been since the dawn of computing, it's astonishing to realize that there might not be too many left before we start hitting the fundamental limits of semiconductors. [1]: http://www.arrownac.com/offers/nxp-semiconductors/cortex/cortex-m0-article.pdf http://www.arrownac.com/offers/nxp-semiconductors/cortex/cor...
- 12y ago
- kabdib 12y agoA few years ago I programmed an 8 bit MCU that, with a few external components, controlled power for a much larger embedded system. I think the device cost about 17 cents, and it was cheaper than dedicated power control circuitry. It was a fun little project; getting away from massive builds of console software and just sitting down for a couple of weeks and banging out some high reliability and very low footprint code was a refreshing change of pace. It's funny that this little chip was still more capable (by several times) than the first computer I owned, back in the late 70s. In the 80s my roommate and I used to joke that one day computers would be prizes in cereal boxes, just toys that would fall out. Those days have almost certainly arrived. These things are so darned cheap that I can't see them going away.