Previous Next

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

Tool Property Options Used with the Set Command
Table 2-6 provides additional information for the set command used with tool property options.
Note:
MDB commands are not case-sensitive. However, when using the SET command, where tool option properties are passed as parameters, the parameter portion of the command line entered is case-sensitive.
Table: Tool-Property-Name Options Used with the Set Command 
Tool Property Name
Value
Tool
AutoSelectMemRanges
Determines whether the debugger will automatically select the areas of memory and program memory ranges to program. If set to auto the debugger will automatically select the memory and ranges. Manual means the memories and ranges will be determined by the memories properties below.
Example:
set AutoSelectMemRanges auto
auto or manual
MPLAB ICD3, REAL ICE, PICkit 3, MPLAB PM3
debugoptions.useswbreakpoints
True indicates that software breakpoints will be used for program address breakpoints, false indicates that hardware breakpoints will be used (does not apply to PICkit 3).
Example:
set debugoptions.useswbreakpoints true
true or false
MPLAB ICD3, REAL ICE
memories.programmemory
If true, the program memory will be programmed; if false, it will not.
Example:
set memories.programmemory true
true or false
MPLAB ICD3, REAL ICE, PICkit 3, MPLAB PM3
memories.programmemory.start
The value represents the starting program memory address that the debug tool will begin programming.
Example:
set memories.programmemory.start 0x0000
a string representing a long value
MPLAB ICD3, REAL ICE, PICkit 3, MPLAB PM3
memories.programmemory.end
The value represents the ending program memory address that the debug tool will end programming.
Example:
set memories.programmemory.end 0xFFFF
a string representing a long value
MPLAB ICD3, REAL ICE, PICkit 3, MPLAB PM3
memories.eeprom
If true, the EEPROM memory will be programmed; if false, it will not.
Example:
set memories.eeprom true
true or false
MPLAB ICD3, REAL ICE, PICkit 3, MPLAB PM3
memories.id
If true, the user ID memory will be programmed; if false, it will not.
Example:
set memories.id true
true or false
MPLAB ICD3, REAL ICE, PICkit 3, MPLAB PM3
memories.bootflash
If true, the boot flash (PIC32 only) memory will be programmed; if false, it will not.
Example:
set memories.bootflash true
true or false
MPLAB ICD3, REAL ICE, PICkit 3, MPLAB PM3
memories.aux
If true, the auxiliary program memory (dsPIC/PIC24 EP parts only) will be programmed; if false, it will not.
Example:
set memories.aux true
true or false
MPLAB ICD3, REAL ICE, PICkit 3, MPLAB PM3
programoptions.eraseb4program
If true, the device will be erased before it is programmed; if false it will not.
Example:
set programoptions.eraseb4program true
true or false
MPLAB ICD3, REAL ICE, PICkit 3, MPLAB PM3
poweroptions.powerenable
If true, the debug tool will supply target power at the default voltage for the tool. If false it will not supply target power.
Note: This property does not apply to REAL ICE.
To set a non-default voltage for the target power, first set the
poweroptions.powerenable to true, then set the voltage value where n.n represents the desired voltage:
set voltagevalue n.n
Example:
set poweroptions.powerenable true
set voltagevalue 3.3
true or false
MPLAB ICD3, PICkit 3, MPLAB PM3
SecureSegment.SegmentProgramming SegmentProgrammingAll
If true, it permits programming to “Program Over Secure and Protected FLASH”. This property must be set prior to using the program operation on the MDB. Use the -p command to set the tool as a programmer if it’s for a production final image and not just a debug image.
Example:
set SecureSegment.SegmentProgramming SegmentProgrammingAll true
true or false
MPLAB ICD3, REAL ICE, PICkit 3
system.disableerrormsg
If true, the system will disable warnings and error messages; if false the system will enable warning and error messages (this is the default).
Example:
set system.disableerrormsg true
true or false
Not tool dependent

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