Go to EE395 Experiment                    Microprocessor board      8251A Interface     SBC      ECE Lab home

The EEPROM Monitor Program

To get this microcomputer to operate it is necessary to put a monitor program into an EPROM or EEPROM. This design uses a 28C256 EEPROM because it is suciently large to accommodate the program that we wish to use as a system MONITOR. This is the monitor program that has been quite thoroughly reworked by Dave Harrison and myself. The program MON208.ASM can be found on the computers that are connected to the programming stations in the 204F, 211F and 318F laboratories in the hard drive subdirectory \ASM68K. Antonakos’s latest assembler and emulator are there as well. The monitor program is assembled using Antonakos’s assembler. The resultant .HEX file is then used to burn the EEPROM as described in the next section.

Follow the construction tips found on page 367 of Antonakos’s book. If difficulties are encountered in getting the board to come alive, you may try a few troubleshooting techniques.

Mount all devices in wire wrap sockets. That includes the DIP switch, the LED display and the 4MHz oscillator can. Wiring should be neat and close to the board. Use insertable wire wrap pins if it looks like you don’t have enough room on some pin for all the wire wraps that you need. If you project looks like a rat’s nest when it is finished then you will surely have problems troubleshooting it.

Write a short MONITOR program, taking care of the first two vectors that have to be put in memory followed by a routine that reads the DIP switches and outputs the settings on the LEDs. The MONITOR should follow the pattern below

pport      equ      $18000
stack      equ      $10000
           org      0
           dc.l     stack
           dc.l     here
here       move.b  |pport,pport
           bra.s    here
           end

If this parallel port test works then it means that the SBC is working with the exception of the serial port. To test it see below.

stack       equ      $10000
            org 0
            dc.l     stack
            dc.l     here
here        bra.s    here
            end

There is no need to interface your SBC to a PC for this test. If the CPU is running then you should be able to see a periodic signal on the lower address lines and the data lines. You should determine ahead of time what it is you expect to see on the various data, address and control lines and check if that is what you have on the oscilloscope or the logic analyzer.

 

Programming the EEPROM Monitor

There are PCs in room 204F, 211F as well as in room 318F, which are interfaced with Xeltek programmer pods. To burn the EEPROM go to the \SP\BIN   subdirectory and type SP<ent> then follow the steps below.


The proper data for the EEPROM should now appear in the right middle of the screen. Use the FILE menu to load the .HEX file that you will need to program the chip. Use the BUFFER, EDIT feature to verify the data that has been loaded, assuming that you have taken the trouble to memorize a few bytes of your code.

Go to the DEVICE screen to program the chip. It is self explanatory from here.

If your EEPROM fails to program under its proper brand name, then program it as a XELTEK 28C256 chip. No harm is done since all the programming is done by toggling 5 volts on and off at various pins.

  Go to EE395  Experiment                    Microprocessor board      8251A Interface     SBC     ECE Lab home