--- In Jason Stahls <> wrote:
>
> tsao.terence wrote:
> >>> I will be using the TS7260 as a network gateway. I will receive files
> >>> via SPI interface and store them into a SD card at a predetermined
> >>> schedule.
> >>>
> >>> Then I will grab data from SD card, and perform a SCP function to the
> >>> school server. How difficult is that? Where can i find any SD card
> >>> read/write sample code?
> >>>
> >> It's already in the linux kernel already. You just write files. They
> >> happen
> >> to be on the sd card! You'll need to have the SD card etup with a suitable
> >> file system and mount'ed.
> >>
> > Can you explain to me what do you mean for getting the SD card set up with
> > a suitable file system and mounted.
> > I will just be write raw data, and send raw data to the server. What file
> > system is that?
>
> No offence intended but it sound like you need to pick up a few good
> Linux administration and either some C programming or bash scripting
> books and read up on the basics :) What Jim is saying is all the
> functionallity you need is already there in the OS/kernel. You can
> partition a sd card with fdisk, create a filesystem with mkfs and mount
> it with mount, these procedures will be covered in any decent Linux
> book. To get data from a SPI interface you'll probably need to write
> some code, that's where either a C programming book or bash scripting
> book comes in (with some C helper programs to actually interface to the
> SPI bus)
>
> All in all, we can tell you how to do what you want, but it would mean
> us basically doing the job for you (step by step) and take up a pile of
> email messages :) and in the end, odds are you wouldn't have learned a
> thing.
>
> --
> Jason Stahls
>
Hi Jason,
Thank you for the advice, do you know any good linux administration and bash
scripting books? I have done a lot of programming in C, the problem is i am
fairly new to linux, but I do know my unix commands.
Thanks
Terence
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|