manuals.online logo
Brands
  1. Home
  2. •
  3. Brands
  4. •
  5. mikroElektronika
  6. •
  7. Motherboard
  8. •
  9. mikroElektronika StartUSB for AVR User manual

mikroElektronika StartUSB for AVR User manual

MikroElektronika
StartUSB for AVR™
Manual
All MikroElektronika´s development systems represent irreplaceable
tools for programming and developing microcontroller-based devices.
Carefully chosen components and the use of machines of the last
generation for mounting and testing thereof are the best guarantee of
high reliability of our devices. Due to simple design, a large number of
add-on modules and ready to use examples, all our users, regardless
of their experience, have the possibility to develop their projects in a
fast and efcient way.
Development System
MikroElektronika
2StartUSB for AVR
Figure 1: StartUSB for AVR development system
How to connect the development system?
The StartUSB for AVR development system can be easily connected to a PC via a USB connector CN2, Figure 3. The
microcontroller pins can be connected to a device via 1x12 connectors CN3 and CN4. An LED labelled POWER is used
to indicate whether the board is turned on or off, whereas LEDs PD5 and PD6 can be congured to indicate the logic
state on the PD5 and PD6 pins. In order to enable programming via bootloader place jumper J3 (ENABLE BOOT) on
the board.
StartUSB for AVR
The StartUSB for AVR is a miniature development system that enables you to experiment with the AT90USB162
microcontroller.
Key features:
- Bootloader;
- Proto board;
- USB support;
- 5V power supply voltage.
MikroElektronika
3
StartUSB for AVR
How to program the microcontroller?
A .hex code is loaded into the microcontroller via the bootloader program stored in the microcontroller memory. The
Atmel FLIP application is used to transfer the .hex code from the PC to the microcontroller.
Follow the steps below in order to program the microcontroller properly:
R27 27
FB1
FERRITE
R26 27
C15
100nF
PB0
PD4
PB1
PD3
PD5
PD6
PD7
PB2
PD2
PB3
PD1
PD0
PB4
PB5
PC7
PB7
PC5
PC2
PB6
PC6
PC1
PC4
VCC
C24C13
100nF2.2uF
E5
10uF
R41
4K7
R15
2K2
LD2 LD3
J1
J3 J2
PD5
PD7
PD6
VCC
R3
4K7
LD1
POWER
VCC
VCC
CN3
CN4
CN2
D-
RESET
D+
USB MINI B
USBDN
USBDP
R17
10K
R1
10K
RESET
VCC
VCC
14C
100nF
T1
X1
8MHz
C10
22pF
C11
22pF
AT90USB162
AVCC
PD3
PD4
PD5
PD6
PD7
PB0
PB1
PB2
UVCC
D-/SDATA
D+/SCK
UGND
UCAP
PC4
PC5
XTAL1 RESET/PC1
PC6
PC7
PB7
PB6
PB5
PB4
PB3
PC0(XTAL2)
GND
VCC
PC2
PD0
PD1
PD2
Figure 2: The StartUSB for AVR development system connection schematic
STEP 1: Install Atmel FLIP
Download the Atmel FLIP program from Atmel’s website at:
http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3886 (FLIP 3.4.2 for Windows (Java Runtime Environment
included))
After download is completed double click on the FLIP installation icon
Follow on-screen instructions and install the program on your PC.
MikroElektronika
4StartUSB for AVR
STEP 2: Connect StartUSB for AVR to your PC
STEP 3: Start Atmel FLIP program
Attach StartUSB for AVR to a PC via a USB cable, Figure 3. A PC will automatically start driver installation for a new
hardware. If the driver installation fails go one step back and nd driver manually in the Program les-Atmel-Flip
folder.
To start this program double click on the Atmel FLIP icon . The Atmel FLIP window will appear on the
screen.
Figure 3: Connecting the system to a PC
MikroElektronika
5
StartUSB for AVR
STEP 4: Link the program with development system
After Atmel FLIP is started press RESET button on the StartUSB for AVR development board.
Click on the Select a Target Device button
Click on the Select a Communication
Medium icon. A drop down menu will appear
The Device Selection window will open
Select AT90USB162 from the drop-down list
Click on the OK button
Select the USB option (You can
also use keyboard shortcut Ctrl+U)
In the pop-up window click on the Open button
MikroElektronika
6StartUSB for AVR
STEP 5: Browse for .hex code
After the link is established all options
and buttons will become active
Click on the Load HEX File icon
In the pop-up window browse for a .hex le
Click on the OK button
MikroElektronika
7
StartUSB for AVR
STEP 6: MCU programming
After the .hex le is loaded, an information
about it will appear in the Atmel FLIP window
Information that .hex le is parsed
Click on the Run button
Click on the Start Application button
Information that .hex le verication is passed
Information that link with StartUSB for AVR is
disabled (Communication OFF)
After the MCU programming is completed, the Atmel FLIP window will become inactive.
NOTE: When the MCU programming is nished, remove jumper J3 (ENABLE BOOT) from the StarUSB for AVR
development system. Otherwise, the system will reenter bootloader mode .
MikroElektronika
8StartUSB for AVR
93.11mm
2.54mm
35.03mm
Figure 4: Dimensions of the StartUSB for AVR development system
In the compiler window select Options from the Tools menu or press F12 on keyboard.
STEP 1: Open tools menu
Figure 5: Options window
Adding FLIP to mikroC PRO for AVR compiler
Follow the next few steps to add FLIP to mikroC PRO for AVR tools list. By doing so you can start programming of MCU
on StartUSB for AVR directly from the compiler.
The process of adding FLIP tool to mikroBasic PRO for AVR and mikroPascal PRO for AVR is the same as for mikroC
PRO for AVR.
MikroElektronika
9
StartUSB for AVR
STEP 2: Add tool parameters
Rename Tool0 to StartUSB for AVR
Click on the open button
Find batchisp in the C:\Program Files\
Atmel\Flip 3.4.2\bin folder
Click on the Open button
A path to batchisp.exe le will appear in
the File Name box
NOTE:If you copy command line path
retype every quotation mark
In parameters text box type in command
line path: -device AT90USB162 -hard-
ware USB -operation erase f loadbuffer
“%HEX_FILE_NAME” program verify
MikroElektronika
10 StartUSB for AVR
Click OK
Select desired shortcut (in this case
Ctrl+F2) from the drop down list
After the source code is written, select the Build option from the Build menu to compile it.
When the source code is compiled, the .hex le is generated and ready to be uploaded into the MCU.
STEP 3: Compile source code
Click on the Build option or press Ctrl+F9 on keyboard
To upload .hex le we will use StartUSB for AVR that was created in step 2. Just press Ctrl+F2 (or chosen shortcut) and
.hex le will be automatically transferred into the MCU, Figure 6.
STEP 4: Uploade .hex le into MCU
MikroElektronika
11
StartUSB for AVR
After uploading is over, a command line window (gure 6) will disappear which means that .hex le is uploaded.
Figure 6: Uploading .hex le
StartUSB for AVR
If you want to learn more about our products, please visit our website at www.mikroe.com
If you are experiencing some problems with any of our products or just need additional information, please place your ticket at
www.mikroe.com/en/support
If you have any questions, comments or business proposals, do not hesitate to contact us at of[email protected]

Other mikroElektronika Motherboard manuals

mikroElektronika BIG 8051 User manual

mikroElektronika

mikroElektronika BIG 8051 User manual

mikroElektronika 8051Flash User manual

mikroElektronika

mikroElektronika 8051Flash User manual

mikroElektronika mikroProg User manual

mikroElektronika

mikroElektronika mikroProg User manual

mikroElektronika MIKROE-1399 User manual

mikroElektronika

mikroElektronika MIKROE-1399 User manual

mikroElektronika EasyARM v6 User manual

mikroElektronika

mikroElektronika EasyARM v6 User manual

mikroElektronika Joystick click User manual

mikroElektronika

mikroElektronika Joystick click User manual

mikroElektronika mikromedia for STM32 Quick start guide

mikroElektronika

mikroElektronika mikromedia for STM32 Quick start guide

mikroElektronika mikroProg User manual

mikroElektronika

mikroElektronika mikroProg User manual

mikroElektronika mikromedia PIC18FJ User manual

mikroElektronika

mikroElektronika mikromedia PIC18FJ User manual

mikroElektronika Mikromedia User manual

mikroElektronika

mikroElektronika Mikromedia User manual

mikroElektronika EasyMx PRO v7 Quick start guide

mikroElektronika

mikroElektronika EasyMx PRO v7 Quick start guide

mikroElektronika 7seg click User manual

mikroElektronika

mikroElektronika 7seg click User manual

mikroElektronika RS485 User manual

mikroElektronika

mikroElektronika RS485 User manual

mikroElektronika Click User manual

mikroElektronika

mikroElektronika Click User manual

mikroElektronika MINI-M0 User manual

mikroElektronika

mikroElektronika MINI-M0 User manual

mikroElektronika EasyMx PRO V7 for STM32 ARM Quick start guide

mikroElektronika

mikroElektronika EasyMx PRO V7 for STM32 ARM Quick start guide

mikroElektronika Air quality click MIKROE-1630 User manual

mikroElektronika

mikroElektronika Air quality click MIKROE-1630 User manual

mikroElektronika WiFi 4 click User manual

mikroElektronika

mikroElektronika WiFi 4 click User manual

mikroElektronika MINI-M4 User manual

mikroElektronika

mikroElektronika MINI-M4 User manual

mikroElektronika mikromedia+ User manual

mikroElektronika

mikroElektronika mikromedia+ User manual

mikroElektronika mikromedia for PIC24 Quick start guide

mikroElektronika

mikroElektronika mikromedia for PIC24 Quick start guide

mikroElektronika DAC click User manual

mikroElektronika

mikroElektronika DAC click User manual

mikroElektronika mikroXMEGA MIKROE-580 User manual

mikroElektronika

mikroElektronika mikroXMEGA MIKROE-580 User manual

mikroElektronika EasydsPIC6 User manual

mikroElektronika

mikroElektronika EasydsPIC6 User manual

Popular Motherboard manuals by other brands

Gigabyte GA-EG31MF-S2 user manual

Gigabyte

Gigabyte GA-EG31MF-S2 user manual

GATEWORKS GW2348-4 operating manual

GATEWORKS

GATEWORKS GW2348-4 operating manual

ST EVAL-RHRPMPOL01 user manual

ST

ST EVAL-RHRPMPOL01 user manual

Intel DCCP847DYE specification

Intel

Intel DCCP847DYE specification

ASROCK B550 EXTREME4 user manual

ASROCK

ASROCK B550 EXTREME4 user manual

Intel D925XCV specification

Intel

Intel D925XCV specification

Vox Technologies SSC-5x86H user manual

Vox Technologies

Vox Technologies SSC-5x86H user manual

ASROCK H61M-IDE manual

ASROCK

ASROCK H61M-IDE manual

MSI Z87-G55 user manual

MSI

MSI Z87-G55 user manual

Intel D865GRH Produkthandbuch

Intel

Intel D865GRH Produkthandbuch

IBASE Technology MI889 user manual

IBASE Technology

IBASE Technology MI889 user manual

Fujitsu Siemens Computers D2300 Tehnical manual

Fujitsu Siemens Computers

Fujitsu Siemens Computers D2300 Tehnical manual

ECS P45T-A user manual

ECS

ECS P45T-A user manual

Biostar N4SIE-A7 Bios setup manual

Biostar

Biostar N4SIE-A7 Bios setup manual

Eurotech PXA320 user manual

Eurotech

Eurotech PXA320 user manual

Artesyn MVME4100ET Installation & use

Artesyn

Artesyn MVME4100ET Installation & use

Asus P5G41-M SI user manual

Asus

Asus P5G41-M SI user manual

EVGA P67 FTW user guide

EVGA

EVGA P67 FTW user guide

manuals.online logo
manuals.online logoBrands
  • About & Mission
  • Contact us
  • Privacy Policy
  • Terms and Conditions

Copyright 2025 Manuals.Online. All Rights Reserved.