The PLM supports logging of PLM terminal prints to memory. This feature helps you easily debug if the UART is not present. This logging is based on the log level that you enabled. Each print message is logged with the PLM timestamp. The following are the features that are supported as part of logging:
- Configure print log level
- While building the PLM, you can decide the log level to use. Based on the PLM, the ELF file is generated. The PLM provides the provision to change the log level by sending the IPI command to it. The IPI command can reduce/expand the log level.
- Configure debug log buffer memory
- By default, the log buffer is 16K in size in the PMC RAM, and the PLM logs the prints to the PMC RAM memory. This feature allows changing the debug log memory to a different memory location.
- Retrieve debug log buffer
- You can retrieve the logged prints to the memory of your choice.
- Retrieve debug log buffer information
- You can retrieve information of PLM prints logging.
- Retrieve terminal prints
- You can retrieve terminal prints with the following command:
xsdb > plm log