Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Thread

sd card

sd card

2006-02-12 by mohsen_zamani1364

i have problem with mini sd card. The problem is that i dont know how 
can we send command to sd card  please guide me .
sincerely yours 
mohsen zamani

Re: [AVR-Chat] sd card

2006-02-12 by Michael De Nil

mohsen_zamani1364 wrote:

>i have problem with mini sd card. The problem is that i dont know how 
>can we send command to sd card  please guide me .
>
hi mohsen,

you can communicate in two ways with a (mini) sd-card:
- through spi
- through the sd-protocol

although the sd-protocol is faster (it uses 4 wires to communicate
instead of 1), the spi-interface will be preferable in case you will be
working on an avr uc. an spi-interface is available on (all?) atmega's
and can run on half of the clock rate. when you want the use the
sd-protocol, you will need to toggle all lines manually, which will
probably be slower than when using the built-in spi functionality.

for more information, i would like you to refer to:
- wikipedia (http://en.wikipedia.org/wiki/Secure_Digital)
- sandisk sd card product manual
(http://www.cs.ucr.edu/~amitra/sdcard/ProdManualSDCardv1.9.pdf)
- efsl, an embedded file system library which supports fat12/16/32 and
has a hardware layer for sd/mmc - spi for avr. it also contains a manual
containing a "how to get started"-section for avr which will explain you
step by step how to connect an sd-card to you avr and how to use the
library. (http://www.sf.net/projects/efsl)


good luck!

michael

Re: sd card

2006-02-12 by kernels_nz

Thanks Michael, I have often wanted to try using these cards myself,
but could never find any useful information. Cheers Hein B



--- In AVR-Chat@yahoogroups.com, Michael De Nil <michael@...> wrote:
Show quoted textHide quoted text
>
> mohsen_zamani1364 wrote:
> 
> >i have problem with mini sd card. The problem is that i dont know how 
> >can we send command to sd card  please guide me .
> >
> hi mohsen,
> 
> you can communicate in two ways with a (mini) sd-card:
> - through spi
> - through the sd-protocol
> 
> although the sd-protocol is faster (it uses 4 wires to communicate
> instead of 1), the spi-interface will be preferable in case you will be
> working on an avr uc. an spi-interface is available on (all?) atmega's
> and can run on half of the clock rate. when you want the use the
> sd-protocol, you will need to toggle all lines manually, which will
> probably be slower than when using the built-in spi functionality.
> 
> for more information, i would like you to refer to:
> - wikipedia (http://en.wikipedia.org/wiki/Secure_Digital)
> - sandisk sd card product manual
> (http://www.cs.ucr.edu/~amitra/sdcard/ProdManualSDCardv1.9.pdf)
> - efsl, an embedded file system library which supports fat12/16/32 and
> has a hardware layer for sd/mmc - spi for avr. it also contains a manual
> containing a "how to get started"-section for avr which will explain you
> step by step how to connect an sd-card to you avr and how to use the
> library. (http://www.sf.net/projects/efsl)
> 
> 
> good luck!
> 
> michael
>

Cardus vs USB

2006-02-13 by Thomas Keller

I have a project for which I am going to need at lreast 8.9 Mbps of 
reliable wireless dta bandwidth.   The RF choices appear to be:

a) a cardbus (PCMCIA) 802.11g wireless ethernet NIC, or
b) a wireless USB solution

  Since I canot seem to locate a vendor who sells AT76C712 chips (the 
USB AVR), and Atmel will not even discuss samples of this chip, I am 
loathe to go in the USB direction.

  So, this leaves me with cardbus.  How tricky is cardbus to interface 
to?  Is it a parallel or a serial interface?  There are a LOT of pins in 
the connector, but how many of those are actually neccesary to operation?

  This project is the first embedded project I have done recently which 
I will not be able to use AVRs in .   )-:

  I am using 4 C8051F206 chips from Silicon Labs, because they offer 32 
channels of 12 bit, 100 KSPS ADC (this project requires 128 channels of 
12 bit ADC).   Sinve it is beginning to look as if the AT76C712 isn't 
going to be available, I am also looking at a C8051F130 as my 
"concentrator" and wireless network interface controller (20 MIPS just 
isn;t fast enough for this job, and whill 100 MIPS is a bit of oberkill, 
it beats being tto slow by several MIPS).

  The package will be battery operated, body worn.  It will output 2000 
conversions/channel/.sec via the RF link.

  All assuming I can interface to the cardbus WiFi card, that is.   Any 
advice?

tom

Re: [AVR-Chat] Cardus vs USB

2006-02-13 by Mike Harrison

On Mon, 13 Feb 2006 15:23:41 -0600, you wrote:

>
>  I have a project for which I am going to need at lreast 8.9 Mbps of 
>reliable wireless dta bandwidth.   The RF choices appear to be:
>
>a) a cardbus (PCMCIA) 802.11g wireless ethernet NIC, or
>b) a wireless USB solution
>
>  Since I canot seem to locate a vendor who sells AT76C712 chips (the 
>USB AVR), and Atmel will not even discuss samples of this chip, I am 
>loathe to go in the USB direction.
>
>  So, this leaves me with cardbus.  How tricky is cardbus to interface 
>to?  Is it a parallel or a serial interface?  There are a LOT of pins in 
>the connector, but how many of those are actually neccesary to operation?

Cardbus is simialr to PCI far from trivial to implement. 
USB may be doable but documentation on USB wireless devices may be hard to get. 

Another possibility might be an ethernet interface, plus an off-the-shelf wireless access point. 

I'm sure there must be some OEM wireless modules available - this is probably your best bet.

Re: [AVR-Chat] Cardus vs USB

2006-02-14 by Mark Jordan

Maybe this helps:

	http://groups.yahoo.com/group/airdrop_user/
Show quoted textHide quoted text
> On Mon, 13 Feb 2006 15:23:41 -0600, you wrote:
> 
> >
> >  I have a project for which I am going to need at lreast 8.9 Mbps of 
> >reliable wireless dta bandwidth.   The RF choices appear to be:
> >
> >a) a cardbus (PCMCIA) 802.11g wireless ethernet NIC, or
> >b) a wireless USB solution
> >

Re: Cardus vs USB

2006-02-14 by rod_parsons

Or try one of these xport is the lan version ( You need an access 
point) http://www.lantronix.com/device-networking/embedded-device-
servers/xport.html
or the wireless version http://www.lantronix.com/device-
networking/embedded-device-servers/wiport.html
We transfer massive amounts of data through these units.
Serial access to the uP with built in web server and direct tcp 
access to a pc.
They work great.

Rod



--- In AVR-Chat@yahoogroups.com, "Mark Jordan" <enki@...> wrote:
>
> 
> 	Maybe this helps:
> 
> 	http://groups.yahoo.com/group/airdrop_user/
> 
> 
> > On Mon, 13 Feb 2006 15:23:41 -0600, you wrote:
> > 
> > >
> > >  I have a project for which I am going to need at lreast 8.9 
Mbps of 
Show quoted textHide quoted text
> > >reliable wireless dta bandwidth.   The RF choices appear to be:
> > >
> > >a) a cardbus (PCMCIA) 802.11g wireless ethernet NIC, or
> > >b) a wireless USB solution
> > >
>

Re: [AVR-Chat] Re: Cardus vs USB

2006-02-14 by Mike Harrison

On Tue, 14 Feb 2006 05:45:30 -0000, you wrote:

>Or try one of these xport is the lan version ( You need an access 
>point) http://www.lantronix.com/device-networking/embedded-device-
>servers/xport.html
>or the wireless version http://www.lantronix.com/device-
>networking/embedded-device-servers/wiport.html
>We transfer massive amounts of data through these units.
>Serial access to the uP with built in web server and direct tcp 
>access to a pc.
>They work great.

What sort of price ?

Re: [AVR-Chat] Cardus vs USB

2006-02-14 by Thomas Keller

Mark Jordan wrote:
> 	Maybe this helps:
>
> 	http://groups.yahoo.com/group/airdrop_user/
>   
>> On Mon, 13 Feb 2006 15:23:41 -0600, you wrote:
>>     
>>>  I have a project for which I am going to need at lreast 8.9 Mbps of 
>>> reliable wireless dta bandwidth.   The RF choices appear to be:
>>>
>>> a) a cardbus (PCMCIA) 802.11g wireless ethernet NIC, or
>>> b) a wireless USB solution
>>>       

   Thanks for the pointer.  Interesting [roduct, but not suitable for 
this project.  It's too large.  )-:

tom

Re: [AVR-Chat] Re: Cardus vs USB

2006-02-14 by Thomas Keller

rod_parsons wrote:
> Or try one of these xport is the lan version ( You need an access 
> point) http://www.lantronix.com/device-networking/embedded-device-
> servers/xport.html
> or the wireless version http://www.lantronix.com/device-
> networking/embedded-device-servers/wiport.html
> We transfer massive amounts of data through these units.
> Serial access to the uP with built in web server and direct tcp 
> access to a pc.
> They work great.
>
> Rod

     Hrm...I get "404 - Page Not Found" on both of these links.


tom

Re: [AVR-Chat] Re: Cardus vs USB

2006-02-14 by Ned Konz

On Feb 14, 2006, at 8:51 AM, Thomas Keller wrote:

> rod_parsons wrote:
>> Or try one of these xport is the lan version ( You need an access
>> point) http://www.lantronix.com/device-networking/embedded-device-
>> servers/xport.html
>> or the wireless version http://www.lantronix.com/device-
>> networking/embedded-device-servers/wiport.html
>> We transfer massive amounts of data through these units.
>> Serial access to the uP with built in web server and direct tcp
>> access to a pc.
>> They work great.
>>
>> Rod
>
>      Hrm...I get "404 - Page Not Found" on both of these links.

You're allowing for the fact that the URLs wrapped, right?
http://www.lantronix.com/device-networking/embedded-device-servers/ 
xport.html
http://www.lantronix.com/device-networking/embedded-device-servers/ 
wiport.html

The XPort is $49, quantity 1.

Has anyone used this?
Is this a straight serial-to-Ethernet adapter, as it appears?

-- 
Ned Konz
ned@bike-nomad.com

Re: Cardus vs USB

2006-02-15 by rod_parsons

Hi,
   Try this one.
http://www.lantronix.com/device-networking/embedded-device-servers
Then click on either xport or wiport.
You can get them from mouser
http://www.mouser.com/lantronix/
And select the one you want.
It's cheaper to buy a xport approx $50 American and buy a wireless 
router to plug it into. Add a ethernet web cam if you want video.
And connect to it with a pc, laptop or pocketpc.

And yes it's a serial to ethernet. Easy as.
You can set it up the virtial serial port on the pc, plug the xport 
it into a say a serial modem. Now plug that into anywhere on your 
network and access the modem as if it was pluged directly into the pc.
I have vb code to access as a remote serial port if any one wants it.
Java is better cause you can store it on the internal web interface 
and use it anywhere.
Here's some good sites.

http://www.tigoe.net/pcomp/code/archives/lantronix_devices/index.shtml


http://www.wibotics.com/downloads.html

I highly recomend these.
And is a slight bit bigger than a normal rg45 connector but runs off 
3.3v thats all.

Rod


--- In AVR-Chat@yahoogroups.com, Ned Konz <bikenomad@...> wrote:
>
> 
> On Feb 14, 2006, at 8:51 AM, Thomas Keller wrote:
> 
> > rod_parsons wrote:
> >> Or try one of these xport is the lan version ( You need an access
> >> point) http://www.lantronix.com/device-networking/embedded-
device-
Show quoted textHide quoted text
> >> servers/xport.html
> >> or the wireless version http://www.lantronix.com/device-
> >> networking/embedded-device-servers/wiport.html
> >> We transfer massive amounts of data through these units.
> >> Serial access to the uP with built in web server and direct tcp
> >> access to a pc.
> >> They work great.
> >>
> >> Rod
> >
> >      Hrm...I get "404 - Page Not Found" on both of these links.
> 
> You're allowing for the fact that the URLs wrapped, right?
> http://www.lantronix.com/device-networking/embedded-device-servers/ 
> xport.html
> http://www.lantronix.com/device-networking/embedded-device-servers/ 
> wiport.html
> 
> The XPort is $49, quantity 1.
> 
> Has anyone used this?
> Is this a straight serial-to-Ethernet adapter, as it appears?
> 
> -- 
> Ned Konz
> ned@...
>

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.