Skip to content
@shinhub edited this page Aug 18, 2019 · 2 revisions

How to flash a new firmware on the ChameleonMini with Windows?

NOTE: you should start with the Getting-started walkthrough, for a more complete guide on the whole operation, including where to get firmware.

This guide assume you already set up the two different drivers (LUFA and ATXMEGA) in your OS. The purpose of this guide is to show how to flash your device using the tools needed. You should have gotten the all the original files from where you bought your device. If you set up and compiled the firmware yourself you need to do some extra steps, in order to get the needed bin-files. This is covered in Getting-started walkthrough.

Preparations

You will need three files in the same folder in order to flash your ChameleonMini RevE Rebooted device.

  • BOOT_LOADER_EXE.exe
  • myfile.bin
  • myfilee.bin

Note: in order to generate the myfile.bin and myfilee.bin files needed for BOOT_LOADER_EXE.exe from the ChameleonMini.hex and ChameleonMini.eep files accordingly, see Getting-started walkthrough.

Process

First get your device into bootloader mode. Two ways, either use the GUI or you keep the black button pressed while plugging in the usb cable.

In device manager, you will see the following.

device in boot loader mode

Open up a command window where you have the folder with the three files. (protip win10, just type cmd in the address bar in windows explorer and press enter will open a command window already in that folder you are watching).

run BOOT_LOADER_EXE.exe

Successful flashing will look like this.

C:\Users\anon\Desktop\Chameleon_RevE_Rebooted\>BOOT_LOADER_EXE.exe
old_driver_bootloader
Erasing flash...  Success
Checking memory from 0x0 to 0x6FFF...  Empty.
0%                            100%  Programming 0x20 bytes...
[>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>]  Success
0%                            100%  Reading 0x400 bytes...
0%                            100%  Programming 0x5B00 bytes...
[>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>]  Success
0%                            100%  Reading 0x7000 bytes...
load_success!
C:\Users\anon\Desktop\Chameleon_RevE_Rebooted\>

Unsuccessful flash looks like this

C:\Users\anon\Desktop\Chameleon_RevE_Rebooted\>BOOT_LOADER_EXE.exe
old_driver_bootloader
dfu-old-driver: no device present.

C:\Users\anon\Desktop\Chameleon_RevE_Rebooted\>