Download and save the following files on your computer:
Extract the Atmel.zip file onto your D: drive creating a subdirectory: D:\Atmel. The directory should contain the following:
11/23/2007 05:19 AM <DIR> ATmon 11/23/2007 05:13 AM <DIR> AVRTools 11/23/2007 05:14 AM <DIR> Documents 11/23/2007 05:13 AM <DIR> Projects 11/23/2007 05:13 AM <DIR> WinAVR
aStudio4b589.exe file to begin installation of the AVR Studio program.Next from the InstallShield welcome screen.Next.D:\Atmel\AVRTools (Note: no space in name) and select Next.Install/upgrade Jungo USB Driver option selected and select Next.Install.Finish. If the installation was unsuccessful, consider dropping the course1).WinAVR-20081205-install.exe file to begin installation of the WinAVR program.OK, Next, and I Agree (if you agree to the licensing information you just read).D:\Atmel\WinAVR for the Destination Folder.Next and Install (all items should be checked).Finish. If the installation was unsuccessful, consider dropping the course2).ATmon is a bootloader/monitor program devloped by an MSOE student under the direction of Professor Barnekow. ATmon can download programs to the ATmega32 development board. In addition, ATmon can read/write to internal registers, memory locations and I/O ports. It is extremely useful for debugging since it allows you to read/write to registers, memory and I/O while your program is running.
ATmon consists of two pieces of software. The bootloader is a small program that resides on the ATmega32 microcontroller. The monitor is a Java program that runs on a PC. The two programs communicate via a serial cable connection from the PC to the SunRom development board. All of the files needed to run ATmon are included in the ATmon folder of the Atmel.zip file:
09/11/2007 03:25 PM 9,330 ATmon installation.pdf 06/27/2006 02:32 PM 90,142 Atmon.jar 11/23/2007 05:19 AM 641 ATmonCfg.xml 09/12/2007 09:26 AM 5,170 BootLoader16.hex 09/11/2007 01:12 PM 5,170 BootLoader8.hex 06/27/2006 02:31 PM 28,937 m32def.inc 11/23/2007 05:17 AM 47 runjar.bat 01/30/2006 01:23 AM 59,464 RXTXcomm.jar 03/01/2006 01:01 PM 77,759 rxtxSerial.dll
It is likely that your instructor will install the bootloader on your development board for you; however, there are Bootloader Installation Instructions.
In order to run the ATmon monitor program, you will need to copy two files into the default Java JRE directory. Your PC may have more than one JRE directory. Typically the default directory is the most recent version of the JRE. Your default JRE directory may be something like: C:\Program Files\Java\jre1.6.0_07.
RXTXcomm.jar file to JRE\lib\ext (where JRE is your default JRE directory).rxtxSerial.dll file to JRE\bin (where JRE is your default JRE directory).Note: When the version of Java on your PC is updated, the default JRE directory will likely change. As a result, you will need to recopy these files to the new JRE directory in order for ATmon to work.
You should now be able to run ATmon by either double-clicking on the ATmon.jar or runjar.bat.