2024-02-19 09: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.
2024-02-19 01: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 . :) )
2024-02-19 01: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 . :) )
2024-02-19 02: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
2024-02-19 02:38 PM - edited 2024-02-19 02:40 PM
Hmmm...
in memory browser -> export i get this :
and the data - if default (the three vertical dots)
is set to floating point - :
2024-02-19 02: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