2011-11-14 12:30 PM
Hello
Has anybody tried to run Mass Storage Device example from ST with embedded phy? When I'm connecting my board (with SD card and SDIO) to PC I'm able to copy small files to/from PC but when I'm trying to copy large file (~500MB) it's only possible from PC to SD. During transmision from SD card to PC communication is hanging out after transmit few MB. When I run my code on STM3220G eval board with ULPI everything works fine. Any suggestions?TIAGrzegorz Mentrak #usb #stm32f22011-11-15 02:11 AM
not tried that much of bulky data. But yes tried upto 13 MB of data. It's working both the ways ok.
Can you describe more about your pronlem??2011-11-21 11:03 AM
Hello,
Are you using OTG1 or OTG2 ? What is your hardware ? I'm having a lot of issues with OTG2 embedded phy and I'd like to have more infos on working hardware. Thomas.2012-04-20 07:29 AM
Hi,
I'm experiencing the same problems. I can't figure out where it comes from. Apparently it gets stuck somewhere. Any luck with your design?Vince2012-04-20 08:06 PM
What is yr card capacity and OS on PC side ?
2012-04-23 03:00 AM
Hi,
I'm using a 2Gbyte SD card and windows 7 on the host PC. I get stuck for no obvious reason in a middle of a long read, sometimes write. I'm having a look at it, trying to debug. It does crash, the main loop is still running ok. It is even still going to the USB interrupt, just not doing anything there.2012-04-23 06:15 PM
Hi, I have recently seen some problem with Win7. Did not dig into it though. Can you try any other OS ?
2012-07-09 03:32 AM
It was definitely a bug in the Library. It has been fixed in the new release by ST (STM32_USB-Host-Device_Lib_V2.1.0).
And they even improved a bit the read speed. I peak at 5MB/s when it was 3 before.2012-07-09 03:56 AM
It was definitely a bug in the Library. It has been fixed in the new release by ST (STM32_USB-Host-Device_Lib_V2.1.0).
It is still woefully busted when it comes to SDHC card >4GB Getting class 6 or 10 cards will also speed things up significantly. [DEAD LINK /public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Where is the UsbMassStorage Examples Supt for stm32f4xx&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B&TopicsView=https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/AllItems.aspx¤tviews=369]Related Thread