background image

Copyright

 © 

Kanda 2013

6

Pop-up Warnings

This displays a message box if there is a verify error. Useful if repeated Auto Program
operations are carried out, when it can be easy to ignore errors.

Setup

This can also be selected by clicking the Setup Button. It covers a variety of settings,
which are not needed on STK300 board, except Communications Device. This is
needed if you have multiple parallel ports when you should select the correct LPT port.

The other settings are mostly for use on your own circuits, and are described on the
screen.

Reset Button

This is used to Reset the AVR on the board. This is a way of resetting communications if
errors occur or the programmer cannot find the chip.

STK300 Board Description

The schematics of the board are available in the Documentation > STK300 folder on the
CD.

Voltage Selection

There is one jumper – JP1 – for setting the board voltage. If the jumper is on, the board
operates at 5V. If it is off, the board operates at 3.3V.

Notes:

1)  If the board is set to 3.3V, the brownout circuit should be set to 2.9V by removing

JP2

2)  The ISP interface is supplied with 5V regardless of the board voltage.
3)  The Atmega128L supplied as standard can operate from 2.7-5.5V

Brownout Circuit

The STK300 has a brownout detector to reset the AVR if the voltage drops too low. The
brownout level is set using JP2 and should match the voltage selected by JP1 i.e. JP1
and JP2 both off or both on.

Clock Circuit

The board uses an 8MHz crystal connected to a 74HC00 external clock chip. The clock
signal is connected to XTAL1 pin on Atmega128.

Serial Ports

The Atmega128 has two hardware USARTs. Both are connected through a MAX202
chip to give RS232 level signals.
USART0 (RXD0/TXD0) is connected to the female 9-way D-Type connector.
USART1 (RXD1/TXD1) is connected to a 2-way pin header, labeled COM2.

Both USARTs are also available, at TTL levels, on the expansion headers on the edge
of the board (UART0 on PE0, PE1 and UART1 on PD2, PD3)
Details about Baud Rates, control and other settings are in Atmega128 datasheet.

Содержание STK300

Страница 1: ...nt We recommend that you do install these unless you already have them on your PC There are three main pieces of software AVRISP This is the programmer software used for transferring code from the PC...

Страница 2: ...nnect up the hardware and program some sample files on to the board using AVRISP before tackling writing code in AVRStudio However it is up to you There is also a book in Kanda AVR folder called Get G...

Страница 3: ...12VAC or 9 15VDC with a current capacity greater than 300mA AVRISP software Now run the AVRISP software A Green Light should appear at the bottom of the screen with the message ISP Initialized Detect...

Страница 4: ...e procedure or type data directly into the buffer in Hex numbers or ASCII characters Programming the AVR All operations on the AVR chip are carried out from the Device Menu Note AVR devices must be er...

Страница 5: ...d Lockbits Click on the Fuses and Lockbits Tab to view the Fuse screen These are settings on the Atmega128 that can be altered to affect the way the device runs and interacts with the circuit The defa...

Страница 6: ...rates at 5V If it is off the board operates at 3 3V Notes 1 If the board is set to 3 3V the brownout circuit should be set to 2 9V by removing JP2 2 The ISP interface is supplied with 5V regardless of...

Страница 7: ...used in conjunction with the Analog header if Analog to Digital function is used ADC Circuit The ADC circuit uses Port F and the 4 way Header marked Analog To use the ADC with the Internal Reference P...

Страница 8: ...nd programming debugging interface next to the mounted AVR chip This connector should NOT be used for normal ISP operations It has the recommended Atmel JTAG Interface pin out and can be used with JTA...

Страница 9: ...board is not designed for use with back lit LCD modules so the extra connections needed are not included and the power supply will not supply the current required The LCD can be driven in Memory Mappe...

Страница 10: ...ega128 datasheet Pull ups must be enabled on these lines Switches and Bar LED There is a 10 way bar LED fitted to the board One LED is Power labeled ON and should be on when the board is powered The n...

Страница 11: ...er The board schematics are also available on the CD AVR Studio AVR Studio is Atmel s development environment Documentation is available in the AVR Studio folder in default install path There is a sub...

Страница 12: ...the next screen 1 Set Debug platform to AVR Simulator unless you have an In Circuit Emulator such as our JTAGAVR In this case choose JTAG ICE 2 Set Device to Atmega128 3 Click Finish Button Now the p...

Страница 13: ...added to AVR Studio Tools menu if it is installed after AVR Studio The default installer for STK300 will install them in the correct order To run AVRISP from AVR Studio go to Tools Menu Kanda Tools AV...

Страница 14: ...ot so fussy otherwise code will not run 2 Changing device in AVR Studio project does NOT change device in C compiler You need to go to Project Configuration Options and change device there as well Als...

Страница 15: ...e set Debug Platform to JTAG ICE not AVR Simulator The list of available devices is much smaller as only some AVR devices have the JTAG Interface Choose Atmega128 For more device support and the optio...

Страница 16: ...rent version or install a new Service Pack then it may want to do a firmware update using the built in AVRProg software Serial port versions of JTAGAVR will update fine but USB versions will not be fo...

Страница 17: ...upply add ons for the STK300 including LCD modules keypads Flash RAM 24C EEPROMs extra mounted Atmega128 devices ICE and a universal power supply Flash RAM and Address Latch see www kanda com go STK20...

Страница 18: ...2013 18 Website www kanda com Email sales kanda com Tech support support kanda com Support Pages www kanda com support Phone 44 0 8707 446 807 Fax 44 0 8707 446 807 Address Canolafan Llanafan Aberystw...

Отзывы: