Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Current »

Types of memory

There were several types of memory being used when the Z88 came out. The Z88 uses static RAM. This was the only low power type but it was extremely expensive when the Z88 came out (£200 for 1M). With the demand for portable computers, the prices have fallen. The Z88 never turns itself off. It gives a pulse every 20 seconds to keep the information stored in RAM intact. There is only one way to see if different RAM chips will work with the Z88 in these different environments is to try them.

RAM Test

Cambridge Computer wrote a BBC BASIC program to test 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 to the one previously used.

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. If the CLI file is in an EPROM in slot 3,

There are two ways you can use this program.

  1. Just running the BBC BASIC program (Ramcard.bas)
  2. Before using the program you should save the program to EPROM as "RAMTEST.BAS" and write the following BOOT.CLI to use with it. This will load and run the program automatically after a HARD RESET is given.

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

To use the memory test, follow these steps:-

 

   
 Load onto an EPROM the BOOT.CLI and RAMTEST.BAS files.
 Back-up all your files.
 

Open the card flap

Remove the current RAM card.

 Insert the EPROM in slot 3
  

Leaving the card flap open,
do a Hard Reset.
Close the card flap
The BOOT.CLI program will run, the memory test programs will be fetched from the EPROM card and then will start to run.

  

When you get the Command line

type in the number of K the ram card is. E.g. 1024

 Insert the RAM card to be tested in Slot 1.
  

Press the key until you get the "Testing . . . " message.

Whilst this is testing, tap underneath the Z88 where the card is installed to expose any mechanical electrical problems with the card connector and/or any dry solder joints in the card itself.

  

When the test is finished,

 Remove the EPROM pack and
  Do another Hard Reset.
  To make sure that the memory is alright, load a large text file into Pipedream and see if you can read the whole file.

 

Technical Specification of a Flash and RAM chips

Results updated 17th August 2013

  Z80 4MHz

A29040B Flash

BS62LV8001

AS6C8008

LY62W10248-55

CY62158ELL-45ZSXI 

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
     

RAM Chips that have failed

LYONTEK - LY62W10248ML

 This is the exchange between Rakewell and LYONTEK to find out why their RAM chip fails.

LYONTEK - LY62W10248ML-55LLI - SRAM, 8M, 1MX8, 2.7-5.5V, 44TSOPII

This memory chip should be a 'drop-in' replacement for the BSI chip. TESTED FAILS when loading a file in PipeDream.

Manufacture response:-

We have read the information on web-site provided from customer. Just as customer said, yes, the circuit diagram is pretty straightforward. We can not  find an problem from that. Just we know, the major differences between our parts and BSI's are the design on ESD protection devices, shown as below. We use type 2 on our parts, but BSI uses type 1 without using P-diode,Dp. We wondered  if this could be the issue. Maybe, we need to make some tests on customer's AP board to learn the real situations.

My response :-

Sorry about the delay in replying but I have been comparing the specs between both these chips and running more tests.

Where do we go from here?

I just can’t believe it is a timing issue because the Z80 is running at 3.2768 Mhz. A read or write command takes 3 clock cycles. This gives 915.52734375 nS and the device only needs 55.

How can we test and see what is happening? Have you got any suitable test equipment?

Manufacture response:-

Lyontek really wants to realize what happened. We will do our best to find out the issues as Vic would offer his supports, providing measurement results on application boards.

After reading Vic's information and thinking over, I supposed that the major differences I reported, design on ESD protection diodes, could be the issue. The protection diode may limit the trigger voltage in the input nodes to be less than Vcc+0.6V. Hence, I try to check if there exists any input voltage for Flash Memory which is quite over Vcc. The following comes from datasheet of AM29F080B-90ED, in the page 10. I guess that it could  be an issue on Lyontek's parts as the function of Auto-select Mode is executed because the trigger voltage on A9 is limited by ESD protection diode, less than Vcc+5.6V.

 

My response

Note: FYI The Z88 has 3 slots for these cards. It can only program EPROMs using the 12v line in slot 3. The RAM fails when the card is in Slot 1, there is no 12v line available there. We do use the auto-select mode to see what Flash chip is present on the card. We also program the Flash chip. We do not use the higher voltage to do these functions. We use the alternative mode so that we can program the card in any slot using 5v. I can confirm that I have programmed the Flash Chip and read it. The card does not fail when I do that.

The Z88 recognizes that it has RAM. I have a simple RAM test, which passes.

I have uncompressed files, and have saved files to the flash chip. The failure occurs when I am loading a larger file into the word-processor. The Z88 displays a “fail” message which is associated to a memory failure of some sort (usually if the RAM is removed from the slot).

ALLIANCE MEMORY - AS6C8008-55ZIN

ALLIANCE MEMORY - AS6C8008-55ZIN - SRAM, 8MB, 2.7-5.5V, 1024KX8, TSOP44

TESTED FAILS

This chip fails the memory test consistently.

 

  • No labels