Skip to main content
Associate III
Jun 19, 2025 1:12 PM UTC
Solved

Traditional representation of Flash content in the Memory Browser tab of the STM32CubeIDE

Hello,

What is traditional representation of Flash content (see Figure 1 bellow) of microcontroller in the Memory Browser tab of the STM32CubeIDE?
    Figure 1:

Mykola_Levun_0-1750338502237.png

Why does traditional representation of Flash content differ from content of .bin file (.bin file shows in the Figure 2 bellow)?
    Figure 2:

Mykola_Levun_1-1750338646302.png

This topic has been closed for replies.
TDK
TDKBest answer
Jun 19, 2025 1:44 PM UTC

> 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.

TDK_1-1750340637540.png

 

> 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.

TDK_0-1750340461390.png

 

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.

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

4 replies

TDK
Jun 19, 2025 1:13 PM UTC

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.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Associate III
Jun 19, 2025 1:27 PM UTC

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?

TDK
TDKBest answer
Jun 19, 2025 1:44 PM UTC

> 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.

TDK_1-1750340637540.png

 

> 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.

TDK_0-1750340461390.png

 

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.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Andrew Neil
Super User
Jun 19, 2025 1:21 PM UTC

@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.

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.