Home
E:\英文手册原稿\easyAVR128 User Manual
Contents
1. 1 2 3 4 5 6 7 8 sv r LODI6D NO USB POWER UART 1 a 2 F C25 2 gt 2 lt lt FUSE ASISI E 3 a uo 2 2228 P2102 RIN px S oads 4 gt a T2OUT 6 gt AE D V 7 8 PD 3 21 Q o 9 Pe va 06 Cl gt Or fy o re 5 a 2 E NS ch Eats de E 104 Nc 2 as co IMA 470 No E He 13 PDS re Ne Y la PO A nc IG 15 NC 15 V 16 l 33 LMI11733 V By EE EH VOUT VIN m 2 Eas y A RI 2 8 WWWLogiFind COM ap va a S Q c 5 LCD 12864 LCD1602 104 2 mm AH ie 10u o 10u MICROCONTROLLER a il faz faz faz fac SSIES sw4 Si we POWER amp USB RS232 ON co af PA eN co Bo STEPMOTOR BUZZER i PG ON co Pa R38 ON jon ey IK lr ON co ON en 5 J9 ould c ON ATMEGA 12864 2 O DORRERR yeaa 9 gt o O No OZ BEREEEEREZSZ 22 k BOOT Q 3 oa PO PN lt lt PA E 2 El PG 2 pm oo MEZ
2. al MW o EXTENDED HIGH 0x98 LO Y Auto read Y Smart warning Mame Address Value Bits verify after program Setting mode and device parameters OK Entering programming mode OK A f Reading fuses address O to 2 OxFF 0x98 OxFF OK Loaded plugin STK500 Leaving programming mode OK Vil Frequently Asked Questions 1 1 try to power the easyA VR128 but the board does not power up what s wrong Make sure that the POWER LED has turned on If the LED is not on check to see that the external power supply DC7 10V or the USB power is properly connected check to see that the J2 is properly connected It is www 100mhz com www LogiFind com 7 LogiFind International CO Limited easyAVR128 Development Board Users Manual necessary to note that the external power supply DC7 10V and the USB power can not be connected at the same time According to the designer s experiences the FUSE on board is also an important factor 2 How is power supplied to the easyA VR128 Two supply options exist USB power Cables and external 7 10VDC You are only allowed to choose one of them 3 The Mega128A is no longer accessible via programmer debugger is something wrong with the device Verify that the target device is powered properly If the target is powered locally verify your programmer debugger is connected properly If the programmer debugger is connected properly the Mega
3. LogiFind International CO Limited easyAVR128 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 LogiFind International CO Ltd 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 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 Tl Freescale ST Atmel Silicon and CYPRESS Inc in the U S A and other countries Sincerely ew Owner and General Manager of LogiFind International CO Ltd www 100mhz com www LogiFind com 1 E LogiFind international CO Limited easyAVR128 Development Board Users Manual CONTENTS Lo Wiat TS OSV RD do 3 Wid of PASO E A AE AEEA EEA AE EEE AE EEA E E E EE EATS 3 MI Power supply A o III o 3 TY Hardwre Connector deseripUON iii 3 A e AA PP II 4 Vis Boolloader POSTAS escini aE EAE EAEE ESEE DE E E 4 VI Frequently Asked QUESTIONS ccc cccccccccesseccssecessccessecesecesseccsseceesscessecessecessecessecessecessecsssecessceesscesseeessecensecenss 7 1 I try to power the easyAVR128 but the board does not po
4. DS1302 Real Time Clock 24C02 eeprom Standard ISP6 connector Standard ISP10 connector Standard JTAG connector 8 user KEYs Stepmotor with driver circuit Buzzer with driver circuit Standard LCD1602 socket Standard LCD12864 socket ADCO and ADC input DS18B20 Temp sensor socket INTO and INT 1 input 8 digit 7 segment LED display All Ios are taken out IT Appliance The easyAVR128 Board represents a development system which can be used as a stand alone device it has many users among students hobbyists enthusiasts and professionals We Due to its preloaded bootloader program and 8 bit MCU it is ideal for low cost experimenting and final product design UI Power supply For connection with a power supply source the easyAVR128 Board uses a Jack 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 1s no need during this time IV Hardwre Connection description 1 For easy access to the pins of the MCU supplied on the easyAVR128 Board you can use pads Every pad is clearly marked with a pin name to which it is connected to 2 To connect the easyAVR128 Board to a PC it is necessary to connect the USB port on the PC to a USB connector USB POWER using a USB cable When connection is established the PC will communicate with www 100mhz com www
5. y a T NO PG LEDs 3 26 o A No E 2 a Sm oo MEn gt ye ULN2003A 6 PM ro 7 2 s US PO 41 Ape Ao 20 104 PES PO i lf vec SW7 2 pez pe Y 10 PED pa Y Sw ON eed 1 38 110 ON a PBI is PBI PG PRO co PR PR PO o ON ON 13 36 co PFI u PB 14 PBS Pa 35 o ON co PO ON cn PBI i PB PO gt DSISB20 va o ON co pol co PES iz PBS A PG 35 io ME R7 4K ON cn i emaieees a 3 PBI SERA eN Sa ESSE BD ORALES DQ 2 1 ao BUTTON 7 DS18B20 ADC II Lie JTAG A a ISP10 ve ISP6 vec EEPROM 2P m 1 2 1 2 PE i MEN 2 T B gt 1ye 3 A PBI 3 4 PH PB 5 6 RT 5 6 3 4 3 E 5 Rr 5 6 RT 5 6 i 7 AE PE 7 ie AE 56 E Hea oe POWER INTERFACE mods pp Hs op Lp JTAG amp ISP 3 49 vee ae PG 8 PDO 4 US oes po 7 SEGMENT GND ON y A 15 7 B_I Be lt ajoajajajoja E Dsi302 uu al de 3 Das ae C15 11 104 Iloel Ealan Holela Ean E 4 E va jv YS Hees SW6 a E a SEGI ELO X lt MOAmWEO lt mOQuio 20P 2 E an MO A a DP 7 PAL PO PAZ I Y2 ON _ Ms i ON Pa Viti i iit it PAS er ON BS CAC A a 7101 EE 74HCI38 PAA 4 Tr 5 co o o no o o amo amo PAS Z 2 2 a Z 2 YO Ro 15 E Gl PA6 2P RTC A a a a a A YI 1 E E PAT Y RA By B a vo p E A IND oe A Ri S z YA RA a swio Ya vec vec Ju Y5 R5 10 ye a on eo x HAC 06 05 Q Ql a INT SOURCE Y5 Y4 Y3 Y2 YI YO Tie at 350 8550 85 8550 8550 59 Size Number Revision vec 4 capia Jj ve ve ve we ve a3 I RESET Date 16 Jan 2006 She
6. LogiFind com 3 A Logirind easyAVR128 Development Board Users Manual CP2102 chip which is connected to MCU pins PD2 PD3 PEO and PE1 These pins are used for serial UARTO or UARTI communication We set UARTI as the bootloader MODE channel In other word you must connect UART1 jumpers and disconnect UARTO jumpers when you are using bootloader to upload hex file into your target device megal28A 4 The ISP6 and ISP10 connector is used for programming 5 The JTAG connector is used for programming debugging via the JTAG interface V What s on board LED es CI on g g SEGMENT 1 CLI E ES USB LI LILI 5 x LCD1602 POLEN E FE LCD12864 a sE ae a E Y POWER E E DS18B20 RS232 Buzzer POWER INTERFACE KEYs LEDs RESET MCU EEPROM RTC ISP JTAG VI Bootloader 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 www 100mbhz com www LogiFind com 4 l LogiFind International CO Limited easyAVR128 Development Board Users Manual Step1 Instal CP2102 driver Before you connect your easyAVR128 board to a computer running Microsoft Windows you sho
7. ard Users Manual PS Sometimes an unknown error may occur when programming is finished but it dosen t affect the normal running of the program ES Floating point division by zero TAE VI Fuse Settings of Mega128A The following fuse setting in AVRStudio has been made by factory which ensure the bootloader can run properly AYR Studio i File Project Build View Tools Debug Help sal yr el MEE Feis A 4 ta a ra A A A E Trace Disabled cade g E AUTO AYRISP mkII in ISP mode with ATmegal28A Boot Flash size 4096 words start address FO00 v L Br L own out detection level at YCC 2 7 Y v SUT_CKSEL Ext Crystal Resonator High Freg Start up time 16K CK w po gt EXTENDED HIGH LO Y Auto read 4 Smart warning verify after program Name Address Value Bits Setting mode and device parameters OK Entering programming mode OK Message o n i Reading fuses address 0 to 2 OxFF 0x98 OxFF OK Leaving programming mode OK Loaded plugin STKS00 AVR Studio alx i File Project Build View Tools Debug Help 2 meee AYRISP mkII in ISP mode with AlImegal28A s F eee a o u Ge amp E AA cs a ESGER E i o M MO 0 AOA FI Rr i Trace Disabled Sh BS look Be Gon ee AUTO Main Program Fuses LockBits Advanced HW Settings HW Info OBROODO Boot Flash size 4096 words start address FO00 Is
8. e and click Open Look in gt Project 2 ape Choose a hex file you want to aces load into the microcontroller My Recent Documents E Desktop My Documents My Computer File name Board Test o k Click on the Open button My Network Files of type AUB HEX BIN aub hex bin 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 N to start to download HEX file wt AVRUBD D LED 1 hex File Operate Option Help e a mo E se ATA E Y Loading file success D ALED 1 hex gt File length 0x0200 512 gt Flash size 0x2000 8192 gt Buffer size 0x0200 512 gt Start download Start connect lt 1 gt Send connect key 41 56 52 55 42 lt 2 gt Send connect key 41 56 52 55 42 43 lt 3 gt Send connect key 41 56 52 55 42 43 Y Connect success gt Packag 2 2 Data 0 5k 0 5k Retry 0 0 El Hex ui Bin Log El Ver After downloading is finished the application program will be running If you want to upload the new HEX file you have to press RESET key again to enter bootloader MODE www 100mbhz com www LogiFind com 6 LogiFind E me CO Limited easyAVR128 Development Bo
9. et of File E IOOMHZ I00MEZ Dab Drawn By 1 2 3 4 5 6 7 8 X Contact Us Official Website www 100MHZz com www LogiFind com ebay Store 1 http stores ebay com logifind ebay Store 2 http stores ebay com kitfind E mail love100mhz O hotmail com wx1072976621560 163 com Skype love100mhz www 100mbhz com www LogiFind com E LogiFind international CO Limited easyAVR128 Development Board Users Manual Disclaimer 2013 LogiFind International CO Ltd All rights reserved LogiFind logo and combinations thereof are registered trademarks of LogiFind International CO Ltd Other terms and product names may be trademarks of others The information in this document is provided in connection with LogiFind products No license express or implied or otherwise to any intellectual property right is granted by this document or in connection with the sale of LogiFind products Neither the whole nor any part of the information contained in or the product described in this document may be adapted or reproduced in any material from except with the prior written permission of the copyright holder The product described in this document is subject to continuous development and improvements All particulars of the product and its use contained in this document are given by LogiFind in good faith However all warranties implied or expressed including but not limited to implied warranties of merchantability or fitness for purpose are
10. excluded This document is intended only to assist the reader in the use of the product LogiFind International CO Ltd shall not be liable for any loss or damage arising from the use of any information in this document or any error or omission in such information or any incorrect use of the product www 100mhz com www LogiFind com 10
11. l28A is possibly dead Well it s not really dead it s just that it can t be reprogrammed until the Megal28A is unlocked for detailed method of unlocking an AVR device please search for solution on line 4 I have uploaded the Mega128A sample code but It doesn t seem to be working what s wrong Make sure the relational jumper is correctly connected If the relational jumper is correctly connected pls check whether the device mode had been changed to megal03 mode In mega103 mode the megal28A features are not fully reflected If you are using PD2 and PD3 in you source code close the UART1 add UCSR1B 0 in main of your source code 5 I loaded the Mega128A sample code using an external after that i found the bootloader doesn t work any more The bootloader is erased after you upload hex file to the megal28A using external programmer So you have to re upload bootloader by yourself 1f you want to use bootloader self programming function www 100mhz com www LogiFind com 8 A IX Schematic LogiFind International CO Limited easyAVR128 Development Board Users Manual
12. uld 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 we AYR Universal Bootloader Download A E oj x File Operate Option Help o H mo E 3 gt a S Language 3 F 1P 11 57 53 4 Step3 Go to the Device Manager to see which com port is created Device Manager gt Na QS2n alx Bea 4 Computer Gs Disk drives 2 Display adapters DVD CD ROM drives ig Human Interface Devices 2 IDE ATA ATAPI controllers IEEE 1394 Bus host controllers H Imaging devices Keyboards Mice and other pointing devices e Modems id Monitors Network adapters Other devices PCMCIA adapters Y Ports COM amp LPT F Intel R Active Management Technology SOL COM4 y Silicon Labs CP210x USB to UART Bridge COM15 Step4 Com Port Setting Enter Option Comport to set the correct Com Port and click OK www 100mbhz com www LogiFind com 5 LogiFind E ried a CO Limited easyAVR128 Development Board Users Manual xl xI ave T System i Comport EN Cort z SE Baudrate 115200 Data bits le gt Stop bits hy Parity None y Flow control None y RTS 7 DTR Step5 Load HEX file Enter File Load to load HEX file into the AVRUBD softwar
13. wer up What s Wrong cccsssecceceeeeeeeeeeeeeees T 2 How is power supplied to the eaSyA VR128 cceccecccsscccccceccesessesnsnneccecceeeeeeeeeseenneeeeceeeeeeeeseeeeenenaseeeeeeseees 8 3 The Mega128A is no longer accessible via programmer debugger is something wrong with the device 8 4 I have uploaded the Megal28A sample code but It doesn t seem to be working what s wrong 8 5 I loaded the Megal28A sample code using an external after that 1 found the bootloader doesn t work any 110 y 90 POPE a E E ee ee ere E eee ree 8 Parole E eee A ee 9 hE 0 E E D APRA no o APP A 9 DS CAMA tg e E on RI O o cael ac apts te E ee ee ene create A ee eceeeeacts 10 www 100mhz com www LogiFind com 2 4 LogiFind International CO Limited easyAVR128 Development Board Users Manual I What is easyAVR128 The easyAVR128 Board is a complete solution for fast and simple development of embedded applications by using a new Atmel ATmegal28A device connected to 7 3728Mhz oscillator It has a bootloader inside the ATmegal28A and it allows self programming very easily without an external programmer or debugger Key features Bootloader program loaded into the ATmega128A microcontroller CP2102 USB to UART converter for RS232 communication and bootloader programming 5V and 3 3V power supply RS232 Circuit with DB9 connector 5V 3 3V and GND PINOUTSs for DIY 8 user LEDs System Reset Key
Download Pdf Manuals
Related Search
Related Contents
Benutzerhandbuch truecon M2M Internet Controller - HY-LINE Sony DCR-SR67 Marketing Specifications PDFファイル 仕様書 Virtual Measurements & Control VC210 Service Manual VER PDF - Fundidora del Norte SA Digiplex Evo : EVO048 et EVO192 V2.1 Guide de programmation D - The Lake Champlain Committee Copyright © All rights reserved.
Failed to retrieve file