This is a simple command line utility for programming Atmel MCUs though EDBG interface. It works on Linux, MAC and Windows.
Simply run 'make all' and you will get a small binary. The dependencies are minimal and it will be obvious if you are missing something.
Usage: edbg [options]
Options:
-h, --help print this help message and exit
-e, --erase perform a chip erase before programming
-p, --program program the chip
-v, --verify verify memory
-k, --lock lock the chip (set security bit)
-r, --read read the contents of the chip
-f, --file <file> binary file to be programmed or verified
-l, --list list all available debuggers
-s, --serial <number> use a debugger with a specified serial number
-b, --verbose print verbose messages