Minimig Selftest

From OpenCircuits
Revision as of 10:41, 20 August 2007 by Freqmax (talk | contribs) (+link)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Suggestion for how to test the minimig:

  Sequence:
    Jumper 2-3 (MCU TxD)
    MCU(PIC18) verify it's own operation and sends result too TxD  (builtin?)
      Checks: 20 MHz clock, Flash interface, Rs232(rxd,rts,cts), FPGA jtag
      Upload test config-1 to FPGA.
      Check FPGA selftest is ok.
      Upload test config-2 to FPGA.
      FPGA
        Check RAM with patterns.
        Check CPU with opcode run.
        Send picture pattern to VGA
        Check Keyboard with challenge-response.
        Check Mouse with challenge-response.
        Send 1 kHz to Left => Silence => 2 kHz Right => Silence => Repeat..
        Display joystick1 + joystick2 + keyboard + mouse 

  Testing FPGA:
    Latch -> ALU+1 -> Latch -> ALU+1 -> Latch -> Repeat..


A test would be useful for building or when a malfunction is suspected.