Easy to use libraries can be found in following directories
Download Avr Dude avrdude-v?.?-windows-x64.zip and Microchip Studio 7
Copy avr-dude to a preferred path (e.g. C:\Tools\avrdude) and setup External Tools in Microchip Studio 7.
# Title
AVR Dude
# Command (Private)
C:\Tools\AvrDude\avrdude.exe
# Command (School)
P:\lehrer\GAR\Software\AvrDude\avrdude.exe
# Arguments !PORT!
-c arduino -p m16 -P COM? -b 57600 -U flash:w:"$(TargetDir)$(TargetName).hex":aImportant: It is necessary to setup the right COM-Port!
Download HIDBootflash and Microchip Studio 7
Copy HIDBootflash to a preferred path (e.g. C:\Tools\downloader) and setup External Tools in Microchip Studio 7.
# Title
HID Bootflash
# Command (Private)
C:\Tools\Downloader\HIDBootFlash.exe
# Command (School)
P:\lehrer\GAR\Software\Downloader\HIDBootFlash.exe
# Arguments !PORT!
-r $(TargetDir)$(TargetName).hexSelect main.c of any project in your solution and start a build.
After building the hex dump can be loaded onto the Megacard with the configured External Tool AVR Dude or HID Bootflash. It is necessary that the Megacard is connected to the computer over USB and when using HID Bootflash that boot loader on Megacard is running (blinking LED7). If not hold down S0 and press the reset button. That will start the bootloader.
If everything worked the project should be loaded onto the hardware and getting started automatically.
Additional software that needs to be installed:
HTL-Rankweil





