writing to a thumbdrive from a 8bit micro

Jun 18, 2007 15 Replies

I was trying to build a datalogger which writes data into a USB thumb drive, are there any 8bit micros out there that can directly write to a FAT formatted thumbdrive?



The only other chip I know of is the VNC1L from ftdi, which is great except that I can't write custom firmware for it and will need yet another micro to control it.



(also a micro that has a free compiler toolchain would be great)



Have a look at: USB Flash Drive interface for existing products.

formatting link

Don...

Don McKenzie Site Map: http://www.dontronics.com/sitemap E-Mail Contact Page: http://www.dontronics.com/email No More Damn Spam: http://www.wizard-of-oz.com

skrev i meddelandet news: snipped-for-privacy@q69g2000hsb.googlegroups.com...

AT90USB1287 has an USB Host w Software (actually an OTG)

Best Regards, Ulf Samuelsson This is intended to be my personal opinion which may, or may not be shared by my employer Atmel Nordic AB

That's a nice product. One question, can it sustain a write speed of about 35 KiByte per sec to a USB flash drive? That would help me out in the future for adding a log-device to a product. Best Regards, Edwin van den Oetelaar

Hi Edwin, you would need to chack the data sheets All Documents can be found at:

formatting link
if you can't find what you need there, the manufactureres have good support, so ask directly.

Cheers Don...

Don McKenzie Site Map: http://www.dontronics.com/sitemap E-Mail Contact Page: http://www.dontronics.com/email No More Damn Spam: http://www.wizard-of-oz.com USB Flash Drive interface for existing products. http://www.dontronics-shop.com/product.php?productid=16654

I was looking for an alternative to VNC1L, not a product that has VNC1L inside!!

products.http://www.dontronics-shop.com/product.php?productid=16654

Well okay then. How about replacing the thumb drive with a plain flash memory card of similar price, that you can then read with a $5 USB reader or directly in many laptopts and even some desktops.

Research the card formats, some talk SPI.

A degeneate FAT file system isn't too bad if the micro always does the writing and formatting and windows only reads it. But if you let windows write to it, then life gets hard for the micro as you have to implement the full file system with fragmentation.

If you aren't willing to use a VNC1L, your choices are:

Find a chip that you *do* like. AT89C5131 perhaps. Google is your friend:

formatting link

Use an embedded PC-on-a chip system.

Write bit banging code to do it on the micro of your choice -- a lot of work and the result will be slow.

Please don't top-post.

Quoting Style in Newsgroup Postings

formatting link

How do I quote correctly in usenet?

formatting link

Common Mistakes in Usenet Postings and How to Avoid Them

formatting link

Bottom vs. top posting and quotation style on Usenet

formatting link

Why bottom-posting is better than top-posting

formatting link

+What do you mean "my reply is upside-down"?
formatting link

Well, that brought usefull information to this discussion.

Mother Falconer would be proud.

donald

Well, yes. However notice all the info that has been lost by ignoring Usenet standards.

cbfalconer at maineline dot net

LOST !!???

This thread is now lost due to losing focus, not loss of "Usenet standards".

If your interested and able to add to the conversation, information will be shared.

Stressing over top post vs. bottom post is just a distraction.

donald

Just google CBFalconer top post and you get: "1 - 10 of about 20,600 for CBFALCONER TOP POST"

About 20,600? Who says it's a distraction.

Now scrolling through the quotes to get to the new post, that's a distraction :>)

*Peter*

D>> D>>

But of course that is nothing compared to this, just google "guy macon top post" and you get: "1 - 10 of about 741,000 for guy macon TOP POST"

Maybe by the time we get to the end of this thread he might make the million!

This could be entertaining or just plain "egocentric".

*Peter*

Peter Jakacki wrote:

Searching for "guy macon top post" as you show, with the quotes, brings up exactly 0 matches. (That will change when this message and any replies are digested by Google, of course.)

Removing the quotes brings "about 747,000" matches, most of them totally unrelated, like this, on the Ocmulgee National Monument:

formatting link

Relevant sections: "Today's Gear GUY: "How can I attach a camcorder..." "...at the edge of the present city of MACON, about 4 miles from the geographic center of Georgia,..." "The structures that stood on TOP at each stage..." "The English set up a trading POST at Ocmulgee sometime around

1690,..."

The correct search (guy-macon top-post) found 96 matches on a first attempt, about 350 on a second try a few minutes later. (Which suggests that Google returns only the matches found before some allotted time when a new search is entered, and continues to work on it in the background.)

Roberto Waltman

[ Please reply to the group, return address is invalid ]

It is more likely that the Google load balancer sent you to a different server in the Google distributed network. Some users always get the same one, others get a different one each time. It all depends where you are on the net.

There is one other task that needs to be done in order to get an accurate count. You need to go to the very last entry on the very last page and see what the actual count is. The count given on the first page isn't really a count; it's an estimate.

BTW, it used to be true that searching on "Guy Macon" gave the same results as searching on Guy-Macon, but that is no longer true.

Join the Discussion

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

Didn't find your answer?

Ask the community — no account required