Line 11: Line 11:
 
To power up and program the starter AVR board connect type B USB cable as shown in figure.
 
To power up and program the starter AVR board connect type B USB cable as shown in figure.
 
[[File:starter2.JPG]]
 
[[File:starter2.JPG]]
=Code=
+
 
=Demo=
+
=Software Setup=
 +
In this tutorial series we are using [http://exploreembedded.com/wiki/index.php?title=Using_XploreFlash_For_USBasp_based_Programmer Xplore Flash] to transfer the hex file to the target MCU.
 +
''Steps below show how to trasfer the hex file to the MCU using Xplore Flash.''
 +
# Open the Xplore Flash and select programmer as '''Arduino''' .
 +
# Connect the AVR breakout board to computer through USB to serial breakout so it will detect as a COM port.Select a COM port and set baud rate '''19200''' .
 +
# Click on "detect" ,it will detect the MCU as '''ATmega32'''.
 +
# After detecting the MCU browse the hex file .''
 +
# Then just click on '''Go'''. it will erases, Flashes and verifies the hex file.
 +
 
 +
[[file:xploreflash_6.PNG]]
 +
 
 +
Checkout the [[Blinky with Starter AVR  ]] tutorial, on how to set up the software, generate a hex file and blink an LED.
 
=Downloads=
 
=Downloads=

Revision as of 11:48, 1 April 2016

0 starter0.PNG In this tutorial we will look at setting up the starter AVR board. Once you have done with this basic set up, you can use on board peripherals as well as many other peripherals which can be connected to board using on board GPIO's.

Basics

This board comes with a ATmega 32 microcontroller, which has arduino bootloader flashed into it. To program this board using SPI and external programmer check out our AVR Hardware and Software Setup tutorial
As starter AVR board comes with inbuilt arduino boot loader and this board has on board USB to serial converter indicated by '8' in below diagram so you need to connect only B type USB cable to port indicated by '9' in below diagram. Starter1.PNG

Hookup

To power up and program the starter AVR board connect type B USB cable as shown in figure. Starter2.JPG

Software Setup

In this tutorial series we are using Xplore Flash to transfer the hex file to the target MCU. Steps below show how to trasfer the hex file to the MCU using Xplore Flash.

  1. Open the Xplore Flash and select programmer as Arduino .
  2. Connect the AVR breakout board to computer through USB to serial breakout so it will detect as a COM port.Select a COM port and set baud rate 19200 .
  3. Click on "detect" ,it will detect the MCU as ATmega32.
  4. After detecting the MCU browse the hex file .
  5. Then just click on Go. it will erases, Flashes and verifies the hex file.

Xploreflash 6.PNG

Checkout the Blinky with Starter AVR tutorial, on how to set up the software, generate a hex file and blink an LED.

Downloads