Hi all,
Can someone enlighten me how to use microchip such as PIC18F13K50 as a mass storage device so that I can connect NAND flash to it? Basically, want to create my own flash drive not using a SD card but similar to regular flash drives available in market. Simpler approach the better
Thanks
Makin a USB thumb drive
Re: Makin a USB thumb drive
i think stm32 can do the job ;
Re: Makin a USB thumb drive
Check out Dany's site. He's got all the pieces you need, but the source is in Pascal.
http://www.rosseeld.be/DRO/PIC/index.htm?
http://www.rosseeld.be/DRO/PIC/index.htm?
If you know what you're doing, you're not learning anything.
Re: Makin a USB thumb drive
I think a PIC18 ,PIC24,dsPIC33 and PIC32 can do the job what makes STM so SpecialMR2010 wrote:i think stm32 can do the job ;
P.Erasmus
Saratov,Russia
--------------------------------------------------------------
Saratov,Russia
--------------------------------------------------------------
Re: Makin a USB thumb drive
For advenced projects ARM is much faster powerfull and to many pins,and already has OTG open source libraries,and cheap to buy.check for specs,anyway we are trying to help this guy,if you have got anything special about PIC why dont you post an example for what he is asking for? bla bla bla without idea does not work man ...and please dont quote on my post you know nothings;;;;;;;p.erasmus wrote:I think a PIC18 ,PIC24,dsPIC33 and PIC32 can do the job what makes STM so SpecialMR2010 wrote:i think stm32 can do the job ;
Re: Makin a USB thumb drive
Hi,
There is an MSD (Mass Storage device) library for P18 and P24, see http://www.libstock.com/projects/view/71/usb-oa. It is made for the P18F2550 and mikroPascal. Perhaps it can be translated and/or used in mC.
There is an MSD (Mass Storage device) library for P18 and P24, see http://www.libstock.com/projects/view/71/usb-oa. It is made for the P18F2550 and mikroPascal. Perhaps it can be translated and/or used in mC.
Kind regards, Dany.
Forget your perfect offering. There is a crack in everything, that's how the light gets in... (L. Cohen)
Remember when we were young? We shone like the sun. (David Gilmour)
Forget your perfect offering. There is a crack in everything, that's how the light gets in... (L. Cohen)
Remember when we were young? We shone like the sun. (David Gilmour)
Re: Makin a USB thumb drive
Here is the open source Lib/Stack for USB from MCHP including OTG ,HID CDC HOST and MSD
http://www.microchip.com/stellent/idcpl ... e=en537044
as you noticed there is no such support for the mE compilers except for Danys Pacal but it is fully supported by the MCHP tools C compilers
also note there is no support for OTG-HOST CDC ect for STM in MikroE compilers
http://www.microchip.com/stellent/idcpl ... e=en537044
as you noticed there is no such support for the mE compilers except for Danys Pacal but it is fully supported by the MCHP tools C compilers
also note there is no support for OTG-HOST CDC ect for STM in MikroE compilers
P.Erasmus
Saratov,Russia
--------------------------------------------------------------
Saratov,Russia
--------------------------------------------------------------