DocID024383 Rev 1
23/56
UM1619
Software GUI description
5.7 Sniffer
tab
It is possible to use the GUI interface to check the data transiting on the power line. This
feature is useful when the PLM protocol parameters are tuned. By “sniffing” the transiting
data it is easy to determine the overall performance of the network.
Figure 18. GUI sniffer tab
Before using the sniffer feature, it is necessary to download into a GP PLM module the
sniffer binary code provided in the setup packet, and located in the folder “Firmware -
Sniffer”.
Open the IAR Embedded Workbench® IDE for STM32 microcontrollers Rel. 6.3 (or a more
recent release), click File\Open\Workspace and select the workspace Flasher.eww. Connect
the Jlink/Jtrace programmer into the programming connector of the module and press
CTRL+D or click Project\Download & Debug option.
Note that as soon as the sniffer bin file is downloaded in the module, it will work only as a
sniffer.
Connect the sniffer module to an available COM port of the PC, open the GUI and select the
SNIFFER tab. Click on the button START to start the data sniffing.
Normally the data sniffed in the power line is also saved in a snifflog file. This feature can be
disabled just unchecking the SAVE TO FILE checkbox. The file is located in the folder:
C:\Program Data\ST Microelectronics\Remote Console\1.0.0.0\settings\snifflog.txt
and as soon as the sniffing activity is completed it can be renamed and stored in a different
location. The GUI will create another sniffer file as soon as the start button is pressed again
and the SAVE TO FILE option is checked.
The snifflog.txt file can be read with any text editor, and can be automatically erased from
the GUI by pressing the DELETE LOG FILE button.