SAVE MEMORY CONTENTS TO A FILE for STM32F3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2014-01-29 8:00 AM
Posted on January 29, 2014 at 17:00
Hi all;
I'm working with the discoveryF3 board, i'm using the ST-Link debugger. I want to save two float arrays into a file when debugging. My IDE is µVision4. I found that the command ''save'' can do that but when i used it, i have wrong values. Someone has an another technique to this stuff. Thanks in advance
10 REPLIES 10
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2014-02-03 7:43 PM
Posted on February 04, 2014 at 04:43
I'd just write a PC side app that would run under the Windows Command Line Interface, parse the .HEX, and then print out the floats.
Keil Debugger command line interface SAVE C:\test3.hex 0x20001234,0x2000123F SAVE C:\test4.hex 0x20001234,0x20001234+0x1FFF Windows command line interface HEX2FLT test3.hex >output test3.hex :020000042000DA :0C123400A4709D3F14AE3642E7875E4474 :00000001FF output 1.230000 669998 8123474 ________________ Attachments : hex2flt.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Hzt7&d=%2Fa%2F0X0000000bQl%2FNONTU9ycPO.OXc5BnSLSss3TzXEVUJXCa1IH2.5yGQA&asPdf=false
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..

- « Previous
-
- 1
- 2
- Next »