Embedded Programming in ASM , C , Java etc.....

Programming Revisited after 10 years!!

Without Doubt Programming is a "Use it or Lose it" ability!

Which is best? There is no one answer to that question , as with all the Lab Assignments it relates to time , resources , complexity and "Usefulness".

The basis in all spheres of computing requires 3 distinct actions, Input Process & output.

This is true in all cases including the use of micro controllers with embedded functionality.

This page reviews the "virtues" and "vices" of embedded programming and briefly investigates some of the salient points relating to creating programs or routines applicable to the ATtiny44 series of AVR devices in particular.


What do you want your program to do and how easy is it achieve?

It is best as with all disciplines of programming to start with an abstract view for example if the reader is looking at a page at first in overview then if the reader wants to see in detail then the zoom function is used.

In short the AT series of devices are mini computers of a sort in that they take an input process that input and output to the device being controlled.

The ATtiny44

ATtiny44

ATtiny Series of AVR Micro Controllers

Features

The ATTINY44-20SSU is a low-power CMOS 8-bit microcontroller based on the AVR enhanced RISC architecture. By executing powerful instructions in a single clock cycle, the ATTINY44-20SSU achieves throughputs approaching 1 MIPS per MHz allowing the system designer to optimise power consumption versus processing speed. Further information can be found at :
http://www.radiolocman.com/datasheet/data.html?di=70806&/ATTINY44V-10SSU

Approaches to Programming

All programing requires an approach. The core of this and its success or not is directly linked to its implementation these techniques include:imperative languages (object-oriented or procedural), functional languages, and logic languages.

What are these languages ?

Languages in computer programming are all synthetic & syntactic that is a total dependence on syntax.If the syntax is not totally correct the environment fails to understand what is expected from the program at runtime an thus has a high probability of failing.

Object Oriantated Methodology Verses Procedural in the AVR Environment.

The virtues of each are different but overall haave the same outcome. Object oriatation relies on "classes" being created at a high level to replicate the actions required for the project to function correctly. For example the "class" called hardware has two components sound &light each has two intances selected or deselected each of those has two to intances on on or off.



More to Follow: ..........