Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upFlashing windows
How to flash a new firmware on the Chameleon on a windows OS?
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 the < COMPILE wiki-page link here >
Preparations
You will need three files in the same folder in order to flash your chameleon mini 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 Chameleon-Mini.hex and Chameleon-Mini.eep files accordingly, you can use the avr-objcopy.exe utility to convert the hex files to binary format and then the Createbin.exe utility to encode them. A batch script is also available to automate this process.
Also, remember to remove the battery before attempting to flash a firmware. Problems have been reported when the battery was on while flashing.
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.
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\>