Slashdot Mirror


32-bit Processors, Cheap

An anonymous reader writes "Atmel is sampling the first in a new line of 32-bit system-on-chip processors that could spell the death of the venerable 8-bit microcontroller market by offering 32-bit performance at 8-bit pricing. Priced as low as $3 each, the AT91SAM7 chips with ARM7TDMI RISC CPU cores and built-in RAM/flash memory may even be able to run a form of Linux called uClinux. The death of the 8-bit uC market has long been predicted -- sounds like the end is nigh!"

19 of 335 comments (clear)

  1. Re:Overkill by Pxtl · · Score: 4, Interesting

    Well, consider how much more complicated embedded apps are getting - think about the onboard computer in the Audi, and the increasing numbes of mp3 players, movie players and whatnot. While "upgrade or else" is stupid, damn if this thing won't be useful.

    So, when do I get my full-pentium-PC-on-a-chip so I can play X-Com on my watch?

  2. Re:Overkill by Anonymous Coward · · Score: 1, Interesting

    There are so many embedded applications that do just fine with 8-bit controllers that there is no reason they should dissapear just because something more powerful comes along.

    So why can't I continue to buy P2 machines at my local computer retailer, if all I want to do is surf the web and write letters to Grandma?

    Hint: it has to do with suppliers discontinuing their product lines.

  3. Power requirements? Hardening? by mmclure · · Score: 2, Interesting

    The big questions to be answered before these make the big time are power requirements and hardening - if they use the same or less power than the current crop, and are resistant to environmental extremes like the current crop, then we're onto something.

  4. Wrong.. by taharvey · · Score: 5, Interesting
    "Unit volume is dominated today by the 8-bit control and instrumentation segment with over 389,000,000 units shipped this calendar year. This is followed by the 4-bit watch segment and the 8-bit PC peripherals segment." - In-Stat 2003

    8 bits is all the majority of embedded applications need. Its lower power, and cheaper.

    8 bits rules the world and will continue to do so for a long time.

  5. 8bit price, but how about 8bit power? by RealAlaskan · · Score: 4, Interesting
    These are micro controllers, where 32 instead of 8 bits may not be an advantage. Even if they cost no more than the 8bit chip, they'll still have to have more transistors, and thus draw more power than an 8bit chip using the same technology. Since these will be going into embedded applications where power matters, even a little more current draw could be a big drawback.

    If your application needs the extra capabilities that a 32 bit chip offers, this is a big deal, but if the old 8bit standby does the job an draws a few milliwatts less, you're better off sticking with the old fashioned, 8bit chip.

    I think it's a little too early to say goodbye to 8bit microcontrollers.

  6. uClinux on these? not. by tzanger · · Score: 2, Interesting

    I'd like to see uClinux fit into 512kB Flash and 64k SRAM. None of these seem to have any access method to external memory.

    If you can fit it in, I'd be interested; I was all excited because a product I use at work has a Hitachi H8 processor... sadly 1M Flash and 128k RAM isn't enough. :-(

  7. Re:Overkill by LurkerXXX · · Score: 3, Interesting
    Well, that kind of depends on the application. Say we are talking about stuff controlling machines in factories...

    The Reg just put out a story how all sorts of embedded controllers in factory machines are a huge risk for attacks because the chips in them don't have the horsepower to do new things that the equipment's designer didn't originally take into account.

    http://www.theregister.co.uk/2004/10/08/cyber_thre ats_menace_factories/

    Sometimes you don't realize when you will actually need more horsepower (perhaps for things like encryption and authentication) than you originially thought you would.

  8. AVR line has still a lot of life in it by haggar · · Score: 2, Interesting

    The Atmel AVR is probably the most powerful (as in, raw performance) line of 8-bit MCUs, and there is a ton of code and utilities out there. And guess what? The applications these MCUs are designed to work with/in/for do not need a 32 bit MCU. Take, for example, the ATtiny2313: at 20 MHz, that part produces almost 20 MIPS... that's power that barely any application can top. The PIC MCUs have about the 1/8th to 1/10th of this performance, and still noone complains that they are too slow.

    I don't see the AVR core disappearing just because of the new 32 bit Atmel kid on the block. It will have it's applications, but most AVR developers won't find too many compelling reasons to switch just yet. Remember, this is not like the desktop computer market, you don't look under the hood of your automated wheat mill to see whatmakes it tick.

    --
    Sigged!
  9. Re:Not just "Power" by cmowire · · Score: 3, Interesting

    Ummm.. There's no provisions for external memory. This is aimed at AVR designers who want more oomph, so all memory and flash is internal. No address bus.

    The problem, of course, is that a TQFP package is not quite as hobyist-hackable as the old DIP packages because it requires you to have etched PCBs or a prototype adapter, which makes breadboarding harder.

  10. Re:Overkill by Grayputer · · Score: 3, Interesting

    Actually, you are correct, which is why you are wrong:). As you correctly state, whiteboard (and setup) costs are significant. SO when a standard 32 bit design arrives that costs 'the same' as an 8 bit design, everyone will move to the off-the-shelf (OTS) 32 bit design manufactured in quantity instead of paying for custom runs of old 8 bit stuff that is no longer in stock. Now it will not happen overnight as stocks of 4/8/16 bit designs exist and tooling still exists BUT to use an OTS 32 bit item will become cheaper than retooling for a new run of old 4/8/16 bit stuff eventually. Consequently at some point all new development will move to the new 'standard controller' (admittedly rewriting old controller code may be more expensive than retooling so old products may go to 'mature mode'). The key is cost and a true 'standard controller'. If the cost of the 32 bit standard controller is not 'the same' as the 8 bit controller then it may still be cheaper to use 8 bit in some cases. If the 32 bit market fragments then a 'standard controller' may not exist and software retooling expense may make it non viable.

    Bottomline, not much new development is done on 4 bit controllers, which used to own the market. Eventually not much new development will be happening on 8 bit controllers as 32 bit controllers mature and become more price competitive. IF a standard 32 bit controller emerges, people will move to it to reduce the whiteboard costs you mention. Especially if it runs something remotely standard and feature robust, like a version of Linux.

  11. Clue alert: $3 in volume is EXPENSIVE by Anonymous Coward · · Score: 5, Interesting

    As an embedded systems consumer product design engineer by trade, I can state with great confidence that $3 is NOT cheap.

    In fact, for everyone who's pointed out that PIC's cost well under a dollar:
    That's not cheap either.

    4-bit watch micros and the kind of thing that runs your toaster are priced in the 0-25cents range in volume -- that's right, a few *cents*.

    To wit: $3 is greater than the complete cost-of-goods for much of the consumer electronics market. A TINY 4-bit chip, engineered with the same modern techniques as a 32-bit one, will be able to conserve even more power. This may not matter if it's a toaster, but if you want something to run off a battery for 10 years, you better start hunting for the smallest, simplest die you can find.

    Coding for older platforms is also very easy, very fast, and easy to certify as bug-free. Put that in your kernel forum and smoke it.

    Don't get me wrong, a dirt-cheap linux-capable uCs make me as happy as the next dork, but they're for a very different kind of task. Consider the myriad PDAs with flashy graphics/media capabilities already running on ARM processors and similar...

  12. Re:Overkill by pilgrim23 · · Score: 2, Interesting

    the question is: How difficult in a 32bit CPU, and how many lines of code will be needed to perform the most common home elctronic function out there: "CLAP ON!" "CLAP OFF!"

    --
    - Minutus cantorum, minutus balorum, minutus carborata descendum pantorum.
  13. Re:Not just "Power" by jhoger · · Score: 2, Interesting

    Come on... TQFP isn't that bad. The fact is you just can't get decent pricing on flash, ram as DIP.

    Anyway the real scary thing for hobbyists is BGA.

    Circuit cellar had an article recently on converting a reflow oven out of a toaster oven. Or you could just use a hot plate to reflow the solder. So surface mount parts are definitely doable, and PCB prototyping houses charge fairly reasonable rates. So you should consider not fussing with breadboarding/wirewrap.

    Alternatively with a laser printer and label backing you can make artwork to etch your own PCBs.

  14. Let's compare... by Anonymous Coward · · Score: 3, Interesting
    I read the article and the part looks like a good next step in the evolution of 32-bit MCUs. However, it will not kill off the market for 8-bit MCUs. 8-bit MCUs still beat this part in a few areas:
    • Package size: The AT91SAM7A is impressive in how much it packs into a 64-pin TSSOP package, but Atmel's 8-bit ATtiny15L is also impressive in what it packs into an 8-pin SOIC. And if that's too big, Microchip just released the PIC10F 8-bit microcontroller in a 6-pin SOT23 package. Don't sneeze.
    • Price: 8 bit MCUs are still cheaper, most under $1 in quantity, while the AT91SAM7A is $3 in quantity.
    • Power supplies: The ATtiny15L works with one supply between 2.7V to 5.5V, so it could run off a loosely-regulated supply, or straight off batteries, eliminating the need for a regulator. The AT91SAM7A needs a 3.3V core supply, and a second 5.0V supply if any of the I/O pins need the higher voltage. There are some parts that you still can't get in 3.3V.
    • Power consumption: That ATtiny15L takes 3.0 mA active and 0.001 mA sleeping. The AT91SAM7A uses 0.24 mA sleeping and up to 78 mA when running (those figures are buried in the full data sheet). Good to know when battery life is an issue.
    • Compiler support: both ARM and AVR architectures are supported by GCC.
    • Architecture: Both AVR and ARM architectures are RISC architectures.
    • Clock: The AT91SAM7A can run up to 8 MHz with an external crystal or 30 MHz with an external oscillator (using an internal PLL). The AVRs can run to 8 MHz on an internal oscillator (no extra parts) or 16 MHz from an external oscillator (though the ATmega26 has a trick where you can run at 16 MHz from the internal oscillator).

    I would have loved to compare to the AT91SAM7S described in the article, but data sheets weren't available on the web site. All that said, I think the more impressive product is on the horizon: the AT91SAM7X series with built-in Ethernet.

    Best of luck to the uClinux folks trying to pack everything into 64K of RAM. I've never tried to use less than 1 MB. A better choice, IMHO, would be something like eCos, which can be stripped down more, because in embedded systems, you don't always need a POSIX-style file system hierarchy.

    While there have been many advances in 32-bit MCUs, it would be foolish to assume that the 8-bit MCU market is still stuck in the land of the 6502/8051/6800 CISC architectures. It's had its share of advances as well. And nobody really wants to use a 32-bit MCU for a mouse or keyboard.

  15. Re:Why now..... by Just+Some+Guy · · Score: 2, Interesting
    it feels like a waste of time because if the field has advanced beyond my education what have learned other than I have alot more to learn.

    Did you really expect to learn the current state of the art in its entirety? Do you think that would actually help you in any way?

    I had a processor design class less than five years ago where we dug into the core of a MIPS CPU. I learned a lot about the inner workings of a modern processor, but to this day I've never physically seen a MIPS machine. Was it a waste of my time? No way!

    And such is yours. Like you said, your mission is to learn how to interface a generic processor with a generic system. Get that and substituting other variables is a piece o' cake.

    --
    Dewey, what part of this looks like authorities should be involved?
  16. Re:Overkill by The+Ego · · Score: 2, Interesting

    With 32 bit processors, you need four times the memory to run the same program as an 8 bit CPU

    Absolutely not. Why should it be that way ? Think about it, if one processes a byte, it can be processed in the same way on an 8bit or on a 64bit processor.

    Even instruction sizes are not correlated to 'bitness' (an overloaded term). Many 8-bitters had variable-size instructions, just like an x86. In general 64-bit processors do not have 64-bit instructions. Some 32bit processors have 16-bit instructions or the option to use 16-bit instruction formats for code-size optimization (e.g., the ARM Thumb).

    If one were to use exclusively N-bit pointers (where N is the 'bit-size' of the processor), then yes. But why should one be that stupid ? If one only needs 64kB of memory for an application, one can use 16bits addresses to address it all, whether on an 8-bitter or a 32-bitter. Note also that many '8-bits' processors use 16bits addresses. One doesn't go very far by having only 256 addresses.

    And even if one chose to use N-bit pointers, not everything needs to be adressed by a pointer. Displacement addressing can be very useful, even on machines with gobs of memory. I work pretty exclusively on 64-bit systems with GBs of memory, yet it is often useful to save memory by saving relative offsets (or array indices) when we know that we
    can fit those values in 16 or 32 bits. For modern processors adding an offset to a base pointer already in registers is almost free, while blowing a cache line can cost you hundreds or thousands of cycles.

  17. tight even on a PDP-11 by jeif1k · · Score: 2, Interesting

    Even BSD UNIX on PDP-11 really wanted more than 64k of RAM and more than 512k of disk space, and that was for a 16bit processor.

    I don't think it's worth worrying about porting Linux to this. Give it another year and they'll be up to 256k. Until then, there are other open source solutions one could run on this.

  18. Re:Not the death, but certainly less market by bob+beta · · Score: 2, Interesting

    That's all very fine and well, but some of us work with microcontrollers that run on coin cells. They might have a 32 KHz CPU clock and draw a fraction of a microampere most of the time.

    Why don't you go outside and play with your go-cart, fuel cell, and 'octane.'

  19. Re:Overkill by letxa2000 · · Score: 3, Interesting
    Very true. Many people today just don't understand what "embedded" really means. As much as some people would like to call Palm, WinCE, a Pentium-in-a-small-box, or any computer in a small enclosure "embedded" that completely redefines what embedded traditionally meant. It meant that the the microcontroller was embedded within the rest of the product. The microcontroller wasn't the focus of the product but rather it significantly reduced part counts by doing what used to take lots of ICs and board space. You can bet that anything that includes this kind of 32-bit chip for $3 is going to be doing some heavy marketing for browsing rights on what drives the product. But do you really think anyone cares if their washing machine is 32-bit?

    8-bit microcontrollers aren't going anywhere. Many 8051's are still less than a tenth of the cost of these 32-bit chips. And many 8051's have on-board "everything." Your program is flashed onto the MCU, you have a built in serial port which requires, at most, a MAX232 to convert to RS232 levels, many have A/D and D/A converters, some even have MP3 decoding capability (Atmel if I remember correctly).

    In short, these cheap 32-bit micros don't mean the "end of anything." They're a good tool for the right jobs, which probably include cell phones, PDAs, etc. But microcontrollers are not microprocessors. That's why you're not going to see a 32-bit CPU in your TV's remote control, inside your microwave (probably), controlling your fridge, inside the remote control of your car's remote key entry system, inside an alarm clock, inside your PC keyboard, blah blah blah.