Searching \ for '[SX] SX48 and PC RAM?' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/ubicom/devices.htm?key=sx48
Search entire site for: 'SX48 and PC RAM?'.

Exact match. Not showing close matches.
PICList Thread
'[SX] SX48 and PC RAM?'
2006\02\24@071249 by Electronegativityn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Electronegativity wrote:

Has anyone tried to use PC RAM (like 30 pin SIMM) with an SX48?

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=111286
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\02\24@073830 by Chris Savagen/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Chris Savage wrote:

I'm sure it could be done, but this type of RAM is dynamic and requires refreshing.  That means that you need to keep accessing the memory (every cell) every so many ms or the data is lost.  That is the big hang-up of using DRAM on microcontrollers.  SRAM is always a better choice in terms of ease of use although slightly more money.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=111286#m111294
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\02\24@074257 by Electronegativityn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Electronegativity wrote:

Thanks Chris, I'll stick with the SRAM then.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=111286#m111297
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\02\24@110705 by mebikeridern/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, mebikerider wrote:

Yes, I did this with an SX52 board.

It was surprisingly easy. I'd been worried about satisfying the refresh requirements, but as I was using RTCC-controlled interrupts anyway for RS232 communication, I was able to just stick a refresh command into the ISR and it worked like a champ.

Here's some code. I was developing a bike speedometer/heartbeat sensor at the time, so you'll see lots of semi-developed code for those things. But the dynamic RAM and the RS232 ISR parts were working perfectly.

David
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=111286#m111354
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\02\24@114424 by beann/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote:

Very cool David.
Did you use a 30-pin simm or just regualar ic ?
How much power did the RAM require ?
Just wondering.
Bean.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=111286#m111359
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\02\24@121349 by mebikeridern/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, mebikerider wrote:

I did this quite a few months ago, and don't remember many of the details. I don't remember ever measuring the current draw.

I used a SIMM and socket from an old motherboard I had in the garage, fastening the socket to an extension I attached to the side of the SX52 experiment board.

This was mostly an educational experience, to learn about using dynamic RAMs, and to test whether DRAMs might be a worthwhile way to go in a logger, since I already have a few dozen SIMMs sitting around the garage.

It seemed to work just fine. The DRAM performed exactly as some document I'd found said they would, as soon as I found the magic number of delays to stick into various places. I haven't used it in any serious logger, but don't see any reason it wouldn't work just fine.

I don't think this version of the code shows it (I had attached the only version I happened to have on my work computer) but I had a version of the code where a PC could send data to any selected DRAM address (up to one megabyte, my SIMM size), then read it back to test the RAM.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=111286#m111364
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\02\24@122633 by Electronegativityn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Electronegativity wrote:

Very cool, Maybe I'll give it a try with some stuff from my junk box.

Unfortunately I think I used all my old motherboards as shotgun targets.

Do you know where I can find an application note with timings and such?

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=111286#m111366
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\02\24@125538 by mebikeridern/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, mebikerider wrote:

Shotgun targets?

When I get home tonight I'll look for the document I used and send it along.

Although I used the SX52, the SX48 should work identically, since both have the same ports C, D and E.

Bean, I neglected to say that I did use a 30 pin SIMM.

Actually, I wired in a dual-SIMM socket, so the circuit should be able to use two SIMMs, with chipselect managed by the column address strobe "CAS" (which is why it's labeled CAS_1 in the code) for up to 32 megs of storage. But I only tested it with a single 1-meg SIMM.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=111286#m111374
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\02\24@125919 by James Newtonn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, James Newton wrote:

David, that is REALLY cool! I hope its ok, I've added a page at sxlist.com:

http://www.sxlist.com/sx52logger.htm

If you find a more up to date version of the code, I'd love to update it.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=111286#m111375
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\02\24@140611 by Electronegativityn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Electronegativity wrote:

I am truly impressed at the commenting!

Puts my code to shame.

This looks really good, especially since I was thinking of using an LCD display and you seem to have implemented that as well.

Thanks David.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=111286#m111392
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\02\24@154654 by _BPM_n/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, _BPM_ wrote:

Neat.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=111286#m111428
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\02\24@211003 by Chris Savagen/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Chris Savage wrote:

David,
  Yes I should've mentioned using interrupts to maintain refresh.  That's how it was done with the Z80 back when I studied that myself.  I didn't think anyone had really messed around with it on an SX though.  Refreshing to see something new and thought to be too difficult to bother with.  Nice work.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=111286#m111488
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\02\26@205152 by mebikeridern/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, mebikerider wrote:

Thanks for all the kind words!

In the project section, I've posted a project with a picture of my board, more recent code and a few documents.

The code listed above was an old development piece. For the project, I cleaned it up a bit and doublechecked that the RAM, the RS232 for the PC two-way communication and the RS232 for the LCD display all work properly.

James, the code attached to the project might be better for the SXLIST site, and you're welcome to post it.

I include a few references that helped - the SIMM socket pinout and a sample of code that shows the usage of each pin and gives examples of how to access the DRAM.

Chris, I also used the Z80 quite a bit in years past, and I remember its built-in refresh support. It supported a refresh mode where actual addresses were provided to the RAM, which led me to think that refresh would be a complicated procedure. But then I learned that modern SIMMs have a refresh mode where a counter internal to the DRAM chips manages all addressing, so all we need to do nowadays is toggle a couple of SIMM control lines on every ISR, and we're done.

This was a fun little project, especially because it worked so well, so quickly, even while using surplus parts.

David
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=111286#m111886
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\02\27@075353 by Chris Savagen/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Chris Savage wrote:

David,
  I remember doing a college project on the refresh for Z80, but not on a PC Memory Module, instead using 8 DRAM chips which were 1K X 8.  In any event when I started making my own boards I used SRAM.  More expensive, but a lot less complex and you could even get a Dallas version with battery backup.  But I do remember the DRAM Refresh thing.  You are bringing back memories of details I forgot.  I had thought we used an interrupt to handle it, but now that you mention it...In my own boards NMI was used for the watchdog and the IRQ line was used to update an RTC.  Amazing how many chips I went from down to a BASIC Stamp Module and a few misc chips.  Anyway thanks for providing all that information.  The more ambitious SX'ers will be able to turn that into some cheap mass storage.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=111286#m111963
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

More... (looser matching)
- Last day of these posts
- In 2006 , 2007 only
- Today
- New search...