Links to :-
I have an interest in microcontrollers, both in my job, and as a hobby. 8 bit microcontrollers (those having a data bus width of 8 bits) have the advantage of being inexpensive but are also powerful enough to perform complicated tasks. The cheapest devices I have seen are 12C508 which cost £1.27 in quantity.
A microcontroller is effectively a computer on a chip. All computers need a central processing unit (CPU), memory holding the program to be run, memory for data to be stored and, if it's to do anything meaningful, some peripherals to speak to the outside world.
Quite often, computers, e.g. the PC, use the same memory for both program and data storage. This is usually read/write memory (RAM) because the program itself is frequently changed.
Microcontrollers are generally used for embedded processes where the program, once written, does not change e.g. car ignition systems, burglar alarms. In fact they are so cheap and easy to use, they are more and more being used to replace devices that traditionally used discrete electronic components e.g. the ubiquitous "dark room timer", a standard electronics project since time began.
Typically a microcontroller will contain ..
Because the program is intended to be embedded, a method has to be found to create the program, which can change frequently during the development period.
This can be done in several ways ..
Generally the program would be written on a development system, e.g. a PC with text editor and cross compiler or cross assembler, and then down loaded into the microcontroller's program memory from where it is run. Errors (God forbid) can be easily corrected on the PC and the modified program downloaded again (and again).
I have experience of several families of devices.
Here are some links. If you are downloading data sheets, get up early and do it before the WWW locks solid.
Documentation
Manufacturers.
Tools/Programmesr
Misc
Raisonance do a demo version of their C compiler. It will let you generate code upto 4Kbytes and positions it in a usable part of memory. (unlike Keil's demo version)Links to :-
Pages written by Stuart Allen. Last updated 5 Jul 2005