Intel® Quartus® Prime Pro Edition User Guide: Debug Tools

ID 683819
Date 10/13/2021
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

7.8.1.1. Processor Commands

Table 45.  Processor Commands
Command 2 Arguments Function
processor_download_elf

<service-path>

<elf-file-path>

Downloads the given Executable and Linking Format File (.elf) to memory using the master service associated with the processor. Sets the processor's program counter to the .elf entry point.

processor_in_debug_mode

<service-path>

Returns a non-zero value if the processor is in debug mode.

processor_reset

<service-path>

Resets the processor and places it in debug mode.

processor_run

<service-path>

Puts the processor into run mode.

processor_stop

<service-path>

Puts the processor into debug mode.

processor_step

<service-path>

Executes one assembly instruction.

processor_get_register_names

<service-path>

Returns a list with the names of all of the processor's accessible registers.

processor_get_register

<service-path>

<register_name>

Returns the value of the specified register.

processor_set_register

<service-path>

<register_name>

<value>

Sets the value of the specified register.

2 If your system includes a Nios® II/f core with a data cache, it may complicate the debugging process. If you suspect the Nios® II/f core writes to memory from the data cache at nondeterministic intervals; thereby, overwriting data written by the System Console, you can disable the cache of the Nios® II/f core while debugging.