There are the accessible units of
many firms on the
market. One can distinguish among the most well-known: Microchip,
STMicroelectronics, or Atmel. Processors AVR of the firm Atmel the
special success are pleased. There are generally accessible tools of
the type of environments IDE for them, how also packets, assembling
several separate applications (edytory, compilers, itp. debuggery), how
also devices programing/testing. The core AVR is bases on
architecture RISC (Reduced Instruction Set Computer). The reduction
relates to certain group of logical orders operating on the memory of
the data directly. He is offered in instead for this the large number
of registers and quick work. The firm Atmel while projecting the
arrangement consulted with experts in the field of the implementation
of the languages of the high level. From here commercial products are
equipped in the compiler of the language of the high level the
most often:
AVRco – the language Pascal
ArtmanAVR C – the language C-GCC
BASCOM-AVR – the language Basic
Code VisionAVR C – the language C
ImageCraft ICCAVR - the language C
IAR Embedded Workbench – the language C
Under IAR the attention deserves in relation to the
efficiency of the compiler on special. Because the service vega-xp.com
he is we should designed for lovers nearer to look on free software,
made accessible on the manufacturer side Atmel. The speech here
obviously about AVR Studio. This is steels actualized and unreeled
integrated developmental environment (IDE). Editor, assembler
translator come in in his composition, the compiler AVR-GCC, simulator,
module uruchomieniowy, emulators and as it consented on IDE -
programmer unit. He turns out unfortunately that this programmer unit
co-operates only with devices such how: AVRISP, JTAGICE, if STK500.
Dear company devices are this. The possibility of the addition of
different programmer units to AVR Studio exists fortunately. How you
will add programmer PonyProg find out in the next article.
The simulator allows to test the programme
without the necessity of the programming of the microcontroller memory.
Can the programme the any moment to stop, to start the step after the
step, to check the conditions of registers, itp. harbours
The languages of the high level are very comfortable constructing large and folded program modules.
They do not require the detailed acquaintance of the structure of concrete microcontroller.
We even meet with ready procedures initializing displays LCD and different interfaces.
Using the languages of the high level gives however sometimes very undesirable workings.
The volume of the programme is often considerably larger than after writing him in the clean assembler.
We do not have the access to all structures of the concrete type microcontroller without the assembler.
Large difficulties also step out as soon as the time of the
reaction is for us the critical value and depends us on the efficiency
of software very much. During the service of breaks the universal
procedures of the languages of the high level, the conditions of
registers throw in on the heap of the processor in first order. He
happens so in the aim of avoidance of the podmiany of the data during
the service of the break. Such workings are not always necessary (we
can but use different registers during breaks). Writing such procedure
in the assembler we have considerably larger elasticity of the working.
We can somewhat alter the order, executing the first most urgent
operations, and just later remember the registers which we will use in
the more far order. Sooner or later You will pass the matter that only
the assembler gives the full control over the processor and
using high level languages is sometimes not
enough.