Go to Post I had told my new team this joke: "They procrastinate so much, no wonder they're the Heroes of Tomorrow!", but I guess the joke doesn't have any truth in it anymore. They were really on their game this year! - JABot67 [more]
Home
Go Back   Chief Delphi > Old Forum Archives > 2001
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 06-24-2002, 12:59 AM
archiver archiver is offline
Forum Archival System
#0047 (ChiefDelphi)
 
Join Date: May 2001
Location: Pontiac, MI
Posts: 21,214
archiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond repute
Adding RAM to RC

Posted by Chris Orimoto at 2/16/2001 9:01 PM EST


Student on team #368, Kika Mana, from McKinley High School and Nasa Ames/Hawaiian Electric/Weinberg Foundation.



Hey, it is legal/possible to add RAM to the Robot
Controller for the purpose of adding variables to
the Pbasic program? If so, then does anyone
know how to do this?

Your help is much appreciated...

Chris, #368
__________________
This message was archived from an earlier forum system. Some information may have been left out. Start new discussion in the current forums, and refer back to these threads when necessary.
  #2   Spotlight this post!  
Unread 06-24-2002, 12:59 AM
archiver archiver is offline
Forum Archival System
#0047 (ChiefDelphi)
 
Join Date: May 2001
Location: Pontiac, MI
Posts: 21,214
archiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond repute
Only Scratchpad RAM

Posted by Joe Johnson at 2/16/2001 9:58 PM EST


Engineer on team #47, Chief Delphi, from Pontiac Central High School and Delphi Automotive Systems.


In Reply to: Adding RAM to RC
Posted by Chris Orimoto on 2/16/2001 9:01 PM EST:



No legal way to add RAM.

But... the scratchpad more than doubles your RAM. You
have to access it via PUT and GET, but other than that
it is pretty useful stuff.

If that isn't enough, you MAY consider doing some crazy
stuff like using EEPROM memory. This won't work well
if you are writing stuff to memory EVERY loop, but once
in a while (once per second or per several seconds) you
can probably get away with. Using this, you have two
enemies. First, you have the relentless tick of time.
If you don't answer the bell often enough
(specifically, if you miss 6 data packets -- 150msec)
the master CPU will call the fight, so to speak.
Second, the EEPROM's only have a finite life. If you
write to them too often (millions typically) they get
stupid.

The final and perhaps best suggestion I have it to reuse
variables within one loop. It can be tricky, but you
can save a lot of RAM space. For instance, do all your
arm stuff early in the loop, then you are free to use
the variable later in the loop for other stuff.

I hope this helped.

Good Luck,

Joe J.



__________________
This message was archived from an earlier forum system. Some information may have been left out. Start new discussion in the current forums, and refer back to these threads when necessary.
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Scratchpad RAM Access Time Ian W. Programming 1 02-13-2003 12:31 AM
Out of RAM Space on Custom Program archiver 2000 4 06-23-2002 11:07 PM
BS-2sx RAM access times archiver 2000 2 06-23-2002 10:10 PM
bad scratchpad ram locations ChrisA Programming 8 03-12-2002 01:37 PM
RAM Requirements Tyler Olds 3D Animation and Competition 10 01-22-2002 06:48 PM


All times are GMT -5. The time now is 06:10 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi