cancel
Showing results for 
Search instead for 
Did you mean: 

USB: Mass storage Demo

gregory
Associate II
Posted on October 18, 2008 at 13:48

USB: Mass storage Demo

7 REPLIES 7
lanchon
Associate III
Posted on May 17, 2011 at 12:30

> when i connect my board for the first time

for testing you may want to try that ''first time connection'' many times. you can do that by clearing the MOD cache entry for the device, which is under:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\UsbFlags

within a vid/pid/version key. you can do it with a .reg file like the one attached (which is for the STM32 virtual COM).

gregory
Associate II
Posted on May 17, 2011 at 12:30

hi all,

I use a code similar to the one provided by USB Mass storage Demo.

I use on my board a 2Gb microSD card.

I noticed that when i connect my board for the first time on the USB port,

XP indicates that there's a problem.

When i disconnect and re-connect my board, then it works normally.

On the other hand, windows XP detects a capacity of 4Gb !!!

Any ideas ?

paulsmitton9
Associate III
Posted on May 17, 2011 at 12:30

Gregory, this is the likely cause:

http://www.st.com/mcu/forums-cat-6403-23.html

gregory
Associate II
Posted on May 17, 2011 at 12:30

Thanks for the information.

I still have a problem with the microSD size detection.

Indeed window XP detects a 4Gb MicroSD even though i use a 2Gb microSD.

any ideas ?

greg

jason-wang
Associate
Posted on May 17, 2011 at 12:30

I had some problem about SD size detection.

window XP detects a 4Gb MicroSD even though i use a 2Gb microSD.

512M and 1G is OK!!!

Please help!!!!

:-[

16-32micros
Associate III
Posted on May 17, 2011 at 12:30

Hi all,

Could you please let me know which code or demonstration you are referring, to, if possible to provide a link and schematics. Cheers,

STOne-32.

jason-wang
Associate
Posted on May 17, 2011 at 12:30

Dear STOne-32:

I used ST FW library V1.0 on my board(STM32F103VB).