Hi,
I'd like to save my memory data. The target is connected, I ran debug, then "save memory" etc.
The thing is that I want my data in float format, which seems to be not available.
How can I do that ?
Thanks,
Alex
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
I'd like to save my memory data. The target is connected, I ran debug, then "save memory" etc.
The thing is that I want my data in float format, which seems to be not available.
How can I do that ?
Thanks,
Alex
Alex,
Floating point numbers are stored in memory as bits and bytes and, depending on the type, they may have 16, 32, 64, or 128 bits (Wikipedia for the help).
If you are using our compiler, check section 7.2 of the C6000 Compiler User's Guide - guides for other ISAs can be found at the page below:
http://processors.wiki.ti.com/index.php/Before_asking_for_CGT_support
In this case, you should save the data as 32-bit and perform post-processing on the data to convert it to float.
Hope this helps,
Rafael
Alex,
The formats available for export are based on the compiler support for your target. Which target are you using; does it support floating points? Try performing the same operation with any ARM 9 simulator and notice how the floating point format is available for export.
Regards,
Mandeep
Hi,
Thank you for your answers. I'm using the C6678 for your information.
I chose to follow the advices of desuza, I export in binary 32 bits and do my conversion in another projet.
Best regards,
Alex