Previous Next

MDB Reference : List of Commands : Others Commands : Simulator Options Used with the Set Command

Simulator Options Used with the Set Command
Table 2-7 provides additional information for the set command used with the simulator options.
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: Simulator Options Used With the Set Command 
Command name
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
performancedata.show
Shows performance data in output window.
Example:
set performancedata.show true
true, false
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, micro­seconds, nano­seconds
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
milli­seconds, micro­seconds, nano­seconds
Yes
uartNio.output
Specifies location of UART output, where 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
uartNio.outputfile
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
 

Previous Next Microchip Support
Help Updated: 2014-08-12 12:16:05Z
Help Page: 17