2025-06-19 6:12 AM - last edited on 2025-06-19 6:19 AM by Andrew Neil
Hello,
What is traditional representation of Flash content (see Figure 1 bellow) of microcontroller in the Memory Browser tab of the STM32CubeIDE?
Figure 1:
Why does traditional representation of Flash content differ from content of .bin file (.bin file shows in the Figure 2 bellow)?
Figure 2:
2025-06-19 6:13 AM
It is showing uint32_t values. The chip is little endian, so the bytes 0x01 0x00 0x00 0x00 are interpreted as a uint32_t with value 0x00000001.
2025-06-19 6:21 AM
@Mykola_Levun wrote:Why does traditional representation of Flash content differ from content of .bin file (.bin file shows in the Figure 2 bellow)?
The content isn't different; as @TDK said, it's just a different presentation of the same content.
2025-06-19 6:27 AM
Thank you for explanation.
It is possible to change little endian representation to big endian representation in the Memory Browser tab of the STM32CubeIDE.
Is it possible to change little endian representation to big endian representation in windows of the STM32CubeProgrammer?
2025-06-19 6:44 AM - edited 2025-06-19 6:44 AM
> It is possible to change little endian representation to big endian representation in the Memory Browser tab of the STM32CubeIDE.
Change cell size to 1 byte to view bytes in order.
> Is it possible to change little endian representation to big endian representation in windows of the STM32CubeProgrammer?
Change data width to 8 bits if you want to view bytes in order.
It doesn't make sense to view uint32_t values in big endian because the chip is not big endian. I don't think you can force this change.