16K/48K Lower RAM (4116) replacement.

edited March 2014 in Hardware
You may want to read this thread for background information on the quest to reach this point.

Following quite a lot more measuring, reading of datasheets and experimenting, I have found an SRAM based replacement for the lower RAM that works in all 16K/48K Spectrums (I've tested it in an awful lot) is possible.

The circuit is basically the same as the one discussed in the thread linked above, but there are a couple of important requirements to note:

1. As previously described, whatever mechanism is used to invert /RAS to drive the latch clock input must be reasonably fast (at least for a high to low input transition) as in most Spectrums falling /RAS also triggers the multiplexors to present the column address to the RAM and so there isn't much time to latch the row address. Extreme measures aren't needed here, however. A 74HC/74HCT inverter is good enough.

2. If the circuit is to work reliably in an issue 2 Spectrum with a 5C ULA, consideration must be given to the voltage levels that appear on the lower RAM address lines. In particular, in some cases a logic high may be represented by approx. 2.3V. This happens when the voltage is pulled down by a logic low at one of the multiplexor outputs. This isn't so much of a problem with later Spectrums, I assume due to 6C ULAs being able to source more current and some models also have higher value resistors in series with the address lines. All this means that a 74HC series latch will not work; a 74HCT one will (it uses the same logic levels as 74LS). The SRAM must also recognise 2.3V as a logic high on its address inputs. I haven't been able to find one that uses original 74 logic levels, but there are many with V(IH) specified as 2.2V and in extensive tests these have always worked.

I noted in the previous thread that the specified access time of the SRAM didn't seem to make much difference. Further testing hasn't changed this. I've tried SRAM ICs with access times from 10ns to 70ns without any problems. So it seems there isn't much risk of problems due to the SRAM latching an address or data too soon, before the bus is stable or de-asserting its outputs too quickly or causing interference due to rapid switching times, etc.

The end result of all this is the ZX Spectrum Lower RAM Replacement Module, pictured below:

LRR_installed-issue_2.jpg

It can simply be plugged in in place of the 4116s.

I should have some available to buy very soon. In the meantime, I've got just a few I'm willing to send out to addresses in the UK for free. Please send me a private message if you would like one. The only condition is that you try it in as many Spectrums as you can and report back on any problems you encounter. I will give priority to those who made useful or interesting contributions to the previous thread. Some of the modules I'll send out have been used in component testing/experimentation and so the soldering may be a bit messy etc, but they all work in the issue 2 Spectrum I've been using for primary testing.
Post edited by Zorn on
«1

Comments

  • jpjp
    edited May 2013
    That looks very interesting - great work!

    I know I've got at least one machine with a lower memory fault, so this replacement module could work out for me... what sort of cost did you have in mind?
  • edited May 2013
    I'm still sorting out details for making these more generally available and should post some information very soon.

    I've had a few responses to my offer to send out some free ones. If you're one of those people, check for messages from me. I might be waiting for you to tell me your address.
  • edited May 2013
    Which reminds me, yes I'm interested in some of your 16K memory boards.
    Most of my 16K and 48K Spectrum's have operational 4116 and work fine :smile:, but I do have two with faults :sad: (but I have not confirmed the cause of the faults yet). So may be in need of some "replacement 16K RAM" ;)

    Mark
    Sinclair FAQ Wiki
    Repair Guides. Spanish Hardware site.
    WoS - can't download? Info here...
    former Meulie Spectrum Archive but no longer available :-(
    Spectranet: the TNFS directory thread

    ! Standby alert !
    “There are four lights!”
    Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb!
    Looking forward to summer in Somerset later in the year :)
  • edited June 2013
  • edited June 2013
    Zorn wrote: »

    Brilliant, just ordered 2....

    Frans
  • edited June 2013
    Mee too.
    2 ordered.
    Thank you.
  • edited June 2013
    Just ordered two.... looking forwards to seeing how well they go into my assorted speccies!
  • edited July 2013
    Just ordered one :)

    Any comments from people that tried it out?
  • edited July 2013
    Bought one of these from Zorn's eBay shop; it arrived this weekend. Nice piece of kit! :) Will be using it to help diagnose my poorly 16k Speccy later this week!
  • edited July 2013
    Although non-contended RAM (4532 chips) seem to be more reliable than 4116, have you planned a similar board to replace the non contended memory bank?

    PS: your module reminds me of something I designed some time ago as a replacement for 4116 too, but with a standard SIMM module :D
    http://www.zxprojects.com/index.php/simm-adapter-for-replacing-lower-memory/13-making-it-pretty

    adapt_simm_16k.jpg

    simm_enchufado.jpg
  • edited July 2013
    Although non-contended RAM (4532 chips) seem to be more reliable than 4116, have you planned a similar board to replace the non contended memory bank?

    Such a thing is on the way. I have already done some tests to prove the concept.

    I think I have repaired more Spectrums that have upper RAM faults than lower RAM faults. Perhaps because they contained faults to begin with (those who know what the 4532 is will understand this) and/or because many of their connections are directly exposed on the expansion connector.
  • edited July 2013
    Got mine today, works like a charm :)

    4wlx.jpg
  • edited July 2013
    Is it possible to make a little board like this for the upper ram as well?
  • edited July 2013
    been looking at this a lot as i have a Spectrum + coming that may have faults and I would rather change all the main components first as lets face it uncle Clive liked to cut corners.

    Even if it works i may try and change everything anyway just to make it more reliable and maybe even lower in power use.
  • edited July 2013
    morcar wrote: »
    been looking at this a lot as i have a Spectrum + coming that may have faults and I would rather change all the main components first as lets face it uncle Clive liked to cut corners.

    Even if it works i may try and change everything anyway just to make it more reliable and maybe even lower in power use.

    Yeah, corners were cut, but lets be fair here, machines that died due to cutting corners were very few and far between compared to those that failed due to abuse. The fact a little 48K machine is still working after 30 years is a testament to be honest.

    After 30 years the electrolytics in pretty much ANY circuit is going to be suspect, regardless of who built the board in the first place.

    You're right to change all the old electrolytics, add new heatsink compound to the regulator/heatsink junction, reseat all the chips etc but let's be fair, there's no need to swop out the RAM, ROM, CPU if it's still working fine after 30 years.

    You're much better off adding a heatsink to the ULA chip than changing it for another one for example.

    Remember that by messing with a proven reliable for 30 years circuit, all you're going to do is to risk the introduction of faults.

    Bottom line - fix it when it's broke, not before.
    Oh bugger!<br>
  • edited July 2013
    Corners were cut in the manufacture of a lot of "low" priced machines. Sinclair was not the only manufacturer to use 32k DRAM chips and many other machines used the 4116 DRAM chips.
    In other computers there are DRAM chips that fail (various chip types) ULA failures, 74LS series logic chips that fail etc.

    Electrolytic capacitors (made from 1970 onwards) should be renewed as they are known to degrade. Renew or replace any other faulty components. But as Death says, it is best to leave the rest alone.

    Another point to think about is this: if an electronic component has lasted 30 years and is still okay, it is likely to continue to work okay for many more years.
    Most component failures occur in the first days/weeks/years of use (unless there is a design fault or misuse).

    Talking of misuse, always be careful when plugging anything in on the expansion edge-connector. If the locating "pin" goes missing and the connector is not 100% aligned correctly, it can kill a Spectrum in seconds.
    So always check the the locating "pin" is present.

    Mark
    Sinclair FAQ Wiki
    Repair Guides. Spanish Hardware site.
    WoS - can't download? Info here...
    former Meulie Spectrum Archive but no longer available :-(
    Spectranet: the TNFS directory thread

    ! Standby alert !
    “There are four lights!”
    Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb!
    Looking forward to summer in Somerset later in the year :)
  • edited July 2013
    gtsamour wrote: »
    Is it possible to make a little board like this for the upper ram as well?

    Yes. Please wait for further information...
  • edited July 2013
    Zorn wrote: »
    Yes. Please wait for further information...

    Oh goodie goodie :)

    I would also add the 7805 power regulator as something than I would replace even if it still works. The heat puts a lot of stress to this component over the years and although its a robust one, it is known to fail.
  • edited July 2013
    gtsamour wrote: »
    Oh goodie goodie :)

    I would also add the 7805 power regulator as something than I would replace even if it still works. The heat puts a lot of stress to this component over the years and although its a robust one, it is known to fail.

    Ah but a brand new one is more likely to fail than one that has proven good for 30 years. The risk is minimal, but as 1024MAK has said, components usually fail within the first few weeks if they're going to. In essence, you are replacing a proven good component with an unknown.

    Barring abuse, just making sure that the heatsink compound is in good order is sufficient - and where none exists, use some!

    If you really want to reduce the heat generated in the 7805, add two 3A rectifier diodes into the supply line - a lot (too many!) of Sinclair PSU units deliver over 12V ON LOAD (Spectrum only needs 9V), so reducing this a little does no harm and helps the 7805 regulator by having to drop less voltage across it. Just a volt or two can make a huge difference!
    Oh bugger!<br>
  • edited July 2013
    Better still, replace it with a 1A RECOM switch mode regulator so that it runs completely cold and doesn't cook your keyboard membrane :)
  • edited July 2013
    ^^^ What he said ^^^

    :D
    Oh bugger!<br>
  • edited July 2013
    ^^^Agreed!^^^
  • edited July 2013
    Actually you are replacing a known good component that has been under a great (also known) heat stress for god knows how long. But if you pick a 7805 of a good brand like ST the risk of failing is next to nothing.
    I have come across worn off 7805 that cause bad picture a couple of times but never a new one to fail.
    RECOMs are indeed a good choise as long as you don't care about keeping the machine original.
  • edited July 2013
    gtsamour wrote: »
    RECOMs are indeed a good choise as long as you don't care about keeping the machine original.

    Quite true, mainly because we must give up the metal heat-sink. But it's hard to keep the machine original anyway. We already struggle to find things such axial capacitors of the same size values (never mind other aspects) to recap a board, for example, and some just bend some radial caps and go on to their lives. We mod for composite video and throw away the inwards of the modulator. How many of us use the original PSU? The Recom regulator at least it is not a eye sore. Some use cheap dc-dc step down buck converter modules, and those really seem out of place.

    DEATH's advice to use two rectifiers to lower the voltage is sensible enough but with it we are not keeping the machine original either. It might be a better choice for aesthetics in the context of a restoration, though.

    /Pedro
  • edited July 2013
    pmsr wrote: »
    Quite true, mainly because we must give up the metal heat-sink.

    This is a pro, not a con in my opinion :)
  • edited July 2013
    ^^^Agreed again!^^^
  • edited July 2013
    I understand your point, as an engineer I hate the thing. I removed it in both my my Swedish 48k and my TC2068, after putting in a Recom regulator. On the first one, the metal heat-sync was bent and exerting some unwelcome pressure on the chassis due to the extra rom and switch (normal vs Swedish characters), so it was a no-brainer. But on my second 48k I just left it on, for nostalgia reasons. I just expect it to be there every time I open it. :-)

    /Pedro
  • edited July 2013
    guesser wrote: »
    This is a pro, not a con in my opinion :)

    Technicaly speaking it is a pro. Retro preservation speaking its a con. Most of my speccys are preserved as they were with only new caps installed, but I have a couple of them that are "technicly advanced" as in the picture i posted on page 2.
  • edited October 2013
    I was just wondering whether the item below is being made with your approval or whether it's a blatant rip-off of your hard work?

    http://www.vintage-computers.it/4116-ram-replacement-module
  • edited October 2013
    cmonkey wrote: »
    I was just wondering whether the item below is being made with your approval or whether it's a blatant rip-off of your hard work

    I don't think anyone needs my approval, it's not an especially unique idea. It isn't a copy of my circuit board layout either, though it appears this one is far more complex than it need be. I shouldn't think that'll affect its operation though.

    I wonder whether it has been tested in an issue 2 Spectrum. Careful selection of both ICs is necessary for there not to be a problem. It looks as if the latch is a 74HC series and that won't work reliably in an issue 2.
Sign In or Register to comment.