2013-08-16 05:50 AM
Hi all,
I'm looking for the best starting place (with ST examples, existing library...) to start the development of the following functions on STM32F103RC :- USB Mass Storage at Full Speed,- with an SD Card support (FAT16 could be enough, and faster ?), with SDIO+DMA driver for the best performance (SPI is too slow and needs too much RAM).So I found a lot of community contributions that can be good starting places for me, and now I'd greatly appreciate your feedback and suggestions about my project !EXISTING CODE FOUND :-/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/DispForm.aspx?ID=23167&RootFolder=/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Where%20is%20the%20UsbMassStorage%20Examples%20%20Supt%20for%20stm32f4xx&Source=https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder%3D%252Fpublic%252FSTe2ecommunities%252Fmcu%252FLists%252Fcortex%255Fmx%255Fstm32%252FWhere%2520is%2520the%2520UsbMassStorage%2520Examples%2520%2520Supt%2520for%2520stm32f4xx%26FolderCTID%3D0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B%26currentviews%3D1853
Is it ported for STM32F103 ? Is there any equivalent ?-http://nemuisan.blog.bai.ne.jp/?eid=192848
. Did anybody test that code already ?-/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/DispForm.aspx?ID=18579
, but with SPI mode for the SD card.This last feature (SD card bootloader) is great, and I'd like to implement it too, but my first priority would be on the USB Mass Storage + SDIO driver...Thanks a lot for your answers ;) #bootloader #bootloader #bootloader #iap #usb-msc-+-sdio2015-11-12 01:54 PM
What STM32F103 part specifically are you using? Is it one with SDIO support, or just SPI? Most of the F1 examples don't support SDHC cards, but rather the older/smaller MMC cards.
You'd want to take a look at the USB MSC examples provided in thehttp://www.st.com/web/en/catalog/tools/PF258157
. The F1 is rather an old part, I'm primarily using F2 and F4 parts these days, and don't actively develop/support code for the F1.2015-11-13 04:10 AM
hi again;
Clive, I wonder about somehing. I look at datasheet for stm32f103 and I have noticed, ıt has not otg and just has usb. we designed a board with stm32f103 and I wanna plug in USB flash drives to my board, is it possible. Because; I didnt find any code without otg, please help me..2015-11-13 04:31 AM
I think you're going to need to upgrade. The F1 had a rather limited implementation, which also shared resources with the CAN interface. The STM32F4-DISCO comes with examples that demonstrate the use of the USB-OTG to connect to USB Flash Sticks.
2015-11-13 06:08 AM
oww.. it' a little bit expensive for me so f2 is suitable for me??what about stm32f205?? ıt has otg and sdio..
2015-11-13 09:16 AM
The F2 and F4 are very similar in construction/function. Main differences obviously the CPU Core, and the speeds it can be clocked.
The STM32F4-DISCO Firmware Update example should be quite portable to an F2 equivalent thereof.http://www.st.com/web/en/catalog/tools/PF257904
I have a number of products where we use the 205/405 somewhat interchangeably, depending on customer speed, memory and price considerations. I've built USB-to-SDIO MSC firmware for them.2015-11-14 12:20 AM
thank you so much clive..