Dontronics Home Page StAVeR-24M32 is a microcontroller module based on an Atmel ATmega32
 


Dontronics Catalog
View Shopping Cart Contents
 
 
 
 
 
 
 
 
 
 

 

Home Products Site Map Order Contact What's New Books Free Files Links FAQ
Dontronics Catalog View Shopping Cart Contents

2-Jul-2005 
Sorry, no longer available from dontronics.com
Please go to: http://www.lawicel.com/staver/staver24m32.htm
 

StAVeR-24M32 is a microcontroller module based on an Atmel ATmega32 in a small DIP24 package with the same pin out as the Parallax  Basic Stamp®, NetMedia BasicX(TM) and the BasicMicro Atom. However this DIP module doesn't have an interpreter. It needs a compiler such as a C compiler, BASIC compiler or it can be programmed directly in Assembler. Dowloading code is done via the built in RS232 interface, so no need for an external programmer.

Click here for a larger photo of the StAVeR-24M32

StAVeR-24M32 39 €uro 
DIP24 module with ATmega32 (preprogrammed with boot loader)
 
 

StAVeR-24M32-BASCOM 88 €uro 
DIP24 module with ATmega32 with BASCOM BASIC Compiler. This special price combination will save you around 20 €uro.

StAVeR-24M32-DK 89 €uro 
StAVer-24M32 with Motherboard (LCD, Piezo, RS-232 Cable, and Power Connector included)

StAVeR-24M32-DK-BASCOM 138 €uro 
StAVeR-24M32-DevKit with BASCOM BASIC Compiler. This special price combination will save you around 20 €uro.

Please check out Basom-AVR Basic Compiler for the StAVeR.
See also: StAVeR-40M32 40 pin module
Please follow this link for full info on StAVeR.

Features of the StAVeR-24M32:
 
  • 30Kbytes of Flash code memory
  • 2Kbyte of Flash BOOT code (for downloading code)
  • 1Kbytes EEPROM
  • 2Kbyte SRAM
  • One external interrupt sources
  • Two 8-bit Timers
  • One 16-bit Timer
  • 8 ea 10bit ADC channels
  • I2C hardware interface
  • Master SPI interface via 6pin connector according to original Atmel ISP programmer but with a smaller header
  • Programmed via RS232, no need for external programmer
  • ESD protected RS232 up to 115.2Kbaud

  • On board Green, Yellow and Red LED.

Variable Space

The StAVeR-24M32 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-24M32 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-24M32. 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-24M32 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 (In System Programmer) programmer needed

The StAVeR-24M32 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-24M32 could be used with all those motherboards or activity boards that excist on the market today, such as the BOE from Parallax and other 3:rd party boards and you do not have to adjust or modify these boards to be able to program (download code to) the StAVeR-24M32. The StAVeR-24M32 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-24M32 with a standard ISP programer for AVR through the SPI port connecting to the RED 6 pin ISP connector. This connector contains MOSI/MISO/CLK/RESET/VCC/GND. This RED 6 pin ISP connector has the same pin configuration as the original 6pin Atmel IDC6 connector even though the connector type is new it has the same pin out, so you can easily crimp the new AMP style connector on the excisting cable and be able to program it with ISP. The mother board also have the other 10pin ISP 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).

Boot loader

The StAVeR-24M32 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. The on board LED's of the StAVeR-24M32 indicates the process of programming. 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-24M32 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-24M32 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-24M32 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 2 sample programs for the StAVeR-24M32 with identical functionallity but written in 2 diffrent languages (compilers). One is written in C with ICCAVR, the other in BASIC with BASCOM-AVR. Please follow this link for more info. More programs will be added shortly.

http://www.lawicel.com/staver/staver24m32.htm has all available information.

   Download schematic.

http://www.lawicel.com/staver/staver24m32.htm

Bare Motherboard

Populated  Motherboard

StAVeR-24M32-DK-BASCOM  ($134USD)
StAVeR-24M32-DevKit with BASCOM BASIC Compiler. This special price combination will save you around $20USD.

This kit is a complete starterkit with StAVeR-24M32 mounted on Motherboard. The motherboard has 4 buttons, Piezo summer, 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. A full version of BASCOM-AVR is also included, however this is the web downloaded version, and is NOT a CD as shown in the picture. 

Dontronics Version of the StAVeR-24M32-DevKit:
As pictured above. Bascom-AVR is web downloaded, not on a CD. Includes DC power connector to plug into the motherboard, but no power cable attached. RS-232 Cable is Included. Motherboard is full assembled and tested. Module is socketed.
 
27-Nov-2003 
Q1 I can't get the unit to run the boot loader.
A1 If you are using a motherboard, check your power. The DC content must be reasonably good. If it doesn't have enough filtering capacitance, the buzzer may sound continuously, and the yellow LED stays on Permanently.
Q2 What should I see on initial power up?
A2 The yellow LED starts the sequence, then the other two LEDs follow in a rotating continual pattern. One button beeps the buzzer, another two control the back light. A message is sent out the serial port, and to the LCD.
Q3 The LCD doesn't appear to be working, yet everything else seems fine.
A3 Check the potentiometer for the correct contrast.
23-Nov-2003
Q1 With regards to the StAVeR-24M32, can the SPI port on the top connector be used a a master under program control when it is not being used for ISP?
A1 Yes, you can program the Staver directly on this red ISP connector. We program e.g. the bootloader and set fuses via this connector and
doesn't have the StAVeR connected to a system, i.e. we supply the 5V through this connector.
Q2 Where to get the mating connector for the top SPI connection?
A2 AMP makes them and many others. 
Q3 Does the BASCOM-AVR development software include provisions for doing assembly language programming?
A3 Yes, you can include asm with $asm and $end asm :

$asm
ldi r24,1
;whatever
$end asm

 Or use !
!ldi r24,1

And most asm will work even without !
print "Hello"
ldi r24,1
 ! is for same statements :
OUT is asm and BASIC statement.

17-Oct-2003 
Q1 I have just bought a StAVeR-24M32/DK and I wanted to program it using the boot loader.  Your page http://www.lawicel.com/staver/staver24m32.htm indicated that the StAVeR-24M32 comes with download software but my StAVeR-24M32/DK did not.  Is there a way of programming the board via the boot loader without using  the ICCAVR or BASCOM products?
A1 The Bootloader is programmed in every Staver24, so they come with a bootloader. Now for using this bootloader you need ICCAVR or BASCOM. If you power the staver up and see the yellow led on for approx. 0.5 seconds before anything else, you know you got the bootloader in the staver. We have one allready, which is not put on web yet. If you can support binary files, you can use this and I can e-mail it to you. It doesn't support hex files at the moment. 
Q2 Also is the communication protocol to the boot loader available?
A2 No and it wont be.

Dontronics Home Page

    _
    Copyright © 1996-2005 Dontronics
Dontronics Catalog View Shopping Cart Contents