memory dump to a file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-19 9:41 AM
Hello,
Using CubeIDE v1.14.1, I would like to download memory to a file, for import into a worksheet, etc. But I've not located the ability to do that, via the IDE menus. Is there such a capability? I'm initially dealing with floating point values, do it'd be ideal to download to a file in that format. But any download format would be good, and could be massaged into float format after-the-fact.
Regards,
Robert
Solved! Go to Solution.
- Labels:
-
STM32CubeIDE
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-19 1:07 PM
Hi,
You could try :
menu -> Window -> Show view -> ...other -> Debug -> Memory browser
there you get :
(second icon) Export ....
(I never tried ...so up to you . :) )
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-19 1:07 PM
Hi,
You could try :
menu -> Window -> Show view -> ...other -> Debug -> Memory browser
there you get :
(second icon) Export ....
(I never tried ...so up to you . :) )
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-19 2:10 PM
Thanks! Missed that one, it's a start (or possibly an end). I can change the rendering to floating point, in the memory browser, but when doing the export from there, it's always in hex byte format. I'm guessing there's no way to export in float? I also see a "Copy To Clipboard" in the floating point Memory Browser, but it is greyed out for some reason.
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-19 2:38 PM - edited ‎2024-02-19 2:40 PM
Hmmm...
in memory browser -> export i get this :
and the data - if default (the three vertical dots)
is set to floating point - :
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-19 2:57 PM
Thanks. Yes, that presents it as floating point in the Memory Browser. But if you export from there to a file, like your first picture, it's in native hex format. Whereas I'm trying to export floating point data into floating point format in a a file. Not a huge issue, just have to write a utility to translate the forced hex in the exported file, into floating point. Odd, though, since the IDE already knows the floating point format, that it can't just write that to a file (and instead forces hex bytes).
Robert
