Skip to main content
Version: Next

3.3.6:Variable Monitor

info

PowerDebugger Provides RTT Viewer, RTT Scope functions to read and write runtime data, and recommends its use.

Currently, PowerWriter does not provide any monitoring software like J-Scope, if you need to monitor the real-time variable data of the target chip, you can use a third party or the monitoring tool provided by the chip manufacturer, for example, FreeMASTER provided by NXP is a good choice, the download address of FreeMASTER is as follows:

tip

The rights to this software are owned by NXP.

1:FreeMaster quick start

1.1:Project Settings

Project -> Options to open project settings

image-20221028164208206

On the Comm Tab page, select the Plug-in module as FreeMASTER CMSIS-DAP Communication Plug-in, as shown below:

image-20221028164509699

On the Map Files Tab page, follow the flow as shown in the figure, and select the file compiled by MDK or IAR, GCC: axf , elf, map, and so on.

image-20221028164805445

After importing the file and selecting the correct format for parsing the file

image-20221028164905117

caution

You need to select the file with symbol signal, such as axf, elf, map, etc. The purpose is to get the information of the symbol name, format, address, etc., which needs to be monitored, and you can't import bin, hex, etc. After the setting is finished, you can click View to check the information of the symbols, and if it is parsed correctly, it means the setting is correct.

1.2:Adding Monitoring Variables

You can quickly create a variable watch by right clicking Create New Watched Var... in the Variable Watch window. in the Variable Watch window, as shown in the following figure:

image-20221028170148548

Setting Monitoring Properties

image-20221028170316311

Change other settings as required

image-20221028170454412

When finished, click OK.

1.2:Activate

Connect the PowerWriter to the target chip with the target chip correctly, click the Go button on the toolbar to start the monitoring, as shown in the following figure.

image-20221028170627956

You can see the real-time changing values of the variables as shown below:

qo7cd-v9jiw

tip

FreeMASTER will not perform firmware download action, so you need to make sure that the set symbol file and the actual running firmware are matched, otherwise it will lead to wrong monitoring results.

2:Notes

For detailed tutorials on how to use FreeMASTER, please refer to the official documentation and other related information.