cancel
Showing results for 
Search instead for 
Did you mean: 

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

Mykola_Levun
Associate III

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

4 REPLIES 4
TDK
Super User

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".
Andrew Neil
Super User

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

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?

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