24 pin module C Compiler
|
2-Jul-2005
Click here
for a larger photo of the StAVeR-40M32
StAVeR-40M32-BASCOM 128
€uro
StAVeR-40M32-DK 129
€uro
StAVeR-40M32-DK-BASCOM 178
€uro
Please check out Basom-AVR Basic Compiler
for the StAVeR.
Features of the StAVeR-40M32:
The StAVeR-40M32 has 2Kbytes if SRAM. This allows your programs to be more complex and contain more data for e.g. data aquisition from sensors etc. Program memory
The StAVeR-40M32 has originally 32K of FLASH program memory, but 2Kbytes are reserved for the BOOT loader which enables you to download code via RS232 instead of using a programmer. The program space (30Kbyte) can be used by one large program filling all 30Kbyte. There are no page boundaries or 2K limits (as on the PICmicros) to be concerned with when using the StAVeR-40M32. A program can jump or call a routine from one point to the next anywhere in the whole program memory. Speed There are several ways to rate a microcontrollers speed. One method that is widely used with interpreter chips, is to use the fastest instruction. So unless your program is nothing more than a series of fast commads, this speed rating is useless. Interpreter chips also have to fetch the commands stored in an external memory (EEPROM) via e.g. SPI or slow I2C, then look up what they shall do and then execute the command, therefor you get a very slow microcontroller compared to using a Compiler which translates your code directly into instructions that the microcontroller knows directly at runtime and doesn't need to be translated. The StAVeR-40M32 does 1 million instructions per Megahertz, meaning it does more than 14 milion instructions per second making it more than several 100 times faster than an interpreterchip. No ISP programmer needed The StAVeR-40M32 doesn't need any external
programmer that occupies a parallel port or an extra COMx port. Further
you do not have to lift it out from your system to be able to program it.
Simply connect a standard straight Male/Female RS232 cable to your PC and
dowload programs via the download software that comes with StAVeR-24M32
or from within BASCOM-AVR or ICCAVR directly. The StAVeR-40M32 is delivered
with a BOOT software programmed into the chip that enables true IAP (In
Application Programming), however you do not need to use this feature and
can program the StAVeR-40M32 with a standard ISP programer for AVR through
the SPI port connecting to the BLACK 10 pin ISP connector on the mother
board (or if you connect it manually to 6 pins). This connector contains
MOSI/MISO/CLK/RESET/VCC/GND. This BLACK 10 pin ISP connector has the same
pin configuration as the 10pin Atmel IDC10 connector (similar found on
STK200/300/500 and many other 3:rd party programmers). In order to use
the Boot loader from BASCOM, you need version 1.11.7.4 or later (select
Lawicel bootloader of the availible programmers in BASCOM-AVR). In order
to use the Boot loader from ICCAVR, you need version 6.29 or later (select
staver of the availible programmers in ICCAVR).
The StAVeR-40M32 comes preprogrammed with a boot loader capable of dowloading code via the serial port at 115,200baud (16Kbytes in less than 3 seconds). Both BASCOM-AVR and ICCAVR supports this boot loader made by LAWICEL specially designed for the StAVeR modules. If the user decide to use the regular ISP programmer instead of the boot loader, they may erase the boot loader and change fuse bits accordingly, however we do not support problems that might occur when doing so, nor if fuse bits are programmed in the wrong way causing the ATmega32 to be unreachable via ISP (i.e. setting wrong clock/chrystal settings etc.). Those who does this are on their own. However if the user wants to do this and at a later point want to re-program the boot loader into the StAVeR-40M32 module and reset the fusebits, we have here some information on how the fusebits shall be set and the boot loader application in a hex file. Please follow this link for more info. Floating Point Math The StAVeR-40M32 can do floating point maths and is not limited to Integers such as many other similar products. The StAVeR is capable of handling integers up to 4,294,297,295 (32bit). The floating point math is fast due to compiled code instead of interpreted code. All compilers on the market (BASCOM-AVR, ICCAVR, CodeVision AVR, GCC etc.) supports floating point. Interrupts The StAVeR-40M32 has several "built-in" hardware interrupt sources, such as Timer, USART, ADC, External etc. Interrupts allow you to trigger on an event instead of polling which could lead to that you miss the event such as a new character to be fetched in the USART or that an external hardware is ready to accept a new value or is ready to send you a value (this enables fast transfers without any unneccessary delays). Sample Programs & Getting started Right now there are 1sample program
for the StAVeR-40M32 written in BASIC with BASCOM-AVR. Please
follow this link for more info. More programs will be added shortly.
StAVeR-40M32/DevKit This kit is a complete starterkit with StAVeR-40M32 mounted on Motherboard. The motherboard has 4 buttons, 2 LED's, Piezo buzzer, LCD and a large proto area under the LCD. The LCD is easily removed (no screws etc.). The kit also contains a serial cable for downloading code and for debug purposes etc. plus a power cable which could be connected to a 9VDC battery or any standard 9-12VDC power supply.
http://www.lawicel.com/staver/staver40m32.htm
has all available information.
Copyright © 1996-2005 Dontronics |