Saving the Data:1 HC(S)12(X) Debugger window to a .TXT (or .CSV) file

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Saving the Data:1 HC(S)12(X) Debugger window to a .TXT (or .CSV) file

Jump to solution
871 Views
aceshigh99
Contributor I

Is there any way to halt the debugger, and dump all of the variable data contained in the Data:1 window to some sort of .TXT file, or CSV, etc.?

 

I can't seem to find any way to do it, and using alt-prntscrn to paste a pic of the data window into Powerpoint is tedious, to say the least.

 

Also, is there any way to expand the content of ALL structures in the Data:1 window, instead of having to manually click the for each one?  I have some large arrays for data logging, and it really slows down the debugging process to expand each structure one-by-one.

 

Thanks in advance for the help.

Labels (1)
Tags (1)
0 Kudos
1 Solution
356 Views
CrasyCat
Specialist III

Hello

 

You can dump content of Data:1 window using the Command

      Data:1 < DUMP

If you want to store the Data window dump to a file use the commands:

 

      LF DataDump.txt

      Data:1 < DUMP

      NOLF

 

Please Refer to Debugger_HC12.pdf BOOK IV for more information on the available commands.

 

I am not aware of a simple way to expand all structure variable in the Data window.

 

CrasyCat

View solution in original post

0 Kudos
1 Reply
357 Views
CrasyCat
Specialist III

Hello

 

You can dump content of Data:1 window using the Command

      Data:1 < DUMP

If you want to store the Data window dump to a file use the commands:

 

      LF DataDump.txt

      Data:1 < DUMP

      NOLF

 

Please Refer to Debugger_HC12.pdf BOOK IV for more information on the available commands.

 

I am not aware of a simple way to expand all structure variable in the Data window.

 

CrasyCat

0 Kudos