cancel
Showing results for 
Search instead for 
Did you mean: 

[NOT Solved] F407 and SanDisk Cruzer Blade 16GB don't work (32GB work)

Not applicable

I tested 3 pendrives, 4GB (Samsung?), 16GB and 32GB (SanDisk Cruzer Blade).

Two worked on the STM32F407VG.

SD card adapter also doesn't work, 8GB (Kingston), 2GB (Generic), 16GB (Sandisk Ultra).

SanDisk Cruzer Blade 16GB don't work.

Using USB host with STM32CubeIDE 1.3 (Version 1.4 does not work with ST-Link V2 :expressionless_face:)

​In case anyone has problems with this, I leave it registered that it can be common.

All devices run on Windows 10 x64 and Android 10 (Smartphone).

19 REPLIES 19
dbgarasiya
Senior II

don't work means

showing wrong storage capacity or simply display that not recongnised ?

Not applicable

The term Does not work means that the automated program for writing to the USB stick has failed to perform the task.

Source: https://www.st.com/content/st_com/en/support/learning/stm32-education/stm32-moocs/STM32-USB-training.html

dbgarasiya
Senior II

Have you configured below two files properly,

usbh_conf.c

usbh_diskio.c

Not applicable

Good question.

Not applicable
 
Not applicable
dbgarasiya
Senior II

you have not configured VBUS pin

Not applicable

Thanks, yes I configured Vbus, this code is an example, and the IDE already suggests that this configuration be done.

dbgarasiya
Senior II

I am sharing you my code which works for (STM32F779BI)

also write data to usbdisk

port it for your controller