ReadyAVR-64™ Development Board Users Manual To our valued customers I want to express my thanks to you for being interested in our products and for having confidence in www.100MHz.com.The primary aim of our company is to design and produce high quality electronic products and to constantly improve the performance thereof in order to better suit your needs. Please share your thoughts and feelings regarding our operation so that we www.100MHz.com can serve you better in the future. I thank you for your continued support and patronage. Your Dream is our Destination! The Microchip, TI,Freescale,ST,Atmel,Silicon and CYPRESS name, logo and products names are trademarks of Microchip, TI,Freescale,ST,Atmel,Silicon and CYPRESS Inc. in the U.S.A. and other countries. Sincerely, Owner and General Manager of www.100MHz.com Welcome to visit our website: www.100mhz.com for more data and development tools 1 ReadyAVR-64™ Development Board Users Manual CONTENTS Ⅰ.What is ReadyAVR-64™?................................................................................................................................. 3 Ⅱ.Appliance............................................................................................................................................................ 3 Ⅲ.Power supply ...................................................................................................................................................... 3 Ⅳ.Hardwre Connection description ...................................................................................................................... 3 Ⅴ.What’s on board ................................................................................................................................................ 4 Ⅵ.MCU programming ........................................................................................................................................... 5 Ⅶ.Board dimensions .............................................................................................................................................. 7 Ⅷ.Schematic .......................................................................................................................................................... 8 Ⅸ.Contact Us ......................................................................................................................................................... 8 Welcome to visit our website: www.100mhz.com for more data and development tools 2 ReadyAVR-64™ Development Board Users Manual Ⅰ.What is ReadyAVR-64™? The ReadyAVR-64 Board is a complete solution for fast and simple development of embedded applications by using a new Atmel® ATmega128 or Atmega64 device connected to 7.3728Mhz oscillator. Key features: - Bootloader program loaded into the ATmega128/Atmega64 microcontroller; - CP2102 USB to UART converter for RS232 communication and bootloader programming. - Joystick; - LEDs; - Standard ISP6 connector; - Standard ISP10 connector; - Standard JTAG connector; - Proto area for your further design; - System Reset Key; - All Ios are taken out; - 7-10V DC power supply or USB power supply; - 3.3v/5v System power supply selection; Ⅱ.Appliance The ReadyAVR-64 Board represents a miniature development system which can be used as a stand-alone device. Due to its preloaded bootloader program and 8-bit MCU it is ideal for low-cost experimenting and final product design. Ⅲ.Power supply For connection with a power supply source the ReadyAVR-64 Board uses a screw terminal EX-PWR. The power supply voltage level can vary from +7-10V DC. When programming the MCU via bootloader it is necessary to connect the board to a PC via a USB cable and the external power supply is no need during this time. Ⅳ.Hardwre Connection description 1. For easy access to the pins of the MCU supplied on the ReadyAVR-64 Board you can use pads. Every pad is clearly marked with a pin name to which it is connected to. 2. You can provide the board with additional components by placing them on the proto area. 3. To connect the ReadyAVR-64 Board to a PC it is necessary to connect the USB port on the PC to a USB connector USB/POWER via a USB cable. When connection is established the PC will communicate with CP2102 chip which is connected to MCU pins PD2,PD3,PE0 and PE1. These pins are used for serial UART0 or UART1 communication.We set UART1 as the bootloader MODE channel.In other word,you must connect UART1 jumpers and disconnect UART0 jumpers when you are using bootloader to upload hex file into your target device mega128 or mega64. 4. The ISP6 and ISP10 connector is used for programming. 5. The JTAG connector is used for programming/debugging via the JTAG interface. Welcome to visit our website: www.100mhz.com for more data and development tools 3 ReadyAVR-64™ Development Board Users Manual Ⅴ.What’s on board Area Description Area Description 1 Power Supply/USB Port 2 78m05 500mA Positive Voltage Regulators 3 LM1117-3.3 3.3V Dropout Linear Regulators. 4 3.3V and 5V Selection Jumper 5 External Power Supply Connector 6 Cp2102 USB-to UART Converter 7 Jumpers for UART0 and UART1 8 JTAG Debugging/Programming Connector 9 ISP6 Programming Connector 10 ISP10 Programming Connector 11 System Reset Button 12 Jumpers for LED/Joystick Enable 13 User LEDs 14 Joystick 15 Crystal Oscillator Socket 16 Atmega128/64 Microcontroller 17 Bootloader Indicator 18 Power Supply Indicator 19 USB-to-UART Indicator 20 ADC Filter Circuit 21 PORTA PINOUTs 22 PORTF PINOUTs 23 PORTE PINOUTs 24 PORTB PINOUTs 25 PORTD PINOUTs 26 PORTC PINOUTs 27 Proto Area 28 Installing Hole 29 3.3V/5V/GND PINOUTs 30 PORTG PINOUTs Welcome to visit our website: www.100mhz.com for more data and development tools 4 ReadyAVR-64™ Development Board Users Manual Ⅵ.MCU programming In order to program the MCU via bootloader it is necessary to place the proper jumpers like the following figure. By doing so connection between the cp2102 chip and the MCU will be enabled. If you want to use MCU pins which are used for programming (PD2 and PD3) as I/O you should remove the related jumpers. Follow the steps below for program installation and MCU programming. Step1.Instal CP2102 driver Before you connect your ReadyAVR board to a computer running Microsoft Windows, you should install its drivers: Download the CP2102 drivers for Windows from here: http://www.silabs.com/products/mcu/Pages/USBtoUARTBridgeVCPDrivers.aspx Any details,pls see “Silicon CP2102 SETUP GUIDE.pdf” we provided in CD/DVD rom. Step2.Run “AVRUBD” software Step3.Go to the Device Manager to see which com port is created Step4. Com Port Setting Welcome to visit our website: www.100mhz.com for more data and development tools 5 ReadyAVR-64™ Development Board Users Manual Enter Option/Comport to set the correct Com Port,and click “OK”. Step5. Load HEX file Enter File/Load to load HEX file into the AVRUBD software,and click “Open”. Step6. Start to Program Press RESET key to force the AVR device into the bootloader MODE,and then you will see the BOOT led blinking with about 3Hz frequency.At this time,the AVR device will stay in bootloader MODE within 5s.During this time,you can enter Operation/Download or press F9 key(PC) or click to start to download HEX file. After downloading is finished,the application program will be running.If you want to upgrade the new HEX firmware you have to press RESET key again to enter bootloader MODE. Welcome to visit our website: www.100mhz.com for more data and development tools 6 ReadyAVR-64™ Development Board Users Manual PS:Sometimes an unknown error may occur when programming is finished,but it dosen’t affect the normal running of the program. Ⅶ.Board dimensions Welcome to visit our website: www.100mhz.com for more data and development tools 7 ReadyAVR-64™ Development Board Users Manual Ⅷ.Schematic 2 3 4 5 6 7 8 28 27 26 RXD 25 TXD 24 23 22 1 CP2102 1 Vin 3 +5V VIN 5V Prototyping 2 VOUT USB/POWER 5 VCC DATADATA+ GND 6 1 2 2 3.3V LM1117-3.3 3 3.3V 3.3v 5 1 2 3 4 6 5V D+ D+ C7 104 1 2 3 4 5 6 7 DCD RI GND D+ DVDD REGIN Area C1 + C2 10u 104 8 9 10 11 12 13 14 LED4 R2 3.3V 5V 1K VCC JP2 VCC PD3 PE1 PD2 PE0 PWR R1 1K VCC 1 3 5 7 1 3 5 7 2 4 6 8 2 4 6 8 TXD RXD C C8 104 PEN PE0 PE1 PE2 PE3 PE4 PE5 PE6 PE7 PB0 PB1 PB2 PB3 PB4 PB5 PB6 For more details pls visit our web: www.100MHz.com PB2 3 R12 PB4 2 R9 PB1 1 JOYSTI CK LEFT UP CENTER SHIELD R10 DOWN COM RIGHT 6 PB3 R11 PB0 R8 5 4 mega128/64 PA3 PA4 PA5 PA6 PA7 PG2 PC7 PC6 PC5 PC4 PC3 PC2 PC1 PC0 PG1 PG0 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 PA3 PA4 PA5 PA6 PA7 PG2 PC7 PC6 PC5 PC4 PC3 PC2 PC1 PC0 PG1 PG0 JTAG BOOT R13 1K PF4 PF6 PF5 VCC PF7 1 3 5 7 9 RESET 8 R3 ISP6 1 PE1 PB1 3 RESET 5 C5 R4 B 2 4 6 2 4 6 PE0 VCC C6 22p 2 4 2 4 ISP10 22p PE0 1 3 RESET 5 PB1 7 PE1 9 VCC PORTA 1K 1 3 5 Y1 10K 7.3728MHz 1 3 VCC 2 4 6 RESET 8 10 2 4 6 8 10 VCC JP1 1 3 1 3 5 7 9 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 B PEN PE0 PE1 PE2 PE3 PE4 PE5 PE6 PE7 PB0 PB1 PB2 PB3 PB4 PB5 PB6 PB7 PG3 PG4 RESET VC C GND XTAL2 XTAL1 PD0 PD1 PD2 PD3 PD4 PD5 PD6 PD7 7 Copyright @ 2011-2015 100MHz Inc. All Rights Reserved 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 PB7 PG3 PG4 RESET VC C GND XTAL2 XTAL1 PD0 PD1 PD2 PD3 PD4 PD5 PD6 PD7 ReadyAVR-64 AVCC GND AR EF PF0 PF1 PF2 PF3 PF4 PF5 PF6 PF7 GND VC C PA0 PA1 PA2 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 PEN and PORTG PF0 PF1 PF2 PF3 PF4 PF5 PF6 PF7 GND VC C PA0 PA1 PA2 C9 104 GND L1 104uH C 21 20 19 18 17 16 15 5V 1 2 3 + NC NC NC NC NC NC NC 5v J1 C3 C4 10u 104 D DTR DSR TXD RXD RTS CTS NC +7- 10V GND 1 VB US RST NC SUSPEND SUSPEND NC NC 5V 78M05 EXT-PWR 3.3V GND 5V GND D LED0 PC0 1K R5 LED1 PC1 1K R6 LED2 PC2 1K R7 LED3 PA0 PA2 PA4 PA6 1 3 5 7 PB0 PB2 PB4 PB6 1 3 5 7 1 3 5 7 2 4 6 8 PORTF 2 4 6 8 PA1 PA3 PA5 PA7 PF7 PF5 PF3 PF1 1 3 5 7 2 4 6 8 PB1 PB3 PB5 PB7 PD0 PD2 PD4 PD6 1 3 5 7 1 3 5 7 2 4 6 8 PORTE 2 4 6 8 PF6 PF4 PF2 PF0 PE0 PE2 PE4 PE6 1 3 5 7 2 4 6 8 PD1 PD3 PD5 PD7 PC6 PC4 PC2 PC0 1 3 5 7 1 3 5 7 2 4 6 8 2 4 6 8 PE1 PE3 PE5 PE7 2 4 6 8 PC7 PC5 PC3 PC1 1 3 5 7 9 2 4 6 8 10 2 4 6 8 10 VCC A A PORTB PC3 1 3 5 7 2 4 6 8 PORTD 1 3 5 7 2 4 6 8 PORTC 1 3 5 7 2 4 6 8 Title Size Number Revision A3 Date: File: 1 2 3 4 5 3-Jan-2006 D:\100MHZ\100MHZ.Ddb 6 7 Sheet of Drawn By: 8 Ⅸ.Contact Us Official Website:www.100MHz.com www.LogiFind.com www.DigiKeyFind.com www.KitFind.com (PS:All the 4 website addresses belong to our company.) ebay Store 1: http://stores.ebay.com/logifind ebay Store 2: Under Construction….. E-mail:love100mhz@hotmail.com or wxl07297662156@163.com Skype: love100mhz Welcome to visit our website: www.100mhz.com for more data and development tools 8