codewarrior built in functionality for logging variable data

cancel
Showing results for 
Search instead for 
Did you mean: 

codewarrior built in functionality for logging variable data

91 Views
Contributor V

Dear Team,

I am using S12ZVML128 MCU and Codewarrior V10.7 

I want to know is there any built in functionality available in Codewarrior to log the SW variable data sequentially with some time stamp for specific time. Like we can do it by filling the array with sw variable data.

It will be useful while debugging the issues.

Please let me know is there any functionality available in codewarrior to log the SW data.

Thanks in advance.

 

0 Kudos
1 Reply

52 Views
NXP Employee
NXP Employee

Hi,

One approach is to log the data to a serial terminal using printf() statements via UART.  There is a support in CodeWarrior for this and all you need is to implement low level routines to write/read from SCI.

There are terminals such as YAT (https://sourceforge.net/projects/y-a-terminal/) that can display also time stamp to incoming serial message.

Another approach is to use 3rd party tools such as FreeMASTER that allows you to visualize the internal variables. It supports Recorder feature that "samples" a  variable with defined sample time.

For more information about FreeMASTER  go here:

https://www.nxp.com/design/software/development-software/freemaster-run-time-debugging-tool:FREEMAST...

https://community.nxp.com/t5/FreeMASTER/bd-p/freemaster

hope it helps.

Stan

 

 

0 Kudos