Atmel Flip 3.4.7 Download
On this page you will learn how to update firmware inside ATMEGA16U2, so it becomes 'AVRISP MKII' programmer. Then we will use it to program ATMEGA328P chip. You can do similar steps also with your Arduino Uno R3 board, that's how I initially tested it.
- Atmel Flip Software
- Flip 3.4.7 Windows 10
- Atmel Flip 3.4.7 Download
- Atmel Flip 2018
- Atmel Flip 3.4.7 Download Windows 10
It is located in 'c: Program Files Atmel Flip 3.4.7 usb ' Go to Device Manager (press Win+Pause - (Hardware) - Device Manager ) and check if you can see the driver properly installed. It will be under Atmel USB Devices - ATmega16U2. Also, on Windows - after you put the Arduino into DFU mode - you need the USB drivers for the atmega16u2 - the best is to get it from atmel's Flip programmer, there you find an Atmel Flip 3.4.7 usb folder - so go to Device Manager (in Windows Control Panel), select Install Software for your 'Unknown Device' - then set this folder as driver. To provide feedback, xmega & avr32 at320uc3b0256. Free download page for project atmel usb dfu programmer's dfu-programmer-0.7.2. Multi-platform command-line programmer for atmel 8051, avr, xmega & avr32 chips with a usb bootloader supporting isp. Dfu-programmer, device firmware update dfu based usb programmer for atmel chips. MEGA HITS 2020 🌱 The Best Of Vocal Deep House Music Mix 2020 🌱 Happy New Year 2020 #7 - Duration: 2:18:54. Queen Musicas Recommended for you. And you also posted a link for a Flip installer download, which i followed and downloaded a version Flip Installer - 3.4.7.112.exe since i already have JRE installed. So when you say Install Flip, which file were you referring to, the one from download link, or the one from the zip? Would you please clarify this for me. Download Flip - Program your FLASH C51 parts and certain AVR ones by turning to this reliable application that comes with a wide variety of features. Flip 3.4.7 Build 112 add to watchlist send.
Appendix
How does it work: There are two microcontrollers on the 28Pins - ATMEGA16U2 (16U2) and ATMEGA328P (328P). In the 'Arduino' compatible mode, 16U2 works like USB to Serial translator. However, by changing the firmware inside 16U2, we can make it to become a programmer or even a debugger. For example, when we put AVRISP MKII firmware inside the 16U2, then it becomes AVRISP MKII programmer and 16U2 can be used to program other chips through ICSP1, even the 328P on board microcontroller. In this case, connect ICSP1 header to your target and be sure the JP3 jumper is placed on the pins 2-3 (JP3 will connect PB4 pin of 16U2 to the ICSP1 header, so 16U2 can drive RESET signal of the connected device). Then just use Atmel Studio (or other software) to program the target. Below are the exact steps how to do it.
To download a firmware into ATMEGA16U2, you will need a software called FLIP:
- Download FLIP from http://www.atmel.com/tools/FLIP.aspx
- Install the FLIP (just follow the installation wizard).
- Fit a Link on the JP1 to short pins 2-3 (this link puts HWB pin Low tu support DFU mode).
- Fit a Link on ICSP1 to short pins 5-6 (this link shorts 16U2 RESET to GND).
- Connect an USB cable between 28Pins and your PC.
- Unfit the ICSP1(5-6) Link. A new USB device should be recognized (16U2 is in DFU mode).
- Install Driver. It is located in 'c:Program FilesAtmelFlip 3.4.7usb'
- Go to Device Manager (press Win+Pause -> (Hardware) -> Device Manager ) and check if you can see the driver properly installed. It will be under Atmel USB Devices -> ATmega16U2
- You are now ready to flash ATMEGA16U2.
Now we are going to flash a firmware into the ATMEGA16U2:
- Download AVRISP MKII hex file.
This is important: There are three different AVRISP MKII hex files on the Internet - one is for Avrdude (also used by Arduino), one is for ATMEL Studio and one is for BOTH. We will use the firmware for BOTH. Note: I created this hex file from LUFA Project. Check out Appendix how you can compile it by yourself. - Disconnect 28Pins from the USB cable.
- Fit a Link on the JP1 to short pins 2-3.
- Fit the ICSP1(5-6) Link.
- Connect the USB cable.
- Unfit the ICSP1(5-6) Link.
- Start FLIP software (Start -> All Programs -> Flip -> Flip)
- Go to Settings -> Communication -> USB
- Press 'Open'.
- Go to File -> Load HEX file and select LUFA-AVRISP-MKII.hex
- Press 'Run'.
- The 16U2 now becomes AVRISP MKII. Disconnect the USB cable.
This is the tricky part and I spent quite a time to figure it out how it works. The problem is, that you may want to use two different drivers: one for Avrdude (used by Arduino) and a different driver for Atmel Studio. To make it even more complicated, there is some incompatibility between different Avrdude versions (the LUFA AVRISP MKII firmware may not work with the Avrdude 6 version, see this Avrdude Bug #40831). In the next steps I described how to use Atmel Studio. Note: You can switch between Atmel Studio and Avrdude mode. Each time the 16U2 is reset externally via the reset pin (ICSP1 pins 5-6, JP1 must be on 1-2), the compatibility mode will be toggled. You can recognize the current mode when you connect the board to USB: RX&TX LEDs will flash twice on startup for Atmel Studio mode, and five times for avrdude mode.
Important: After you flash the LUFA-AVRISP-MKII, the ATMEGA16U2 is configured for ATMEL Studio.
- Download and Install ATMEL Studio from http://www.atmel.com/microsite/atmel_studio6/ When asked, install also all the drivers.
- After the installation, connect 28pins to the USB cable. Both LEDs (RX&TX) should blink two times (that means, 16U2 is in 'Atmel Studio' mode,). A new device will be recognized.
- Install drivers. If they are not recognized automatically, you will find them in 'c:Program FilesAtmelAtmel USB Drivers'
- Go to Device Manager (press Win+Pause -> (Hardware) -> Device Manager ) and check if you can see the driver properly installed. It will be under Jungo Connectivity -> AVRISP mkII
- Now you can use 28Pins as a standard AVRISP MKII to flash other boards and chips. In the next step we will flash ATMEGA328P with a bootloader
In this step, we will flash the Arduino bootloader into ATMEGA328P through ATMEGA16U2.
- Be sure your 28pins board is correctly recognized and installed for using with Atmel Studio. See the previous steps.
- Connect a ribbon cable between ICSP and ICSP1 connectors. This will connect MOSI, MISO and CLK pins between 16U2 and 328P.
- Fit JP3 jumper the way it shorts pins 2-3. This will connect 16U2 PB4 to RESET of 328P.
- Connect 28Pins to USB. The RX&TX LEDs should blink two times. Drivers should be correctly recognized (Jungo Connectivity -> AVRISP mkII)
- Start Atmel Studio. Go to Start -> All Programs -> Atmel -> Atmel Studio
- Go to: Tools -> Device Programming
- Select: Tool AVRISP mkII; Device ATmega328P; Interface ISP; and press 'Apply' button.
- Go to: Device signature and click on 'Read' button.
- Important: Set the ISP clock to 16.1kHz. Don't forget to click on the 'Set' button.
Note: I had a look into LUFA AVRISP MKII source code and there is hardcoded maximum waiting time. This means, programming will not work if you set a very low ISP clock speed. You will get error: 'ispProgramMem: Error status received: Got 0x81, expected 0x00 (RDY/nBSY pin sampling timed out)'. However, the maximum ISP speed is also limited and it can not be more than 1/4 frequency of the device. - Click on 'Memories' and find the Arduino bootloader hex file. It is located in 'C:Program FilesArduinohardwarearduinobootloadersoptibootoptiboot_atmega328.hex'
- Press 'Program' button
- Done. You have successfully programmed 328P with Arduino bootloader. If you would like to use 28Pins with Arduino Software, read further. You will need to re-flash 16U2 with USB to serial firmware.
If you would like to use 28Pins with Arduino software, you will need to flash Serial to USB firmware into the 16U2. We will use FLIP again.
- Disconnect 28Pins from the USB cable.
- Fit a Link on the JP1 to short pins 2-3.
- Fit the ICSP1(5-6) Link.
- Connect the USB cable.
- Unfit the ICSP1(5-6) Link.
- Start FLIP software. Go to: Start -> All Programs -> Flip -> Flip
- Go to: Settings -> Communication -> USB
- Click to 'Open'.
- Go to: File -> Load HEX file. Select this file 'c:Program FilesArduinohardwarearduinofirmwaresatmegaxxu2arduino-usbserialArduino-usbserial-atmega16u2-Uno-Rev3.hex'
- Press 'Run'.
- Disconnect USB cable and connect it again. A new USB device should be recognized. If driver is not installed automatically, you will find it in 'c:Program FilesArduinodrivers'.
- Go to Device manager (Win+Pause -> (Hardware) -> Device manager) and check if the driver was loaded correctly. You should see it under Ports -> Arduino Uno
- Great! We can now test a Blink example. Start Arduino software (Start -> Arduino).
- Click on the 'Open' icon (arrow Up) -> 01.Basics -> Blink.
- Select COM Port: Tools -> Serial Port -> COM(select the port where the board was recognized).
- Be sure, that JP1 shorts pins 1-2 (Autoreset is enabled).
- Click to 'Upload' icon (arrow Right).
- The user LED should start blinking
- Well done! You have successfully programmed both, ATMEGA16U2 and ATMEGA328P microcontrollers.
To compile AVRISP MKII you need a Linux computer. If you are a Windows user, install a virtual machine:
- Download VMware player (it's free).
- Download and Install Ubuntu 12.04 into the vMware virtual machine
- Update sources.list
Replace the source.list content with:
- Upgrade to the latest packages
- Open up System -> Administration -> Update Manager
- Click on Settings.
- Open the Updates Tab.
- Set ‘Release upgrade’ to ‘Never’.
- Close the settings dialog box.
- Click on ‘Check’ to check for upgraded packages. It will look for packages that are upgraded from the version that is installed on your box.
- Choose to install the upgrades. This will take a while on a freshly installed box.
- The Linux machine is ready, now we need to prepare the AVR compiler
To compile an AVR source code, you will need to install Atmel AVR Toolchain.

- Go to http://www.atmel.com/tools/atmelavrtoolchainforlinux.aspx and download the toolchain.
- Unzip the file
- Update the PATH
- Check if the compiler is accessible
To generate the AVRISP MKII hex file, we will need to download LUFA source codes, modify AVRISP MKII project and compile it.
- Download LUFA Project here: http://www.github.com/abcminiuser/lufa/archive/LUFA-140928.zip
- Unzip the file:
- Test if the original source code will compile correctly:
When it compiles correctly, you should see something like:
- We are going to make few changes. First, we need to change the original microcontroller to our ATMEGA16U2:
Atmel Flip Software
Change MCU, BOARD and F_CPU to following:
Change AppConfig.h:
Disable XPROG, enable NO VTARGET, disable LIBUSB and enable RESET TOGGLES:
Now we will remap LEDs, so we can see if AVRISP MKII is in Avrdude or Atmel Studio mode. Edit LEDs file:
To make it simple, we just remap the ports, but the LEDs will be inverted (in the original USBTINYMKII board the LEDS are ON when pin is High, on the 28Pins LEDs are ON when pin is Low). Update the LED mask and Change all the DDRB / PORTB / PINB to to DDRD / PORTD / PIND. The file will then look like this:
- We can now compile the project:
It should look like this:
- Go to ~/atmel/lufa-LUFA-140928/Projects/AVRISP-MKII and you fill find there AVRISP-MKII.hex file. Copy this file to your computer and use FLIP Software to flash it inside the ATMEGA16U2. Here you can download the file I compiled: LUFA-BOTH-AVRISP-MKII.hex
Note: Initially 16U2 will run in the Atmel Studio mode, if you would like to change it, Fit and Unfit a Link on ICSP1 between pins 5-6 (this will reset the 16U2 and it will change the mode, you will see the LEDs blinking 4-5 times). If you are using Arduino Uno R3, you will need to pull HWB pin to +5V before you use the Reset Link, otherwise your 16U2 will go into DFU mode and will not toggle between Atmel Studio and Avrdude mode.
Well this was a bit of a waste of time,Flip 3.4.7 Windows 10
I already have Java SDK installed which completely messed up the Flip installer.I tried a VM with Windows 10 but was unable to attach the atmel USB driver to the VM.
So I ended up opening up the installer using 7zip as shown below:
Atmel Flip 3.4.7 Download
Drag the two installers out.
Run jre_setup.exe then run the Atmel_appli_Install.exe.
Seems to fix the issue with Java VM.

Install the drivers found at: C:Program Files (x86)AtmelFlip 3.4.7usb
References: