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".
- You will use the vasm.exe program to work with assembly language files (*.asm). The assembler program and instructions are located in the desktop folder "vasm"
- Once you've created the appropriate *.bin file, proceed to the next step. Be careful with the warnings and errors. If you get either, it's a good idea to use the -L *.lst option to find the potential problem.
- You will need to learn how to program EEPROMs. Instructions can be found below. The software is on your host Desktop. 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 a program so that the first four "gates" are non-inverting. Burn onto another chip and test.
- Program and test the Pulse Generator program discussed in class. Output the signal only on 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 out 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 using the oscilloscope.
- Burn the Edge Trigger program that you just developed for stand-alone use. Test it.