We used the combination of WinAVR (for C compiler) and AVR Studio (for IDE) to create Mega Donkey demo applications. If you are familiar with WinAVR you may want to use that tool alone and skip AVR Studio. Most of the demo projects are very simple one file projects so would be easy to create your own projects under WinAVR.

 

1) Download and Install WinAVR. (If you already have it, make sure you have a release dated Jan 2,2007 or later).

http://winavr.sourceforge.net/

2) Download and Install Atmel AVR Studio version 4.13 Build 528 or later version. This product requires online registration. 

Go to  www.atmel.com   and enter  "AVR Studio" (without the quotes)  as an advanced search term.  

We recommend using default settings and folders (directories) for these tools. Most notably WinAVR will create a folder in your root volume prefixed with WinAVR, e.g. WinAVR20071221 is the release used for the initial release of Mega Donkey.

3) Download the MegaDonkey software package to  C:\  (the root directory). Carefully select the package that matches your Mega-Donkey model. This is important if you want to use the pre-compiled library code.

Click below to Download the Current Mega Donkey Software and choose C:\  as destination folder.

DOWNLOAD:  MD20080821.zip   Latest Version 08/21/2008  Library 1.03  Includes Fix for 100 Hz Service routines not being called.

  MD20080304.zip 

Note: You can place the MD folder in a different location, but in this case, the demo projects will require some modification to their Project Configuration Options  to properly locate both library code (md_lib folder) and header files (md_inc folder).

When the archive is unzipped, a folder named "MD" should be placed into C:\.

Within the MD folder there are a number of folders.

md_bin            Windows Applications like DonkeyProg and DonkeyWhiz
md_demos     Contains subfolders each with a demo project -- most are single file projects
md_doc            User's Guide, board outline diagram..
md_hex            Binary image of Bootloader and also demo program loaded on your donkey when it shipped
md_inc            Include files referenced in your project compilation
md_lib            Binary donkey library code, ready to be linked with your project.
md_projects    suggested folder for your projects
md_src            Donkey library source code. This can be compiled into a large demo project OR can be compiled into a code library which is copied to md_lib.

After installing WinAVR and AVR Studio, you should be able to use Windows Explorer (file browser) to navigate to the md_demos folder, pick a demo project (AVR Studio projects have an ".aps" filename extension), and compile it. 

Also, navigate to md_bin  folder and right click on DonkeyProg.exe, click on Create Shortcut, then drag that shortcut to the desktop to make it easy to launch DonkeyProg. Also, you might want to do the same with DonkeyWhiz.exe.

Consult the User's Guide for more information on programming your donkey.

 

 

Website and Content Copyright (c) 2007-2008 by Mega Donkey Systems, all rights reserved