SRAM trouble
Posted: Mon Aug 02, 2010 7:43 am
I have designed my CS/A computer with a BIOS board that can contain RAM chips of various sizes. So I could either use 32k RAM, or even up to 512k RAM.
While doing some testing using this BIOS board I found that with a 32k RAM chip that system is rock stable, while with a 512k RAM chip that system has stability issues.
I did not do an elaborate memory test (need to write on before I can do that) but the issue shows that a Commodore BASIC loop (running from the ROM) breaks with strange "SYNTAX", or other errors.
Issues are the same when running with either 1MHz or 2MHz CPU / Bus clock. Also I have two of the 512k RAM chips, both show the issue, and both have been bought new (and not salvaged elsewhere)
The board is here:
http://www.6502.org/users/andre/csa/bios/index.html (board version 3.0B) and the RAM chips I am using are BS62LV4006PIP55 (512k RAM),
and GM76C256ALL-70 (32k)
The first thing I found is that the 512k RAM chips datasheet states that "Ax must be stable when /WE is low" - even when /CS is not asserted! The board does not do this, so I added PHI2 to the /WE signal, but it did not help (I could actually add the actual /CS to /WE so non-selected writes keep /WE high but I am not inclined to believe that this is an issue)
The second thing I thought was that it might be pulling too much power. I found that the RAM ICs actually driven by a 3.6V power source to keep the content during shutdown. I moved the power supply (for the 512k variant on pin 32) directly to 5V VCC. This made the system a lot more stable, but the issues are still there.
I am wondering what the differences between these two chips are that make that difference here...
Both are CMOS, but CMOS output even at 3.6V supply should easily pull up to TTL levels - see the stable 32k chip.
I'll probably add another bypass capacitor, or replace the ceramic disk one with an MLC.
The actual testing I can do with the 32k chip, but I'd still like to know what happens here or I cannot use these 512k chips in my designs.
Thanks for any help
André
While doing some testing using this BIOS board I found that with a 32k RAM chip that system is rock stable, while with a 512k RAM chip that system has stability issues.
I did not do an elaborate memory test (need to write on before I can do that) but the issue shows that a Commodore BASIC loop (running from the ROM) breaks with strange "SYNTAX", or other errors.
Issues are the same when running with either 1MHz or 2MHz CPU / Bus clock. Also I have two of the 512k RAM chips, both show the issue, and both have been bought new (and not salvaged elsewhere)
The board is here:
http://www.6502.org/users/andre/csa/bios/index.html (board version 3.0B) and the RAM chips I am using are BS62LV4006PIP55 (512k RAM),
and GM76C256ALL-70 (32k)
The first thing I found is that the 512k RAM chips datasheet states that "Ax must be stable when /WE is low" - even when /CS is not asserted! The board does not do this, so I added PHI2 to the /WE signal, but it did not help (I could actually add the actual /CS to /WE so non-selected writes keep /WE high but I am not inclined to believe that this is an issue)
The second thing I thought was that it might be pulling too much power. I found that the RAM ICs actually driven by a 3.6V power source to keep the content during shutdown. I moved the power supply (for the 512k variant on pin 32) directly to 5V VCC. This made the system a lot more stable, but the issues are still there.
I am wondering what the differences between these two chips are that make that difference here...
Both are CMOS, but CMOS output even at 3.6V supply should easily pull up to TTL levels - see the stable 32k chip.
I'll probably add another bypass capacitor, or replace the ceramic disk one with an MLC.
The actual testing I can do with the 32k chip, but I'd still like to know what happens here or I cannot use these 512k chips in my designs.
Thanks for any help
André