ATMEL microcontroller + USB memory stick

Dec 26, 2005 7 Replies

I want to build an small data logger based around ATMEL's 8535 (or one of the AVR Mega). I need to log around 300MBytes of data. USB memory sticks are cost effective storage mediums. Is there a simple way to interface a USB memory stick with an ATMEL microcotroller?



Ray


Hi Ray,

A USB memory stick is a USB device/peripheral and is designed to be connected to a USB host (Eg a PC with USB host stack in XP etc).

The problem is - your ATMEL micro needs software that implements a USB host stack of a PC.

Have you considered other flash storage mediums like SD, CF or MMC cards and a FAT file system so your PC can read the file stored on these cards?

Just a thought.

JG

wrote in news:43b01373$0$9289$ snipped-for-privacy@news.optusnet.com.au:

here's a USB IC

formatting link

for that task you'd need a microcontroller that has usb master functionality, many can function as slaves (eg behave like a memory stick) few can function as masters (eg read or write write to an attached stick)

ATMEL have app notes on interfacing their serial eeprom chips to their microcontrollers would it be practical to use that for storage provide USB interface for download?

AIUI these eproms cost about the same or less than the USB sticks.

Bye. Jasen

Plenty of USB slave devices around. But you need a USB host to talk to a memory stick.

Much easier to talk to a CF card for datalogging from an AVR. Code already exists to talk to a FAT filesystem on a card with an AVR.

Regards, Adrian Jansen adrianjansen at internode dot on dot net Design Engineer J & K Micro Systems Microcomputer solutions for industrial control Note reply address is invalid, convert address above to machine form.

Can you get these eeproms is 300MB though?

Michael

Much easier to use SD I would have thought, less pins.

Michael

hmm, no. Atmel only goes to 256K.

sounds like one of the generic serial flash cards like SD or XD might be the answer.

Bye. Jasen

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required