PDA

View Full Version : PIC 24FJ64GB002 and USB Flash Drive



P.N. Shaji
18th November 2014, 12:30
Hello All

I have one requirement , that base on USB Flash Drive, need to write / read from Flash Disk.

I can see 24FJ64GB002 in Proton24 supported devices. And this has OTG.

So is it available the "read/write" function in new PDS ?

Otherwise I have to go with a HOST chips like MAX3421E

Please advice

Stephen Moss
19th November 2014, 09:51
I am not entirely sure what you mean by "So is it available the "read/write" function in new PDS ?".

I am sure someone will correct me if I am wrong but as far as I know PDS has some inbuilt USB commands but they are for 18F devices acting as USB slaves only, it also had CF_Read/Write commands but do not think they are suitable for reading data from USB devices. Therefore if (like me) you want to use this device as a USB host I think you will have to write all your own code.