
Chapter 5
Running example
For the first run of the example on your hardware, it is recomended to turn off Flash, WDOG, Clock, AIO, and DIO test. In the next
step, turn on step by step.
When the WDOG is turned off and a safety error happens, the example stays in an endless loop.
5.1 FreeMASTER monitoring
FreeMASTER is used as the external PC tool for real-time monitoring. FreeMASTER is also implemented in the IEC60730B safety
examples. For simplicity reasons, the MAP file is the source of the variable address. Before connecting FreeMASTER to your
application, make sure that the application is running.
Running FreeMASTER:
Download and install FreeMASTER from
.
The example project is in the
safety.pmp
file. Open it.
Check the project settings for your application:
• Open "Project->Options ->MAP Files". It must point to your output files.
IAR IDE and ARM Keil IDE
Navigate to the
boards/<your_board>/demo_apps/safety_iec60730b/<compiler>/<debug or release>/*.out
file.
MCUXpresso IDE
Navigate to the
<workspace>/<project_name>/<Debug or Release>/<project_name>.axf
file.
Figure 8. Example of setting MAP files for FRDM-KV11 board
• Open "Project ->Options ->Comm" and select a correct RS-232 connection and speed. The connection speed is in the
safety_config.h
file's "SERIAL_BAUD_RATE" macros. By default, this speed is set to 9600 bd.
NXP Semiconductors
LPC CM0 Safety Example , Rev. 3, 07/2021
User's Guide
14 / 28