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

AVRStudio
connection
problems

Apart from the hardware interface, the debug process is the same as DebugWire.
Use 

Build and Run

 or 

Debug > Start Debugging

 to connect to device and then

use 

Run

 or 

Step

, or set breakpoints. A yellow arrow shows position in your code.

AVRStudio can be a bit unstable, and if you get connection problems or peculiar
behaviour, try unplugging USB cable, cycling power on STK200 board and
sometimes closing and re-opening AVRStudio software.

Occasionally, you may need to restart PC to reset everything, but usually just
closing AVRStudio works.

The Kanda installer will copy a range of documents to a folder called

 STK200

Dragon

 in your Program Files folder.

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 started with AVR Studio and AVR
instruction set

 

C Sample Code folder has example C Projects covering basic topics such as
LED flashing, UART, LCD and Keypad

 

Documentation folder has description of STK200 board, LCD details, AVR
datasheets folder and STK200 board schematics

 

Embedded C book has a PDF book about writing C code

 

Get Going with AVR book is a good place to start if you do not know anything
about AVR microcontrollers

 

Assembler Sample Code folder contains Assembler example files on a range
of topics.

AVRStudio Help Menu

 has AVR Tools User Guide. Select

 AVR Dragon User

Guide

 from list for more information on AVR Dragon, and on its prototype area.

Other Documents

Содержание 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...

Отзывы: