Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added Memory Test

RAM Test

Cambridge Computer wrote a BBC BASIC program to test the RAM. Unless the memory is good the Z88 will become unstable, the FAIL indicator may appear in the top right-hand corner of the display or inconsistent results will occur when checking the size of the RAM with (<> CARD). For example, you may have a 512K Ram card in your Z88 but (<> CARD) reports that you only have 128K. Failure of the RAM falls in the following categories.

  • Mechanical failure - due to the contacts being dirty or from a dry soldered joint
  • Unsuitable memory chip - if a different chip is used it may not have the identical specification.

Running the BASIC program while `tapping' the RAM pack may identify a mechanical failure. Finding other errors can be difficult.

The other sort of memory failure is where certain bits of memory suffer amnesia when you are not reading or writing to the memory.

This is like when you are just storing files in the RAM.

This fault can be found with any program, (zCheck, Zip, Unzip (Z88 Forever) or SqueeZ~88 (Rakewell)) that uses checksums on files. To use it you should:-

  1. Run the program initially so that the checksums of the files are calculated. If you are using SqueeZ~88 or Zip, squeeze/Zip a load of big files.
  2. Turn off the Z88 and leave it alone for about three to five days.
  3. Re-run the program to see if the checksums of the files are different or unsqueeze/Unzip all the files again. If they are, then the RAM where the file was stored is faulty.

The following BBC BASIC program tests 32K, 128K 512K and 1MB Ram packs.

It is what is called a destructive Ram Test which means that all the data that is stored on the RAM will be destroyed.

Download the 4 files zipped, (original instructions, two .CLI files (which do the same thing) and the memory test software from here, and then transfer them to your Z88 with a transfer program.

. memory test softwareImage Added

There are two ways you can use this program.

  1. Just running the BBC BASIC program (Ramcard.bas)

...

  1. Before using the program you should save the program to EPROM as "RAMTEST.BAS" and write the following BOOT.CLI to use with it.

#F
|EF
RAMTEST.BAS~E~E
#B
CHAIN
"RAMTEST.BAS"~E

to do the memory test, do the following:-

  1. Back-up all your files.
  2. Take out the RAM pack.
  3. Put in the EPROM with the two files BOOT.CLI and RAMTEST.BAS in it.
  4. Do a Hard Reset.
  5. When you get the Command line "Size of card to test? (in KBytes, Eg. 32, 128 etc.)" type in the number of K the ram card is.
  6. Put the Ram card in Slot 1.
  7. Press the ENTER key until you get the "Testing . . . " message.
  8. When the test is finished,
  9. Remove the EPROM pack and
  10. Do another Hard Reset.

 

Technical Specification of a Flash and RAM chips

Results updated 17th August 2013

  Z80 4MHz

A29040B Flash Image Added

BS62LV8001 Image Added

AS6C8008 Image Added

LY62W10248-55 Image Added

CY62158ELL-45ZSXI  Image Added

Supply Voltage Min

V  2.42.7

2.7

4.5
Supply Voltage Typ  -3.03.05.0
Supply Voltage MaxV  5.55.55.55.5

Input High Voltage

2.2 to VCC

0.7 x VCC min

to VCC+0.3

2.2 to VCC+0.3

2.4 to VCC+0.3

2.4 to VCC+0.5

2.2 to VCC + 0.5 V

Input Low Voltage

V-0.3 to 0.8

0.5 to 0.8

-0.5 to 0.8

- 0.2 to 0.6

- 0.2 to 0.6

 –0.5 to 0.8

Output High Voltage

V2.4 min0.85 x VCC

2.4 min

2.4 min  2.4 min

Output Low Voltage

V0.4 max0.45

0.4 max

0.4 max

 

0.4  max

Standby Power 

uA 1

3.5 to 50

6 to 8010 to 50 2 to 8
Power ConsumptionmA  20 - 40396030 to 60 1.8 to 3

VCC for Data Retention

V  1.52.01.5 2.0
Read Timings       
Read Cycle Time tRC  ns 55 min55 min55 min55 min 45 min
Address Access Time tAA   55 min 55 max55 max55 max 45 max

Chip Enable Access Time tACE 

  55 min55 max55 max55 max45 max
Output Enable Access Time tOE   30 max25 max30 max 30 max22 max
Chip Enable to Output in Low-Z tCLZ   18 min10 min10 min10 min5 min
Output Enable to Output in Low-Z tOLZ   18 min10 min5 min 5 min10 min
Chip Disable to Output in High-Z tCHZ    30 max20 max20 max18 max 

Output Disable to Output in High-Z tOHZ

   25 max20 max20 max

18 max 

Output Hold from Address Change tOH

  10 min10 min10 min10 min
Write Timings       

Write Cycle Time tWC

  55 min 55 min55 min 55 min45 min

Address Valid to End of Write tAW

  40 min 40 min50 min50 min 

35 min 

Chip Enable to End of Write tCW 

   050 min 50 min

35 min

Address Set-up Time tAS 

  040 min035 min

Write Pulse Width tWP 

  20 min30 min45 min45 min35 min 

Write Recovery Time tWR 

  00 

Data to Write Time Overlap tDW 

   25 min25 min25 min 25 min25 min

Data Hold from End of Write Time tDH 

  0000

Data Setup to Write End

      

25 min

Output Active from End of Write tOW 

   5 min5 min 5 min 

Write to Output in High-Z tWHZ 

   25 max20 max20 max 10 max
  THE Z80 CPU :
TIMING
     

...