cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeIDE memory view for 32-bit data

Glenn Andrews
Associate II

In memory view, if I have the format set to anything but a column size of 1, is there a way to flip the bytes so they appear in human-readable format?

e.g. if I have a uint32_t counter with value 0x12345678, and look at it in memory window, with the view set to a column size of 4, I'll see the memory displayed as 78563412, which is logically correct, but not very useful for visual inspection.

It would be nice to tell the display "these are 32-bit numbers, so display them as such". Is there a way to reverse the order of bytes to make it more readable, e.g. displayed in byte order 3-0, 7-4, B-8, F-C?

Thanks,

Glenn

1 REPLY 1
Glenn Andrews
Associate II

Answering my own question for future reference: Add a new rendering as either Hex Integer or Traditional views and you can set endianness and word width. It's only the Hex view that doesn't allow it.