2013-09-01 05:05 AM
Dear All,
I'm working on use RAM memory from STM32F205 on mz custom PCB to run code from STM32_USB-Host-Device_Lib_V2.1.0 under Iar workbench. From mass storage device example workspace I removed all board specific calls lik LCD logger and SD card and changed them to write/read from my uin8_t usbDisk[0x1000] buffer placed in RAM. I can see that device is connected in device manager Win7 without any yellow marks, but when the OS wants to format removable device I got ''Windows was unable to complete the format''. I can see that some SCSI commands are invoked like: SCSI_INQUIRY, SCSI_READ_FORMAT_CAPACITIES, SCSI_READ10, SCSI_MODE_SENSE6 and after device is detected in OS SCSI_TEST_UNIT_READY command is regular called. You can see my changes in usbd_storage_msd.c file attached. Best regards, John #stm32f2-usb-mass-storage2018-06-08 09:09 AM
I did not find a MSC SDRAM-DISK example for the STM32F429I-DISCO from 2015 anywhere.
Roman Marjamaa
Marjamaa Engineering Inc.
395 Co Rd 110 N
Mound, MN 55364
Direct: (612) 999-8263
Mobile: (612) 345-1492
Fax: (855) 627-5364
www.marjamaaengineering.com<http://www.marjamaaengineering.com/>;
All information contained in this email is to be treated as “confidential�? or “proprietary�? and shall not be shared
outside the terms of the Agreement between Marjamaa Engineering Inc. and the Recipients of this email.
2018-06-08 11:23 AM
https://community.st.com/0D50X00009XkgpRSAR
2018-06-08 11:55 AM
Thanks,
Roman Marjamaa
Marjamaa Engineering Inc.
395 Co Rd 110 N
Mound, MN 55364
Direct: (612) 999-8263
Mobile: (612) 345-1492
Fax: (855) 627-5364
www.marjamaaengineering.com<http://www.marjamaaengineering.com/>;
All information contained in this email is to be treated as “confidential�? or “proprietary�? and shall not be shared
outside the terms of the Agreement between Marjamaa Engineering Inc. and the Recipients of this email.
2018-12-03 05:49 AM
Hallo Clieve 2.0,
could you please repost this link to your example? Its broken again...
thanks a lot
2018-12-03 06:39 AM
Please have @brk dig it out of the archive of broken forums past..
It would have been F4 SPL code from 5 or more years ago.
2018-12-12 02:37 AM
2020-08-19 10:02 PM
@Community member I am using stm32f072rb discovery board... and I allocated 10 and tried also with 11kb ... It is showing 11kb in windows but error comes that widows is unable to format disk.. can you help me?