Go to Post The most important deisgn criteria is always performance in any of the parts / systems we design. But we do try to abide by the saying -- if it doesn't look good (right), it probably isn't good (right). - Adam Freeman [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #20   Spotlight this post!  
Unread 06-09-2007, 11:59
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: Can the robot read a text file?

Quote:
Originally Posted by Tom Bottiglieri View Post
If I remember correctly, SD/MMC cards run on an SPI connection. The IFI RC is using SPI on the user processor for something else.

This could be fixed by using an auxiliary PIC (although I would prefer an AVR.. woo GCC!), connecting the card via SPI, and using a serial connection between the aux board and the IFI controller. Also, I suppose if you wanted to get really fancy, you could emulate SPI by bit banging through the available i/o.
I'm glad to see some interest in this topic, reading files from SD chips would be handy...

Last year I posted some information about using an SD module for holding autonomous scripting files. I used a module from DOSonChip, but I think it uses the same chip as the sparkfun model. I wrote some test code that runs on an SX28, but never tried it on an RC.

The code uses bit-banging on some port pins for SPI, and includes some simple file parsing examples. I intended to write some higher-level functions, but never got there.

All of the information is in multiple blog entries here.

Have fun,
Jim
 


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
Can the FRC board read resistance? brennerator Technical Discussion 1 13-01-2007 22:25
I can read this....can you? Wayne Doenges Chit-Chat 2 22-03-2006 14:49
Can we assign alternate text for [img] and/or [img2] tags? Greg Ross CD Forum Support 2 01-11-2005 14:51
"Read the rules!" ...can it be said enough? generalbrando Rules/Strategy 14 08-01-2005 08:39
Help - Can you rotate an .avi file?? Elgin Clock IT / Communications 2 11-02-2004 00:56


All times are GMT -5. The time now is 01:41.

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