cancel
Showing results for 
Search instead for 
Did you mean: 

USB MSC ''STORAGE_GetCapacity_xx()'' bug

jasonp4113
Associate II
Posted on July 23, 2014 at 05:09

Hi all

I am sure this has been discussed (although I cannot find any reference to it):

The SDIO capacity bug also extends to the ''STORAGE_GetCapacity_xx()'' functions where it enters with a pointer to a uint32_t value instead of uint64_t.

This needs to be changed in a few locations within the HAL source code so that any card > 4GB will be shown (and formatted) correctly in windows.
1 REPLY 1
Posted on July 23, 2014 at 15:00

Hi JasonP,

This issue was already reported [DEAD LINK /public/STe2ecommunities/mcu/Lists/STM32Java/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/STM32Java/STM32Cube%20SDHC%20capacity%20bug%20%28solved%29&FolderCTID=0x01200200770978C69A1141439FE559EB459D758000F9A0E3A95BA69146A17C2E80209ADC21&TopicsView=https://my.st.com/public/STe2ecommunities/mcu/Lists/STM32Java/AllItems.aspx&currentviews=102]here. We 've notified our STM32Cube team that this is an issue. Please be patient as we work to fix it.

Thanks for the feedback.

With regards.