Search code examples
memorystm32binflash-memory

Bin file differs from memory map


I read some where that in stm32 .bin file reflects exactly as it is in flash but when I compare my flash content(by using cube Programmer) & .bin file(which is generated by keil IDE), they were different from each other?

do any one know why they are different?

Flash contents Bin file


Solution

  • The data is always the same.

    This is a little-endian platform so when you display it as words the digits are in a different order to when you display it as bytes.