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 efficient way.
StartUSB for AVR 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. 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.
StartUSB for AVR PB0 PB1 PB2 PB3 PB4 PB5 PB6 PB7 PC1 PC2 J2 LD2 C13 C24 E5 2.
StartUSB for AVR STEP 2: Connect StartUSB for AVR to your PC 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 find driver manually in the Program files-Atmel-Flip folder. Figure 3: Connecting the system to a PC STEP 3: Start Atmel FLIP program To start this program double click on the Atmel FLIP icon screen. MikroElektronika .
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 The Device Selection window will open Select AT90USB162 from the drop-down list Click on the OK button Click on the Select a Communication Medium icon.
StartUSB for AVR After the link is established all options and buttons will become active STEP 5: Browse for .hex code Click on the Load HEX File icon In the pop-up window browse for a .
StartUSB for AVR After the .hex file is loaded, an information about it will appear in the Atmel FLIP window Information that .hex file is parsed STEP 6: MCU programming Click on the Run button Click on the Start Application button Information that .hex file verification is passed After the MCU programming is completed, the Atmel FLIP window will become inactive.
StartUSB for AVR 2.54mm 35.03mm 93.11mm Figure 4: Dimensions of the StartUSB for AVR development system 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.
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.
StartUSB for AVR Select desired shortcut (in this case Ctrl+F2) from the drop down list Click OK STEP 3: Compile source code After the source code is written, select the Build option from the Build menu to compile it. Click on the Build option or press Ctrl+F9 on keyboard When the source code is compiled, the .hex file is generated and ready to be uploaded into the MCU. STEP 4: Uploade .hex file into MCU To upload .hex file we will use StartUSB for AVR that was created in step 2.
StartUSB for AVR Figure 6: Uploading .hex file After uploading is over, a command line window (figure 6) will disappear which means that .hex file is uploaded.
If you have any questions, comments or business proposals, do not hesitate to contact us at office@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 want to learn more about our products, please visit our website at www.mikroe.