Big DRAM chip for Propeller (32M bytes for $7.24)
cgracey
Posts: 14,256
Historically, I always shied away from designing around big DRAM chips, as their sizes, hookup schemes, and packaging were always in flux states. This probably was due to PC's·soley driving the market,·keeping·product lifespans very short. It seems that now, though, maybe due to MP3 players, cameras,·and cell phones, there's some big cheap, stable DRAM available in relatively easy-to-use packages with simple interfaces.
You can now get a 256Mbit DRAM in·a 54-pin TSOP package for $7.24,·or $3.90 in 10k volume:
http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=557-1289-2-ND
I checked around, and this 256Mb is definitely the sweet spot. These chips run purely off 3.3V, too.
I'm trying to figure out how to incorporate this into Prop II somehow, but somebody could make an object for the current Propeller right now. This would take a lot of I/O pins, but if you used the 4-bit-wide version (there are also 8-bit and 16-bit versions for the same price), you could do it in 24 pins. You could save a lot of pins, too, by using 74HC595 serial-to-parallel converters, and then operating the DRAM in burst mode to get the speed back up. That could cut the pin count·in half.
Just a thought. I'm excited that there's a big, cheap, stable DRAM platform out there now. This opens some big doors.
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chip Gracey
Parallax, Inc.
Post Edited (Chip Gracey (Parallax)) : 1/28/2009 1:00:26 AM GMT
You can now get a 256Mbit DRAM in·a 54-pin TSOP package for $7.24,·or $3.90 in 10k volume:
http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=557-1289-2-ND
I checked around, and this 256Mb is definitely the sweet spot. These chips run purely off 3.3V, too.
I'm trying to figure out how to incorporate this into Prop II somehow, but somebody could make an object for the current Propeller right now. This would take a lot of I/O pins, but if you used the 4-bit-wide version (there are also 8-bit and 16-bit versions for the same price), you could do it in 24 pins. You could save a lot of pins, too, by using 74HC595 serial-to-parallel converters, and then operating the DRAM in burst mode to get the speed back up. That could cut the pin count·in half.
Just a thought. I'm excited that there's a big, cheap, stable DRAM platform out there now. This opens some big doors.
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chip Gracey
Parallax, Inc.
Post Edited (Chip Gracey (Parallax)) : 1/28/2009 1:00:26 AM GMT
Comments
I did look at the datasheet and there is a Self-Refresh mode.· With a little external logic, it looks like the chip could be made to do self refreshing if it's not active.· If the chip is active, there needs to be externally managed refresh cycles every few microseconds.· This would not be in the "easy to use" category and there would be some situations where easy programming errors could make you lose your memory contents.
Post Edited (Mike Green) : 1/28/2009 1:57:16 AM GMT
I don't understand your concern for the DRAM losing its memory after a reboot. It seems natural that when the Prop loses knowledge of its current state, that it should also not trust the state of the DRAM.
Mark
PS This is an sdram so I think refresh can be set up to occur automatically. Have not had time to take a careful look at the data sheet so I am not positive, but that is generally how sdrams work.
Post Edited (kwinn) : 1/28/2009 3:43:21 AM GMT
Big RAM could be great for data buffering and signal processing.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chip Gracey
Parallax, Inc.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
For me, the past is not over yet.
Mike, I don't know how many times people have come up great plans only to find that they didn't have enough memory(ie VGA drivers). In my opinion, that is the biggest thing holding the propeller back, of course, the b version of the prop would let you have the pins to handle that ram also.
If it was me, I would rather have the B version prop in 3 months, and the Prop II in 15 months rather than no B version and prop II in 12 months.
Yes 32MB is big, but if it is only 1 chip, and you can attach it to 24 pins, it doesn't sound too much of a problem. If someone makes an object to support it, and the schematic, I would be a one size fits all solution at $7.40. If you didn't need that much memory and more pins, don't attach as many pins.
just my 10 bits worth,
Doug
Now, how can I add it to my "Blade"? It is SMT 0.8mm pin spacing and that is too fine for most hobbyists.
I don't recall how long the prop takes to boot. Can a cog setup the SDRAM within the 100uS? I am fairly sure my "Blades" cannot achieve this, so will have to do a little thinking.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:
· Prop Tools under Development or Completed (Index)
· Emulators (Micros eg Altair, and Terminals eg VT100) - index
· Search the Propeller forums (via Google)
My cruising website is: ·www.bluemagic.biz
Hmm, a 54 pin chip with those tiny pins. If the memory is allowed to be something other than a DIP and it is allowed to have >40 pins, then is a Prop II also allowed to have lots of pins? Then the "running out of pins" problem isn't such an issue. Eg 64 or 100 pins in a format that can fit in one of those adaptors that changes to a standard DIP, or at least 0.1" spacing. Are extra pins hard or expensive to add to a chip designed from scratch?
If there were not so many steps to make it work (load ras, load cas, access data), it might be ok.
Burst mode access doesn't make up for lost setup time so much.
Now if you threw 2 or more COGS at the problem it could be better. How would you do that though?
I'm working on an 2MBx8 SRAM version which uses many more pins and has better performance.
I've allowed for a 12 bit parallel bus (8D,2A,2C) to a piggy-back propeller for expansion.
Having 2 Propellers working in parallel to use the same physical memory device might open interesting possibilities.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve
Any help from the Propeller to access the SDRAM will be welcomed. I think you mentioned enough opcode place ?. Something like 2 HUB opcodes one load address one read/read next and one write/write next will be ok. If the clocks and all that is done by the prop. That would enable the propeller to grow without going to excessive hoops.
Giving the PropII additional access to this external DRAM would be cool, I'm sure we'd all be happy if it was like a hub-op, and you only get access to it after X cycles, but from accessible from anycog like hub-ram is, would be awesome [noparse]:D[/noparse]
If you can do it, ( well we all know you can do it!! so ) I say go for it!!!
Jim.
edit: or even if it's some kind of DMA to and from HUB-RAM?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
http://www.propgfx.co.uk/forum/·home of the PropGFX Lite
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.fd.com.my
www.mercedes.com.my
Normally I'm too shy to speak. But I read the "long thread" (cogs/RAM one), and this has been rattling around in
my head since before Christmas and if I don't say it, I'll regret it. RAM issues:
It seems to me that on the next Prop it might be best to make it (almost) all RAM, from the layouts it looks to
me like you could turn the 256k/256k into 384k of RAM, given that at about Page 15-20 you (Chip), with Phil
and co. seemed to largely solve the "multi tasking" problems (thus making 8x160mHz Cogs enough), and that
the Prop will allways need a boot ROM (production process) it seems more logical for you to put your great genius to work on a (simple?) boot loader(s), possibly for more than one ROM source, ie cover the bases on
future ROM options (and prices).
This "extra" 128k RAM would seem useful to the geniuses that came up with the LMM and C progressions, as I
imagine the HUB ram will always be the fastest available (certainly to all cogs).
The other advantage I see of doing this is that now you have this rather talented team of "outlaws", the SPIN
interpreter can be one option, with various other boot load options being possible. Equally you don't have to
be as rigourous in SPIN testing as you were before, well, OK you do, but it won't count so much if you find an
enhancement 6 months after release. I hope this could add to the longevity and applicability of your wonderful
processor architecture.
I see what you mean bout the "cheap" dRAM though. Sorry if I've gone "off topic", but it made me think about
RAM.
K
Of course, it wouldn't fit in a DIP package with 64 I/Os, but
Can some point me to the thread that explains what the Prop B is....I gather there is a version that brings out all the IO in the works...would like to follow that thread bu can't seem to find it.
http://forums.parallax.com/showthread.php?p=582770
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Aka: CosmicBob
That was a while ago, but since then they've also stated that they had problems with bugs in the software that lays out the chip, and thus have not been able to proceed with the design of that [noparse]:([/noparse]
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
http://www.propgfx.co.uk/forum/·home of the PropGFX Lite
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Are many of you·interested in a 64-pin version of the current Propeller? The current Propeller architecture will always be the lowest-power. The next version is much faster, but will also leak 1mA, due to the 180nm process.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chip Gracey
Parallax, Inc.
.....what was that book? If You Give a Mouse a Cookie?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Timothy D. Swieter, E.I.
www.brilldea.com - Prop Blade, LED Painter, RGB LEDs, uOLED-IOC, eProto for SunSPOT, BitScope
www.tdswieter.com
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Basic Stamp,···· Propeller,·· · SX,·· FUN!
START:·
>Proccessing Data. . . .··
>Task Complete. . .·.
>Saving Data. . . .
>Entering SLEEP Mode. . . .
>Signing OFF
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chip Gracey
Parallax, Inc.
Wait a minute...· What kind of packages would it come in?