(8 intermediate revisions by 3 users not shown)
Line 11: Line 11:
 
[[File:Starter1.PNG]]
 
[[File:Starter1.PNG]]
 
=Hookup=
 
=Hookup=
To power up and program the starter AVR board connect type B USB cable as shown in figure.
+
<br />
[[File:starter2.JPG]]
+
 
 +
To power up and program the starter AVR board connect type B USB cable as shown in figure. For installing drivers for starter AVR board check out our [[Installing CP2102 USB Drivers]] tutorial.
 +
<br />
 +
 
 +
 
 +
[[File:starter2.JPG|x400px]]
  
 
=Software Setup=
 
=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.  
+
In this tutorial series we are using "Xplore Flash" software to program the target MCU. Download [https://www.exploreembedded.com/wiki/images/e/ef/XploreFlash.zip Xplore Flash GUI].<br>
''Steps below show how to trasfer the hex file to the MCU using Xplore Flash.''
+
Steps below show how to trasfer the hex file to the MCU using Xplore Flash.
 
# Open the Xplore Flash and select programmer as '''Arduino''' .
 
# 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''' .
+
# Connect the starter AVR board to computer, it will detect as a COM port. Select detected '''COM''' port and set baud rate '''19200''' .
# Click on "detect" ,it will detect the MCU as '''ATmega32'''.
+
# Click on '''Detect''', it will detect the MCU as '''ATmega32'''.
# After detecting the MCU browse the hex file .''
+
# After detecting the MCU browse the '''hex''' file .''
# Then just click on '''Go'''. it will erases, Flashes and verifies the hex file.
+
# Then just click on '''Go''', It will erase, Flash and verifies the hex file.
 +
<br />
 +
 
  
 
[[file:xploreflash_6.PNG]]
 
[[file:xploreflash_6.PNG]]
 +
<br />
 +
  
 
Checkout the [[Blinky with Starter AVR  ]] tutorial, on how to set up the software, generate a hex file and blink an LED.
 
Checkout the [[Blinky with Starter AVR  ]] tutorial, on how to set up the software, generate a hex file and blink an LED.
=Downloads=
+
 
 +
 
 +
 
 +
{{DISQUS}}

Latest revision as of 18:58, 25 August 2016

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.

0 starter0.PNG

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. For installing drivers for starter AVR board check out our Installing CP2102 USB Drivers tutorial.


Starter2.JPG

Software Setup

In this tutorial series we are using "Xplore Flash" software to program the target MCU. Download Xplore Flash GUI.
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 starter AVR board to computer, it will detect as a COM port. Select detected 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 erase, Flash 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.