Simulator Options Used with the Set Command

The following table provides additional information for simulator options used with the set command.

Important: The set command, including the tool property options, must be executed before the Hwtool command is issued, otherwise the changes to the tool properties will be ignored.
Note: For the following table, the break options allow you to set the conditions that will cause program execution to halt. In general, the program will either break on option, ignore the option, or report the option.
Table 1. Simulator Options Used with the Set Command
Simulator Options Values Device or Runtime Dependent
breakoptions.coreerrors

Sets the condition if core errors occur

Example:

set breakoptions.coreerrors Break

Break, Ignore, Report No
breakoptions.corewarnings

Sets the condition if core warnings occur

Example:

set breakoptions.corewarnings Ignore

Break, Ignore, Report No
breakoptions.peripheralerrors

Sets the condition if peripheral errors occur

Example:

set breakoptions.peripheralerrors Report

Break, Ignore, Report No
breakoptions.peripheralwarnings

Sets the condition if peripheral warnings occur

Example:

set breakoptions.peripheralwarnings Break

Break, Ignore, Report No
breakoptions.stimulusmessages.notes

Sets the condition if stimulus notes occur

Example:

set breakoptions.stimulusmessages.notes Ignore

Break, Ignore, Report No
breakoptions.stimulusmessags.errors

Sets the condition if stimulus errors occur

Example:

set breakoptions.stimulusmessages.errors Report

Break, Ignore, Report No
breakoptions.stimulusmessags.warnings

Sets the condition if stimulus warnings occur

Example:

set breakoptions.stimulusmessages.warnings Ignore

Break, Ignore, Report No
breakoptions.wdtwarnings

Sets the condition if watchdog timer warnings occur

Example:

set breakoptions.wdtwarnings Ignore

Break, Ignore, Report No
codecoverage.enabled

Enables or disables code coverage

Example:

set codecoverage.enabled Disable

Disable,
   Enabled_Reset_on_POR
   Enabled_Reset_on_Run
No
codecoverage.enableoutputtofile

Enables write to file

Example:

set codecoverage.enableoutputtofile true

true, false No
codecoverage.outputtofile

Absolute path to output file

Example:

set codecoverage.outputtofile “c:\path\to\file.txt”

String path No
oscillator.auxfrequency

Auxiliary PLL Frequency, used by PWM and ADC

Example:

set oscillator.auxfrequency 4400

Numeric Yes
oscillator.auxfrequencyunit

Auxiliary PLL Frequency Units

Example:

set oscillator.auxfrequencyunit None

Mega, Kilo, None Yes
oscillator.frequency

Instruction Execution Frequency

Example:

set oscillator.frequency 4700

Numeric No
oscillator.frequencyunit

Instruction Frequency Units

Example:

set oscillator.frequencyunit Kilo

Mega, Kilo, None No
oscillator.rcfrequency

RC Oscillator Frequency

Example:

set oscillator.rcfrequency 4500

Numeric No
oscillator.rcfrequencyunit

RC Oscillator Frequency Units

Example:

set oscillator.rcfrequencyunit None

Mega, Kilo, None No
periphADC1.altscl

Use MPLAB 8 style ADC

Example:

set periphADC1.altscl true

true, false Yes
periphADC1.minTacq

Specifies minimum acquisition time (Tacq) in seconds

Example:

set periphADC1.minTacq 10

Numeric Yes
periphADC1.tacqunits

Units for minimum acquisition time (Tacq)

Example:

set periphADC1.tacqunits nanoseconds

milliseconds, microseconds, nanoseconds Yes
periphADC2.altscl

Use MPLAB 8 style ADC

Example:

set periphADC2.altscl true

true, false Yes
periphADC2.minTacq

Specifies minimum acquisition time (Tacq) in seconds

Example:

set periphADC2.minTacq 20

Numeric Yes
periphADC2.tacqunits

Units for minimum acquisition time (Tacq)

Example:

set periphADC2.tacqunits milliseconds

milliseconds, microseconds, nanoseconds Yes
uartNio.output

Specifies location of UART output

N represents the UART number 1 through 6

Example:

set uart1io.output file

file, window Yes
uartNio.uartioenabled

If true, the system will enable the UART I/O; if false the system will disable it

N represents the UART number 1 through 6

Example:

set uart1io.uartioenabled false

true, false Yes

Passes in a string containing the root (absolute path) of the file system to the file used for UART output

N represents the UART number 1 through 6

Example:

set uart1io.outputfile “c:\path\to\outputfile.txt”

Absolute path to file Yes