4 ms·
Sad to think I remember the days when you just wired D0 to D0, D1 to D1, D2 to D2, etc.
by ChuckMcM 12y ago
Sad to think I remember the days when you just wired D0 to D0, D1 to D1, D2 to D2, etc.
- femto 12y agoSad also that I've still got pristine 6116 2Kx8-bit memory chips at home, and maintaining the delusion that one day they might be useful. http://web.mit.edu/6.115/www/datasheets/6116.pdf http://web.mit.edu/6.115/www/datasheets/6116.pdf
- mpweiher 12y agoAs soon as I get that 2718 adapter ready.
- TorKlingberg 12y agoOld RAM can be useful, for example if you want to run Ubuntu on an 8-bit microcontroller: http://dmitry.gr/index.php?r=05.Projects&proj=07.%20Linux%20on%208bit http://dmitry.gr/index.php?r=05.Projects&proj=07.%20Linux%20...
- MrBuddyCasino 12y agoI salute you, dmitry. In order to run Linux on an ATmega1284p, that guy: - bit-banged 16MB DRAM - bit-banged SPI Flash - wrote an emulator for a 32Bit ARM & MMU Apparently it takes 4h to but Ubuntu.
- bodyfour 12y agoOr rather, wire up the address pins in any order, and the data pins in any order. A simple RAM chip's inputs were just symmetric. As long as you didn't care what transistor was storing which bit you could wire it how you liked. For a ROM chip you actually had to be careful so that it actually generated the correct output for a given address, unless you were willing to burn an EPROM with the reverse transformation applied.
- platinum1 12y agoEven with DDR3 (and probably DDR4) you can still swap bits within a byte lane, and bytes within a word/channel depending on the setup of the memory controller. Some things change, and some stay the same!
- bodyfour 12y agoThat actually surprises me.. I would have guessed that there would be some amount of metadata you could query over the data lines, such as the specs for the DIMM. I guess that's all sent over I2C or something instead?
- makomk 12y agoYeah, that's all done through a seperate EEPROM chip accessed over SMBUS, which is essentially the same as I2C. Raw SDRAM chips don't provide any way to query their specification; on embedded systems that use them, the settings are generally all hardcoded in the bootloader.
- tcas 12y agoSDRAM's interface doesn't leave room for extra commands, it's pretty much designed to read/store data and refresh content. It only has 3 lines to select the command (RAS#, CAS#, WE#). Other RAMs/Flash with different interfaces (e.g. SPI) require a prefix command to be sent over the wire, so it's easier for them to implement things like chip id commands.
- kenz0r 12y agoI don't think that is exactly true. DRAM from SDRAM up has had a number of mode registers to control the ram. More info here: http://en.wikipedia.org/wiki/Synchronous_dynamic_random-access_memory#SDRAM_mode_register http://en.wikipedia.org/wiki/Synchronous_dynamic_random-acce...
- cnvogel 12y ago