2014-01-29 08:00 AM
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 advance2014-02-03 07:43 PM
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