STM32CubeIDE memory view for 32-bit data
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-09-06 6:55 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-09-09 8:43 PM
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.
