Embedded CPUs

From ACCX Products Wiki
Revision as of 10:24, 16 October 2011 by Arclight (talk | contribs)
Jump to navigation Jump to search

Embedded Systems Tools

Overview of CPUs available for embedded development

This describes the major embedded CPU choices we have for developing the Open Access Control ecosystem.

Note that some of these products have well-supported, free tool chains and libraries that can be redistributed without royalties. Others have only an expensive, licensed tool chain or a compiler/tool chain that is licensed to a commercial development board. Most are something in between, with some free tools that do the basics, and commercial products with more libraries, better code optimization, etc.


Atmel

The Atmel Corporation is based in Norway and sells a large variety of products, from simple 8-bit CPUs costing less thatn US$1 to sophisticated 32-bit products with on-board peripherals like CAN BUS and Ethernet.

Pros: Excellent tool chain support, lots of styles and price points to work with, the Atmega line is used in the arduino. Programming the chips is straightforward and supported iwth both GNU and commercial tools.

Cons: Atmel is known for supply chain issues. Long lead times and chip shortages are not uncommon. Hardware debugging requires an expensive, proprietary device.


Tool Chain

Compilers and IDEs

  • AVR Studio
    • Supports C/C++/ASM
    • Includes libraries and support for most of the Atmel product line
    • Includes support for various programmer devices
    • Available for Windows only, but will run in a VM
    • Commercial, but available as a free download from Atmel
  • AVR-GCC
    • Open-source C/C++ compiler,Assembler, linker program loader, etc.
    • Well-supported, works on Windows/Linux/MAC OSX
  • WIN AVR
    • Open-source IDE for Windows, includes full toolchain

Programmers and Debuggers

  • AVR ISP
    • Costs about US$59 from Atmel, available from many sources.
    • Can perform in-system programming on most AVR chips
    • Requires a 6-pin ISP connector to the board
    • Does not support debugging
  • AVR Kraken
    • Open-source AVR-ISP clone
    • Supported by AVR-dude and works with AVR Studio
    • Low cost
  • AVR Dragon
    • Sold by Atmel, offers on-chip debugging as well as full programming capability