KANDA STK200 Dragon Скачать руководство пользователя страница 6

Powering STK200 Board

The AVR Dragon is self-powered from USB bus, and in most circumstance it
can also be used to power the STK200 board using the two wires supplied.
Unless you add extra circuitry, the STK200 board will draw less than the
100mA that the USB can supply.

If you have any doubts about your USB, then do not power the board from
AVR Dragon. The alternative is to connect a power supply to the power
connector on the STK200 board.

 2.1mm 

barrel 

connector

 

Centre positive or negative

 

9-15VDC or 6-12VAC

The AVR Dragon has a 6-way connector marked VCC and GND, next to
JTAG connector. It has 3 VCC and 3 GND pins. Connect the green wire
supplied to one of the GND pins, and the red wire to one of the VCC pins.

All the port headers on the STK200 board also have a GND and VCC pin. It
does not matter which header you use but Port A is most convenient. Connect
the green wire to GND pin on Port A header (inside) and red wire to VCC pin
(outside).

Side Note:

 There are also VCC and GND pins on 14-way LCD header on

STK200 board, if it is easier to use these instead in your setup. GND wire can
be omitted as JTAG or ISP headers have GND line connected already but
board will only be powered if cable is left connected.

This picture shows the completed connections.

STK200
Board Power
Connection

STK200
Board Power
from AVR
Dragon

Содержание STK200 Dragon

Страница 1: ...nto the AVR using ISP or debug files elf files to step through the code The AVR Dragon hardware is a programmer and In Circuit Emulator ICE in one tool Once source code is built it can be programmed i...

Страница 2: ...and at www atmel com AVR Studio is project based so you need to create a project before you can do anything Project extension is aps Follow this procedure 1 Run AVRStudio and select New Project from W...

Страница 3: ...C Code section for using C language 3 Now go to Build Menu Build This will assemble the file and create object code file hex for programmer and Elf file for debugger in Project folder or sub folder c...

Страница 4: ...R Dragon board labeled ISP Connect the 6 way adapter to this header as shown with key way facing prototype area There is a jumper on adapter PCB This should be ON for ISP and OFF for DebugWire DW It i...

Страница 5: ...ter and into the 10 way box header on STK target board The complete ISP or DebugWire connection looks like this Connect the AVR Dragon to a USB port on your computer The New Hardware Wizard will appea...

Страница 6: ...d GND next to JTAG connector It has 3 VCC and 3 GND pins Connect the green wire supplied to one of the GND pins and the red wire to one of the VCC pins All the port headers on the STK200 board also ha...

Страница 7: ...this Dialog will appear Make sure AVR Dragon is set as platform and your connections are all ok and try Connect button Once it has connected you may get a Firmware Update message depending on your ve...

Страница 8: ...ess Change this to one of the External Crystal choices External Crystal Osc Or Resonator 8MHz or High Frequency at the bottom of the list Exact choice does not matter CLKDIV8 Some AVRs have this fuse...

Страница 9: ...finished debugging your code you will need to clear DWEN again or you will not be able to use ISP with the device Before exiting debug mode Stop Debugging you will need to disable DWEN Choose Debug A...

Страница 10: ...adapter to the correct port header with the back of the adapter PCB facing out from the board Fit the 10 way cable to the adapter and connect it to header marked JTAG on AVR Dragon with keyway facing...

Страница 11: ...der Folder Description AVR Studio folder contains 2 folders App Builder and Documentation App Builder is a Wizard to help create assembler or C file templates Documentation has PDF files on getting st...

Страница 12: ...e is a document called Pointers PDF in C Sample Code folder that covers arrays and pointers if you are not familiar with C programming Embedded C Book There is a PDF book on Embedded C Programming in...

Отзывы: