-
-
Notifications
You must be signed in to change notification settings - Fork 93
How to program with AVRISP mkII
See also Recovering-from-bootloader-and-code-overlap
You will need:
- A bricked or non functioning Chameleon-mini, otherwise use the regular flashing tools
- A copy a firmware with bootloader included, or else you will flash only the program and not the bootloader
- A AVRISP mkII or clone
- Some cables if you don't buy the Adaptor on Rfxsecure
Here is the overall pin you need to connect together. The pins are written in little characters on the back of the Chameleon-mini.
| AVR | Chameleon |
|---|---|
| VCC | VCC |
| GND | GND |
| MISO | DAT |
| RST(SCK) | CLK |
Here is an example of wiring without a special adapter. Disregard the LED, which is here for convenience.

Open Atmel 7, and to Tools->Device Programming
You should have the following

Flash a full hex file or ITS_A_CARD.hex and your Chameleon will work again!
You can create a full hex file with the following:
srec_cat.exe RevE-atxmega32a4u_104_modified.hex -intel Chameleon-Mini.hex -intel -o Full.hex -intel
Home
Getting started
Basic usage
Supported cards/config
Windows
Linux
OSX
Development Environment
Terminal commands
Slots configuration
Hardware summary
Program with AVRISP mkII
Program with modified USBASP
Reference fuses and lockbits
Reference SPI Flash
RevE Bootloader