Coder Social home page Coder Social logo

dram-tester's Introduction

Tester for DRAM modules

Do you need an hardware DRAM tester to find a faulty chip in your vintage 8-bit computer?

Do you have a space Microchip MCU +5V compatible with enough pins to drive the RAM lines and a 2-lines display for a completely stand-alone tool?

Then try this project on your preferred 16F MCU.

Proto

The tester running on a PIC16F877 mounted on a prototype matrix board to test the video DRAM of a MSX computer.

How it works

The MCU will store data in different patterns filling the DRAM modules. Then it waits at least one refresh cycle before reading back the data and check for errors.

The patterns implemented so far are:

  • Write all zeros
  • Write all ones
  • Write 0x55 and 0xAA patterns
  • Write a pattern based on auto-increment

Any error will be briefly reported in the embedded display. Any CM1602-based display will work (4-bit protocol).

In addition, it features other functions to look closely at noise on power rails on the DRAM modules, in case the power supply is failing (quite often in vintage electronic), or to test a specific unstable bit:

  • Continous refresh
  • Continous read and write a fixed position

It is possible to cycle different run mode resetting the device: at each reset (/MCLR drive down) the next mode will be executed.

How to build

Build the project using the MPLAB-X IDE and a XC8 Compiler.

NOTE: If you need exact timing, prefer a PRO version of the compiler. Otherwise longer timing can be obtained. This is not critical, but it could make the test take longer.

dram-tester's People

Contributors

lmartorella avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.