how to dump data ?

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

how to dump data ?

1,623 Views
francospinella
Contributor I
Hi,
I'm using CW 8.0 for 56800 and USBTAP.
I need to follow the time evolution of a rapidly changing float variable (every 10 ms) , so I tried to setup a
visualization point + data visualization but I've discovered that this is extremely slow. So I've moved to
the solution of defining an array of 1000 elements, then I fill the array every 10 ms, and finally I
suspend the execution and use data -> view array to look at all the elements. This works
fine, but the problem is that I'm not able to export the content of this window to to
analyze and plot the data. ctlr +c does not work, copy is greyed ... the only solution
that I've found is to use a window capture program (snagit) that also converts to text .. but it is a
real pain. Does it exist another way to dump this data or which is the standard method of studying
the behaviour of a changing variable without slowering the system ?
thanks for your help
franco
 
Labels (1)
Tags (1)
0 Kudos
Reply
1 Reply

440 Views
trytohelp
NXP Employee
NXP Employee
Hi,
 
Be aware that CodeWarrior Development Studio for Freescale 56800/E Digital Signal Controllers Version 8.1 is available.
This is a patch for the DSC8.0 (must be installed in first)
You can download this version on our web site via the link:
http://www.freescale.com/webapp/sps/site/overview.jsp?nodeId=01272600617882140B

You can have several versions installed on the same PC.
There is only one restriction: install them on separate folder.

you want to capture data value.
As you can not use the Data Vizualisation tool, I can propose you:
 - the Load/Save memory feature in the Debug | DSP56800E menu.
    This feature is available only after to launch the debug session.
 - to use the console and the printf to view the value,
 - or capture the values in a file using the fprintf function.
 
Hope this will help you.
 
Pascal
 
 
 
0 Kudos
Reply