8051 Microcontroller Projects AVR PIC Microcontroller Projects Tutorials Ebooks Libraries, interfacing tutorials, lcd tutorial, stepper motor, dc motor 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems

 
8051 microcontroller 8051 microcontroller
Forums

Moderators: Ajay, Junied , abbas1707, Arun Kumar V, pdi33, Shailesh NAYAK, ۞ TPS ۞, shyam, sashijoseph
Author Post
Jivan
Wed May 07 2008, 07:56PM
 User Offline
Registered Member #7685
Joined: Tue May 06 2008, 03:22PM

Posts: 3
Thanked 0 times in 0 posts
Hi
I am doing project on interfacing of usb pen drive with microcontroller.
some 32bit uc have OTG module. but how to implement FAT on uc ?
I want to only read from pen drive not writting to pen drive.
plz guide me

Back to top


Ajay
Thu May 08 2008, 03:20PM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 3371
Thanked 615 times in 582 posts
what controller you are using?
Fa32t library available online.. and can be ported to any AVR, PIC and ARM controller.
http://www.robs-projects.com/filelib.html

The problem you could face while using pendrive is, there is no direct interaction between File system or Flash memory of drive rather you have to go through USB interface of pen drive. So you might have to write drivers for generic mass storage device. I have least idea of the protocol used my mass storage devices. But there is one book in forum on USB mass storage applications. That could be of some help to you.

www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top


Jivan
Fri May 09 2008, 01:59PM
 User Offline
Registered Member #7685
Joined: Tue May 06 2008, 03:22PM

Posts: 3
Thanked 0 times in 0 posts
hi ajay thank for the fat32 link. i will go thro' it. yet I have not desided uc. but I am thinking to use one of from PIC32MX familily. PIC32MX controller have inbuild usb host module.
Back to top


sashijoseph
Fri May 09 2008, 02:55PM

 User Offline
Registered Member #5870
Joined: Mon Feb 04 2008, 06:26PM

Posts: 471
Thanked 106 times in 101 posts
Make sure you get a free usb stack for your processor else you may face difficulties writing one.

Let there be music........
Back to top


Ajay
Fri May 09 2008, 05:41PM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 3371
Thanked 615 times in 582 posts
You can easily get USB drivers from microchip website also if you want to make a hobby project then you can get a free PID (product ID) under microchip's Vendor ID (VID). All you need to do is fill up a form


www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top


shyam
Fri May 09 2008, 08:54PM

 User Offline

Registered Member #2984
Joined: Mon Aug 06 2007, 11:33AM

Posts: 665
Thanked 93 times in 89 posts
i was just wondering....

u are reading from pen drive...

that makes ur controller a host!!!!

make sure ur controller has the capability of being a usb host or else no use of writing a FAT32 algo! cause in "On The Go" mechanism a Host is required... that makes it clear that they cant be used as HOST!

hope u get my point



[ Edited Fri May 09 2008, 08:56PM ]

lProgress is not made by early risers or hard workers, but by LAZY people, trying to find easier ways to do the same........
Back to top



This post has been thanked 1 time
 Jivan 
sashijoseph
Sat May 10 2008, 02:52PM

 User Offline
Registered Member #5870
Joined: Mon Feb 04 2008, 06:26PM

Posts: 471
Thanked 106 times in 101 posts
You can use FTDI's USB host/slave controllers which apart from the usb protocol even have a fat implementation.Seems to b your best bet.
Link : http://www.vinculum.com/prd_vnc1l.html

Let there be music........
Back to top



This post has been thanked 2 times
 shyam , Jivan 
shyam
Sat May 10 2008, 07:59PM

 User Offline

Registered Member #2984
Joined: Mon Aug 06 2007, 11:33AM

Posts: 665
Thanked 93 times in 89 posts
6.05 pounds....!!!!!

490 rs..

certainly it is a better bet considering the foollowing features..

8/32 bit V-MCU Core
* Dual DMA controllers for hardware acceleration
* 64k Embedded Flash Program Memory
* 4k internal Data SRAM
* 2 x USB 2.0 Slow/Full speed Host/Slave Ports
* UART, SPI and Parallel FIFO interfaces
* PS2 legacy Keyboard and Mouse Interfaces
* Up to 28 GPIO pins depending on configuration
* 3.3V operation with 5V safe inputs
* Low power operation (25mA running/2mA standby)
* Inbuilt FTDI firmware easily updated in the field
* LQFP-48 RoHS compliant package
* Multi-processor configuration capable



wud certainly like to know its availability in INDIA..




lProgress is not made by early risers or hard workers, but by LAZY people, trying to find easier ways to do the same........
Back to top


sashijoseph
Sat May 10 2008, 10:35PM

 User Offline
Registered Member #5870
Joined: Mon Feb 04 2008, 06:26PM

Posts: 471
Thanked 106 times in 101 posts
EmbeddedIndia is FTDI's representative here.
Check out : http://www.embeddedindia.com/prdrng_semicon_devices.html#FTDI


Let there be music........
Back to top


Jivan
Sun May 11 2008, 02:22PM
 User Offline
Registered Member #7685
Joined: Tue May 06 2008, 03:22PM

Posts: 3
Thanked 0 times in 0 posts
sashijoseph u have given me a nice thing "FTDI's USB host/slave controllers"
it is best for my application. I will do the further study on this chip. also i will checkout the availibility in india.

thanks again.
Back to top


 

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System

8051 Microcontroller Projects 8051 AVR tutorials PIC microcontroller, 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems