Need a calculation explanation on Flash memory size

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
vijayks
Level 1
Level 1
10 sign-ins 5 replies posted 5 questions asked

Hello,

    I am using Flash memory S25HL512T for my application. In this I need an clarification in calculating the size of memory.

vijayks_0-1637155029602.png

In the above image from the product datasheet, there are totally 256 sectors in which each sector size is 256kb, so totally 65536kb which is equal to 64Mb, but my Flash memory size is 512Mb. Please help me to find the correct calculation of memory size.

Thanks,

Vijay K S

0 Likes
1 Solution
AlbertB_56
Moderator
Moderator
Moderator
500 replies posted 50 likes received 250 replies posted

Hello Vijay,

Your subject FLASH device is the S25HL512T (512Mb density, with 256 uniform sectors).

Each uniform sector is 256KBytes (256,000Bytes) in size. 

Therefore, convert Bytes to bits: 256,000Bytes x 8bits =  2,048,000bits (per sector)

There are 256 uniform sectors, hence :  256 sectors x 2,048,000bits =  524,288,000bits (512Mb memory density)

With regards to your calculation, you are correct at 65,536KBytes (64MBytes, not Mb), but you will need to convert from Bytes to bits.  Therefore, 65,536,000Bytes x 8bits = 524,288,000bits (512Mb memory density).

'B' = Bytes

'KB' = KiloBytes

'MB' = MegaBytes

'b' = bits

'Mb' = Megabits

'Gb' = Gigabits

Therefore,  if your application requires a 3.0V, 512Mb memory density, then the S25HL512T

is the correct FLASH memory density to design into your application.

Hope this helps...

 

Best regards,

Albert 

Cypress Semiconductor Corp.

An Infineon Technologies Company

View solution in original post

0 Likes
3 Replies
BushraH_91
Moderator
Moderator
Moderator
750 replies posted 50 likes received 250 solutions authored

Hello Vijay,

Thank you for contacting Cypress Technical Support, an Infineon Technologies Company. We are currently reviewing the case and will get back to you as soon as we find the resolution.

Regards,

Bushra

0 Likes
AlbertB_56
Moderator
Moderator
Moderator
500 replies posted 50 likes received 250 replies posted

Hello Vijay,

Your subject FLASH device is the S25HL512T (512Mb density, with 256 uniform sectors).

Each uniform sector is 256KBytes (256,000Bytes) in size. 

Therefore, convert Bytes to bits: 256,000Bytes x 8bits =  2,048,000bits (per sector)

There are 256 uniform sectors, hence :  256 sectors x 2,048,000bits =  524,288,000bits (512Mb memory density)

With regards to your calculation, you are correct at 65,536KBytes (64MBytes, not Mb), but you will need to convert from Bytes to bits.  Therefore, 65,536,000Bytes x 8bits = 524,288,000bits (512Mb memory density).

'B' = Bytes

'KB' = KiloBytes

'MB' = MegaBytes

'b' = bits

'Mb' = Megabits

'Gb' = Gigabits

Therefore,  if your application requires a 3.0V, 512Mb memory density, then the S25HL512T

is the correct FLASH memory density to design into your application.

Hope this helps...

 

Best regards,

Albert 

Cypress Semiconductor Corp.

An Infineon Technologies Company

0 Likes

Thank you so much

0 Likes