LAB 2
previous lab | lab schedule | next lab
NOTE: For this lab you will need to remove the EPROM containing the original AIM 65 operating system and replace it with your own. Ensure that you keep this chip safe as it takes time to make additional copies. Stick it on the foam pad at the bottom right corner of your AIM 65 board.
Additional example programs can be found on the Programs page of the website.
- Burn a Atmel 28C64B EEPROM with stand-alone OCTAL inverter program and test all eight "logic gates".
- Both the cross-assembler software and the EEPROM programmer software are on the Windows XP virtual machine. Open Oracle VirtualBox and Start the virtual machine.
- You will use the ADX-65 program to work with assembly language files. The assembler program is located on the desktop and is called "Avocet Wide"
- Determine which version of this program you have on your computer (likely 2.0) and choose appropriate set of instructions from lab handouts
- Once you've created the appropriate *.hex file, you then need to move it to the host computer. Go to the desktop and double click, "Copy over HEX files.bat" so that you can find the hex file accessible by the programmer software in the next step.
- You will need to learn how to program EEPROMs. Instructions can be found below. The software is on your host Desktop, not the the virtual machine. There are 2 links, the SUPERPRO 500 for the dark blue programmers, and the SUPERPRO USB series for the Grey 280u, they are very similar so the instructions should be nearly identical.
- Modify program so that the first four "gates" are non-inverting. Burn on to another chip and test.
- Program and test the Pulse Generator program discussed in class. Output the signal only on line PB0.
- Add a delay to the loop to slow down the Pulse Generator as discussed in class.
- Develop a program to generate a short pulse every time the PA7 line transitions from low-to-high or high-to-low. (To test your program PA7 is connected to the TTL output from the function generator on your trainer.) When you load port A the N bit of the Process Status Register will be set because PA7 is the sign bit of the binary number that is loaded into the Accumulator. Use BPL (Branch if Plus -- N = 0) or BMI (Branch if Minus -- N = 1) which tests the sign bit to determine whether or not to generate the pulse. Show your program to the lab instructor.
- Burn the Edge Trigger program that you just developed for stand-alone use. Test it.