|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#16
|
|||
|
|||
|
Re: File System for the RC
The link isnt working do to an extra ")" at the end of the link. If you got to http://www.ladyada.net/make/minty/ it works.
|
|
#17
|
|||
|
|||
|
Re: File System for the RC
Quote:
The annoying qualities are that it runs on 3.3 VDC instead of 5 VDC, and that the commands must be lower case and the file names must be upper case, etc. One catch using the SPI interface is that you have to send meaningless bytes to have it send data back to you, but that is the case with any SPI device. Access to file data is very primitive, and I haven't had time to write some higher level code for accessing the data, but considering the simple task we have of simply reading from a file, it should work OK. I have some more information here, http://www.techranch.com/blog/, and will be posting more... Thanks, Jim |
|
#18
|
|||
|
|||
|
Re: File System for the RC
Quote:
Doing this makes for some funky operation from the terminal, but it really boils down to typing an extra space character to get the DOS prompt back from the module. It ignores the extra spaces, so no harm done... I also wrote some testing code that talks SPI directly to the thing. I have some more information and a link to the test program here, http://www.techranch.com/blog/, and will be posting more info soon... One thing about SPI on the RC. There is a built-in SPI port on the PIC chip, but I think it is used to talk to the master processor. The test code I wrote just bit-twiddles some port pins to generate the clock signals. SPI can use as few as 3 pins, but this one uses 5; data out, data in, clock, chip select, and busy. There are 2 others available, data direction and reset. I am currently resetting the chip from a port pin, but I doubt that I really need to do this. The data direction signal would make communication with the module more predictable, but I probably won't use it. I will be posting some more sample code on the blog... I hope this helps. Thanks, Jim |
|
#19
|
||||
|
||||
|
Re: File System for the RC
Hey guys, it sounds like you are trying to do exactly what we did last year with Chicken AID. The only difference is we used a USB thumb or an SD card. We used a development board that we created to prototype Chicken AID. The Board uses SPI to communicate to the SD and USB host. We use USART to communicate to the R/C the board has a built in RS232 converter.
Here is the link http://www.crosstheroadelectronics.com/uPICFAT.htm The development system is around $150. But it is a complete, out of the box solution. It includes the board, the plug in with examples, it also comes with a power supply, LCD and serial cable. Mike Copioli CTRE Last edited by Mike Copioli : 03-01-2007 at 23:32. Reason: change |
|
#20
|
||||
|
||||
|
Re: File System for the RC
Can you post the code you have finished?
|
|
#21
|
|||
|
|||
|
Re: File System for the RC
You can read more about my work here:
http://www.techranch.com/blog/ And you can download my current test file from here: http://www.techranch.com/Files/SPI_Test.c |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |