Skip to content

htl-rankweil/megacard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Version: 1.0 Release Build License: GPL v3

Megacard

Libraries

Easy to use libraries can be found in following directories


Setup avrdude with Microchip Studio (Megacard > v4)

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.

External Tools in Microchip Studio

Setup AVR Dude in Microchip Studio

# 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":a

Important: It is necessary to setup the right COM-Port!

Windows Hardware Manager


Setup HIDBootflash with Microchip Studio (Megacard v4)

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.

External Tools

# Title
HID Bootflash
# Command (Private)
C:\Tools\Downloader\HIDBootFlash.exe
# Command (School)
P:\lehrer\GAR\Software\Downloader\HIDBootFlash.exe
# Arguments         !PORT!
-r $(TargetDir)$(TargetName).hex

HID boot loader


Flashing data to target (Megacard)

Select main.c of any project in your solution and start a build.

Project 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.

Load boot loader

If everything worked the project should be loaded onto the hardware and getting started automatically.


Software

Additional software that needs to be installed:


HTL-Rankweil

About

Megacard repository

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages