Skip to main content
mm.51
Associate
December 8, 2023
Solved

Flash Space calculations STM32L496RGT6

  • December 8, 2023
  • 1 reply
  • 1088 views

Looking into the available flash space on the chip:

For the 1Mbyte variant of the device the total number of bytes should be 1,024,000.  

2,000 bytes * 512page = 1,024,000 bytes of flash memory.

End of Address Space - Start of address space  = Amount of total space

 0x080F FFFF -  0x0800 0000 = 0xF FFFF bytes = 0d1,048,575 bytes

Am I incorrectly calculation incorrect ? If not where's the missing 24,575 ?

 

Thanks

    This topic has been closed for replies.
    Best answer by TDK

    1MB = 1024^2 bytes

    The flash length is 0x10 0000, which is 1024 * 1024 = 1048576 bytes = 1 MB.

     

    1 reply

    TDK
    TDKBest answer
    December 8, 2023

    1MB = 1024^2 bytes

    The flash length is 0x10 0000, which is 1024 * 1024 = 1048576 bytes = 1 MB.

     

    "If you feel a post has answered your question, please click ""Accept as Solution""."