WINavr setup
Home Up

 

 

Home

Contact us

Sponsors

News and Events:
 
 

 

Photo's and Video's of 2006 Event here!

Robot Builders Meetings "RBM"

Each Saturday @ 10:00 am Aerospace Museum

Come on down for a coffee and build!

 

Webmaster

Setting up WINavr to communicate with the SAMiAM controller board.

You know, it sounds so simple to setup the samiam interface with WINavr when it's already done, but there are always little "tricks" which make life miserable, so here is my step-by-step blog on how I setup the societies laptop to communicate with the samiam and the atmel mega 8l using the dapa interface.

  1. Install WinAVR to the root of your C: drive.

    You can locate WinAVR from http://winavr.sourceforge.net/download.html.  The release I used was WinAVR 20050214

    Download this package and run the installation file. When asked, drop it into C:\winAVR .  It will also install a users manual into WinAVR.

     

  2. Put in the makefile which includes the DAPA interface instructions into the " C:winAVR\examples\demo\" directory.  The makefile is found at this link---> MAKEFILE 

    You should rightclick on the makefile link ( above ) and save target as... to the directory mentioned.

     

  3. Into the same directory, put in this simple sumo code DEMO.C ( all files compiled with this makefile must be called "demo.c")

     

  4. Copy this configuration file: avrdude.conf over your existing " C:\WinAVR\bin\avrdude.conf"

     

  5. Run the file c:\WinAVR\bin\install_givio.bat".  This will allow access to your computers parallel port from the programming software.

     

If things have gone smoothly so far, we should be ready to try downloading something to the SAMiAM controller.

  1. Run "Programmers Notepad".  It should be on your desktop, but will also be in the START menu.
  2. Open demo.c

    file -> open -> c:\winavr\examples\demo\demo.c

     

  3. Compile demo.c

     

  4. Program the samiam