Go to Post A poor robot with good drivers playing on good strategy will whomp a good robot with poor drivers running on poor strategy any day. - henryBsick [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 04-01-2003, 22:08
Goya Goya is offline
Registered User
#0019 (Big Red)
 
Join Date: Jan 2003
Location: Greenwich, CT
Posts: 35
Goya is an unknown quantity at this point
Send a message via AIM to Goya
Potential Hard Drive on RC?

On a purely hypothetical note, does anyone here know where the code and long-term memory is kept on the RC?

How much room does this storage facility have?

Can it be accessed during the use of the RC?


(This is NOT for AI purposes!)

Thanks a lot,
  #2   Spotlight this post!  
Unread 04-01-2003, 22:16
rbayer's Avatar Unsung FIRST Hero
rbayer rbayer is offline
Blood, Sweat, and Code
no team (Teamless Orphan)
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Minnetonka, MN
Posts: 1,087
rbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of light
Send a message via AIM to rbayer
Yes. It is stored on the BS2SX, in the 2048k (per slot) of EEPROM. You can access it during runtime, but chances are life will get really messy, really fast. Look at the READ and WRITE commands if you really want to try. Also, you may need to "trick" the stamp software into letting you write to locations where the program is stored. Just declare a word-sized variable and use it as your location index.

--Rob
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php
  #3   Spotlight this post!  
Unread 05-01-2003, 21:21
Neal Turett Neal Turett is offline
Registered User
#0201
 
Join Date: Nov 2002
Location: Rochester Hills
Posts: 34
Neal Turett is on a distinguished road
Careful!!

EEPROM's lifecycle is only about 100K accesses (reads or writes).

THis means that if you access the EEPROM every look, and one loop takes 26 ms, you get about, your EEPROM is bad after 2,600,000ms = 2600s = 16 minutes, 40 seconds of use before you start to have to start worrying if you're burning out your EEPROM.

Then you have to hope that you never want to write a program big enough to fill up the EEPROM to the point where your program hits the bad memory. Once that happens, you're SOL. You might be able to change slots, but I'd personally rather avoid the whole mess.
  #4   Spotlight this post!  
Unread 05-01-2003, 21:35
Goya Goya is offline
Registered User
#0019 (Big Red)
 
Join Date: Jan 2003
Location: Greenwich, CT
Posts: 35
Goya is an unknown quantity at this point
Send a message via AIM to Goya
Would it be possible to somehow attach an external hard drive?

Wiring it through a PWM input and a PWM output does not sound impossible. Acessing the data on the drive is hard, but manageable.

Are there any large qualms against using a hard drive on a robot?

Thanks a lot,
  #5   Spotlight this post!  
Unread 05-01-2003, 21:39
rbayer's Avatar Unsung FIRST Hero
rbayer rbayer is offline
Blood, Sweat, and Code
no team (Teamless Orphan)
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Minnetonka, MN
Posts: 1,087
rbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of light
Send a message via AIM to rbayer
Ummm... unless you want to build an IDE or SCSI controller, it isn't going to work. Besides, HDs are illegal as they are electronics that can't be bought from DigiKey.
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php
  #6   Spotlight this post!  
Unread 05-01-2003, 23:46
iscrc2 iscrc2 is offline
Registered User
#0568 (Nerds of the North)
 
Join Date: Jan 2002
Location: Anchorage, Alaska
Posts: 28
iscrc2 is an unknown quantity at this point
I don't think you'll want very much storage for this game. And your ability to get data in and out is pretty limited. Even if you used ALL the digital inputs with a sample rate of every 26ms you are only looking at 608 BITS per second.

Its surprising how little storage it takes to do some really cool things.

You might look at external flash mem if you really want some kind of non-volitile external memory but your bit rate to it would still be very poor.
  #7   Spotlight this post!  
Unread 06-01-2003, 00:27
Goya Goya is offline
Registered User
#0019 (Big Red)
 
Join Date: Jan 2003
Location: Greenwich, CT
Posts: 35
Goya is an unknown quantity at this point
Send a message via AIM to Goya
Thanks for the input!
  #8   Spotlight this post!  
Unread 06-01-2003, 09:55
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,570
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Careful!!

Quote:
Originally posted by Neal Turett
EEPROM's lifecycle is only about 100K accesses (reads or writes).
No, EEPROMs only have a limited number of writes. You can read as many times as you want. So, you don't want to write data to the EEPROM in the middle of a match, but it's fine for doing lookup tables, etc.

http://whatis.techtarget.com/definit...213928,00.html
  #9   Spotlight this post!  
Unread 06-01-2003, 10:01
andy's Avatar
andy andy is offline
Alumni
FRC #1139 (Gear Grinders)
Team Role: Student
 
Join Date: Jan 2003
Location: Atlanta
Posts: 94
andy is a jewel in the roughandy is a jewel in the roughandy is a jewel in the rough
Send a message via AIM to andy
if you really want to know how to interface a hard drive search for build your own Mp3 player on google. I ll send a link soon.
interesting stuff but really difficult to build. good luck though! more power to you but it's gonna be difficult.
-Andy
  #10   Spotlight this post!  
Unread 06-01-2003, 10:02
andy's Avatar
andy andy is offline
Alumni
FRC #1139 (Gear Grinders)
Team Role: Student
 
Join Date: Jan 2003
Location: Atlanta
Posts: 94
andy is a jewel in the roughandy is a jewel in the roughandy is a jewel in the rough
Send a message via AIM to andy
try www.mp3projects.com
good luck
-Andy
  #11   Spotlight this post!  
Unread 09-01-2003, 13:55
Jeff McCune's Avatar
Jeff McCune Jeff McCune is offline
Alpha Geek
#0677 (The Wirestrippers)
Team Role: Mentor
 
Join Date: Jan 2003
Location: The Ohio State University
Posts: 67
Jeff McCune is on a distinguished road
Send a message via ICQ to Jeff McCune Send a message via AIM to Jeff McCune
Re: Careful!!

Quote:
Originally posted by Neal Turett
EEPROM's lifecycle is only about 100K accesses (reads or writes).
You sure about that? I thought it was only the write lifecyle that came into play. I could be mistaken though.
__________________
Team 677 - The Wirestrippers - Columbus School for Girls and The Ohio State University
EMAIL: mccune@ling.ohio-state.edu

...And all you touch and all you see
Is all your life will ever be...
Closed Thread


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 On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
1 stick drive to 2 stick drive wayne 05 Programming 18 01-04-2004 16:41
"Automatic Transmission" Madison Technical Discussion 70 24-11-2003 09:03
XP Hard Drive Space Question Raven_Writer Chit-Chat 13 07-08-2003 16:38
Direct drive or Chain? Suneet Technical Discussion 32 27-03-2003 23:00
"Motors and Drive train edition" of Fresh From the Forum Ken Leung CD Forum Support 6 29-01-2002 12:32


All times are GMT -5. The time now is 07:15.

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