Specifications
Name Description
Boot log
Purpose Prints out messages tracing the software boot process. The boot log
is turned on by default when Altera logging is enabled.
Preprocessor
symbol
ALT_LOG_BOOT_ON_FLAG_SETTING
Modifiers None
Sample
Output
For more information, refer to the “Enabling Altera Logging”
chapter .
Note: An option’s modifiers are meaningful only when the option is enabled.
Setting a preprocessor flag to 1 enables the corresponding option. Any value other than 1 disables the
option.
Several options have modifiers, which are additional preprocessor symbols controlling details of how the
options work. For example, the system clock log’s modifiers control the logging interval.
Related Information
• Embedded Peripherals IP User Guide
• Enabling Altera Logging on page 6-8
Logging Levels
An additional preprocessor symbol, ALT_LOG_FLAGS, can be set to provide some grouping for the extra
logging options. ALT_LOG_FLAGS implements logging levels based on performance impact. With higher
logging levels, the Altera logging options take more processor time.
Table 6-4: ALT_LOG_FLAGS Logging Levels
Logging Level Logging
0 Boot log (default)
1 Level 0 plus system clock log and JTAG startup log
2 Level 1 plus JTAG interval log and write echo
3 Level 2 plus JTAG ISR log
-1 Silent mode—No Altera logging
Note: You can use logging level -1 to turn off logging without changing the program footprint. The
logging code is still present in your executable image, as determined by other logging options
chosen. This is useful when you wish to switch the log output on or off without disturbing the
memory map.
Because each logging option is controlled by an independent preprocessor symbol, individual options in
the logging levels can be overridden.
NII5V2
2015.05.14
Logging Levels
6-11
Developing Programs Using the Hardware Abstraction Layer
Altera Corporation
Send Feedback