Go to Post The major items of FIRST are still what they always were.....understand the game, build a reliable quality machine to play it, train you drivers to use it to its full potential. If you do these things, you can win with or without any specific machine feature. - Jim Zondag [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 01-12-2006, 15:30
JimGRobot JimGRobot is offline
Registered User
AKA: Jim
FRC #1388 (Eagle Robotics)
Team Role: Mentor
 
Join Date: Nov 2006
Rookie Year: 2005
Location: Arroyo Grande, CA
Posts: 29
JimGRobot is just really niceJimGRobot is just really niceJimGRobot is just really niceJimGRobot is just really nice
File System for the RC

It's a little early to mention this, since the code isn't finished, but I can't wait.
Take a look at this cool product that will make it very easy to let the robot control code talk to an SD memory module:

http://www.chipdos.com/

I have always been annoyed that you have to recompile the control program to implement changes to an autonomous program or script. Using this device, you can use short text strings to specify the steps of an autonomous script, and simply edit the file on the SD module connected to your PC, plug the SD back into the RC, and off you go.

I am going to use the SPI interface to talk to this thing, since in the RC environment a synchronous protocol is easier to deal with than async. In this case it can be done with bit-banging on 5 digital I/O pins.

Another thing, it runs on 3.3 VDC, so make sure and have a regulator on hand. Even though the power supply is 3.3 volts, it can interface with 5 volt control signals.

I will post more as I figure it out.

Jim
  #2   Spotlight this post!  
Unread 01-12-2006, 15:41
EHaskins EHaskins is offline
Needs to change his user title.
AKA: Eric Haskins
no team (CARD #6 (SCOE))
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Elkhorn, WI USA
Posts: 998
EHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond repute
Send a message via MSN to EHaskins
Re: File System for the RC

I just bought this module from spark fun. I havn't had a chance to test it yet, but it looks good.
__________________
Eric Haskins KC9JVH
  #3   Spotlight this post!  
Unread 01-12-2006, 16:08
JimGRobot JimGRobot is offline
Registered User
AKA: Jim
FRC #1388 (Eagle Robotics)
Team Role: Mentor
 
Join Date: Nov 2006
Rookie Year: 2005
Location: Arroyo Grande, CA
Posts: 29
JimGRobot is just really niceJimGRobot is just really niceJimGRobot is just really niceJimGRobot is just really nice
Re: File System for the RC

I first found this device on www.sparkfun.com, but ended up buying a slightly different one from ChipDos...

I like the connector on the Spark Fun version better...

Jim


Quote:
Originally Posted by EHaskins
I just bought this module from spark fun. I havn't had a chance to test it yet, but it looks good.
  #4   Spotlight this post!  
Unread 01-12-2006, 17:23
EHaskins EHaskins is offline
Needs to change his user title.
AKA: Eric Haskins
no team (CARD #6 (SCOE))
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Elkhorn, WI USA
Posts: 998
EHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond repute
Send a message via MSN to EHaskins
Re: File System for the RC

So after I saw you r post I decided to try to make my module work, and I found some info you might find useful.

http://www.sparkfun.com/cgi-bin/phpb...ight=dosonchip
http://www.sparkfun.com/cgi-bin/phpb...ight=dosonchip
__________________
Eric Haskins KC9JVH
  #5   Spotlight this post!  
Unread 01-12-2006, 17:48
EHaskins EHaskins is offline
Needs to change his user title.
AKA: Eric Haskins
no team (CARD #6 (SCOE))
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Elkhorn, WI USA
Posts: 998
EHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond repute
Send a message via MSN to EHaskins
Re: File System for the RC

Have you been able to make a DOSonCHIP module to work at all?
__________________
Eric Haskins KC9JVH
  #6   Spotlight this post!  
Unread 01-12-2006, 18:02
JimGRobot JimGRobot is offline
Registered User
AKA: Jim
FRC #1388 (Eagle Robotics)
Team Role: Mentor
 
Join Date: Nov 2006
Rookie Year: 2005
Location: Arroyo Grande, CA
Posts: 29
JimGRobot is just really niceJimGRobot is just really niceJimGRobot is just really niceJimGRobot is just really nice
Re: File System for the RC

BTW, thanks for the very informative links...

I haven't even powered mine up yet, as I am waiting for the 3.3 volt regulator I ordered...

Originally, I tried to order the development board from ChipDos, but they quoted January delivery, so I changed the order to the plain module. That is why I bought from them instead of Spark Fun.

I would like to get it running from a terminal first because it should be easier to deal with, then I will move on to SPI.

Jim
  #7   Spotlight this post!  
Unread 01-12-2006, 19:07
JimGRobot JimGRobot is offline
Registered User
AKA: Jim
FRC #1388 (Eagle Robotics)
Team Role: Mentor
 
Join Date: Nov 2006
Rookie Year: 2005
Location: Arroyo Grande, CA
Posts: 29
JimGRobot is just really niceJimGRobot is just really niceJimGRobot is just really niceJimGRobot is just really nice
Re: File System for the RC

I found information on another similar product from one of the links you sent:

http://www.saelig.com/miva/merchant....go ry_Code=FF

I will continue with the ChipDos one, since I already have it, and it looks simpler to use. There are many complaints about it, but some people have been able to make it work. I think this will be a handy device to have on the robot...

Jim
  #8   Spotlight this post!  
Unread 02-01-2007, 01:48
JimGRobot JimGRobot is offline
Registered User
AKA: Jim
FRC #1388 (Eagle Robotics)
Team Role: Mentor
 
Join Date: Nov 2006
Rookie Year: 2005
Location: Arroyo Grande, CA
Posts: 29
JimGRobot is just really niceJimGRobot is just really niceJimGRobot is just really niceJimGRobot is just really nice
Re: File System for the RC

Sorry for the delays, I finally got around to making this module work. It has some annoying qualities, but I think we will be able to use it for the upcoming 2007 season.

I will be posting about this project on a blog that I finally set up here: http://www.techranch.com/blog/

Thanks,
Jim

Last edited by JimGRobot : 02-01-2007 at 01:51.
  #9   Spotlight this post!  
Unread 02-01-2007, 11:42
Bharat Nain's Avatar
Bharat Nain Bharat Nain is offline
Registered User
no team
Team Role: Alumni
 
Join Date: Jan 2004
Rookie Year: 2003
Location: New York
Posts: 2,000
Bharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond repute
Send a message via AIM to Bharat Nain Send a message via MSN to Bharat Nain
Re: File System for the RC

Quote:
Originally Posted by JimGRobot View Post
Sorry for the delays, I finally got around to making this module work. It has some annoying qualities, but I think we will be able to use it for the upcoming 2007 season.

I will be posting about this project on a blog that I finally set up here: http://www.techranch.com/blog/

Thanks,
Jim
If you don't mind, what are it's annoying qualities and good ones?
__________________
-= Bharat Nain =-

Whatever you do, you need courage. Whatever course you decide upon, there is always someone to tell you that you are wrong. There are always difficulties arising that tempt you to believe your critics are right. To map out a course of action and follow it to an end requires some of the same courage that a soldier needs. Peace has its victories, but it takes brave men and women to win them. - Ralph Waldo Emerson
  #10   Spotlight this post!  
Unread 02-01-2007, 13:57
EHaskins EHaskins is offline
Needs to change his user title.
AKA: Eric Haskins
no team (CARD #6 (SCOE))
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Elkhorn, WI USA
Posts: 998
EHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond repute
Send a message via MSN to EHaskins
Re: File System for the RC

Did you get the SPI working or are you just using an rs232-TTL converter?
__________________
Eric Haskins KC9JVH
  #11   Spotlight this post!  
Unread 02-01-2007, 15:56
Venkatesh Venkatesh is offline
Registered User
FRC #0030
 
Join Date: Jan 2003
Rookie Year: 2002
Location: USA
Posts: 260
Venkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to behold
Re: File System for the RC

To talk to CF cards with FAT filesystems, you might be able to use code and designs from Minty MP3 (http://www.ladyada.net/make/minty/). There is code for a PIC18 under the firmware section (fat16.c and cf.c).
__________________
-- vs, me@acm.jhu.edu
Mentor, Team 1719, 2007
Team 30, 2002-2005
  #12   Spotlight this post!  
Unread 02-01-2007, 16:15
Tristan Lall's Avatar
Tristan Lall Tristan Lall is offline
Registered User
FRC #0188 (Woburn Robotics)
 
Join Date: Aug 2001
Rookie Year: 1999
Location: Toronto, ON
Posts: 2,484
Tristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond repute
Re: File System for the RC

Quote:
Originally Posted by Venkatesh View Post
To talk to CF cards with FAT filesystems, you might be able to use code and designs from Minty MP3 (http://www.ladyada.net/make/minty/). There is code for a PIC18 under the firmware section (fat16.c and cf.c).
Interestingly enough, CF is pin-compatible with ATA, so you might also be able to use conventional ATA hard drives with that code and hardware. (Not that you'd ever need several gigabytes of code space....)
  #13   Spotlight this post!  
Unread 03-01-2007, 01:54
sciguy125 sciguy125 is offline
Electrical Engineer
AKA: Phil Baltar
FRC #1351
Team Role: College Student
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Sunnyvale, CA
Posts: 519
sciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond repute
Send a message via AIM to sciguy125 Send a message via MSN to sciguy125 Send a message via Yahoo to sciguy125
Re: File System for the RC

Quote:
Originally Posted by Tristan Lall View Post
Interestingly enough, CF is pin-compatible with ATA, so you might also be able to use conventional ATA hard drives with that code and hardware. (Not that you'd ever need several gigabytes of code space....)
So I see that you get by with 640K of RAM.
__________________

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GE/S/P a-- e y-- r-- s:++ d+ h! X+++
t++ C+ P+ L++ E W++ w M-- V? PS+ PE+
5- R-- tv+ b+ DI+++ D- G
------END GEEK CODE BLOCK------
  #14   Spotlight this post!  
Unread 03-01-2007, 03:58
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,187
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Re: File System for the RC

Quote:
Originally Posted by Venkatesh View Post
To talk to CF cards with FAT filesystems, you might be able to use code and designs from Minty MP3 (http://www.ladyada.net/make/minty/). There is code for a PIC18 under the firmware section (fat16.c and cf.c).
The page isn't loading correctly for me.

I will assume it works on the same protocol as SD, which is SPI. The SPI portions of the IFI controller's PICs are being used for internal function. If so, that software wont be a direct fit for what you want it to do.
  #15   Spotlight this post!  
Unread 03-01-2007, 08:12
Venkatesh Venkatesh is offline
Registered User
FRC #0030
 
Join Date: Jan 2003
Rookie Year: 2002
Location: USA
Posts: 260
Venkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to behold
Re: File System for the RC

If the page isn't loading correctly, another copy of the same info is here: http://web.media.mit.edu/~ladyada/make/minty/index.html
__________________
-- vs, me@acm.jhu.edu
Mentor, Team 1719, 2007
Team 30, 2002-2005
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
PHP file system stuff Ryan M. Website Design/Showcase 3 06-12-2004 07:36
Standardized Scouting System/File Format phrontist General Forum 15 18-04-2004 17:05
Dxf File for the First logo God? Inventor 3 23-01-2003 11:08
Need Dxf file for the first logo Kautz Inventor 3 05-12-2002 16:17


All times are GMT -5. The time now is 05:37.

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