2008-10-18 04:48 AM
USB: Mass storage Demo
2011-05-17 03:30 AM
> 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\UsbFlagswithin a vid/pid/version key. you can do it with a .reg file like the one attached (which is for the STM32 virtual COM).2011-05-17 03:30 AM
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 ?2011-05-17 03:30 AM
Gregory, this is the likely cause:
http://www.st.com/mcu/forums-cat-6403-23.html2011-05-17 03:30 AM
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 ? greg2011-05-17 03:30 AM
2011-05-17 03:30 AM
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.2011-05-17 03:30 AM
Dear STOne-32:
I used ST FW library V1.0 on my board(STM32F103VB).