3.4.7 Settings

From the Advanced Mode dialog, click Settings to display the available options. If you are connected to a Microchip tool there are additional options.

Table 3-6. Special Settings
Settings Description
Note: The options displayed are dependent on the device and tool selected. This table may not show every possible option.
JTAG Communications method
JTAG Method Select 2-wire JTAG or 4-wire JTAG.
Auto Select communication speed Select this check box to auto select the communication speed for J32 Debug Probe.
Communication settings for AVR or SAM devices
Interface Select JTAG or ISP.
Speed (MHz) Type in the appropriate speed.
Programming Options
Allow programing of OTP config memory Select this check box to enable the OTP config memory for programming.
Erase key with validation 0xFFFFFFFF,0xFFFFFFFF,0xFFFFFFFF,0xFFFFFFFF
Chip erase type All Memories + NVM configuration rows (ChipErase_ALL)

All Memories excluding BOOT region (ChipErase_S)

All Non Secure Memory Regions excluding BOOT region (ChipErase_NS)

Reset device before or after programming Select this check box to reset the device before or after programming.
Diagnostics
Logging Level Set the message logging level.

OFF: No logging.

SEVERE: Log severe (error) messages only.

WARNING: Log warning messages only.

INFO: Log informational messages only.

CONFIG: Log configuration information only.

FINE: Log some module-to-module communication.

FINER: Log more module-to-module communication.

FINEST: Log all module-to-module communication.

Log File Path and name of log file.
Tool Pack Selection
Tool pack update options Select from the available options:

Use latest installed tool pack (Recommended).

Use specific tool pack - opens a Select Tool Pack dialog showing the available version(s).

Specifically selected version Displays the available versions.
Device Pack Selection
Device Packs The device pack for the currently selected device. Changing the device pack selection is enabled only if the tool is disconnected.
Special Memory Regions
Program Calibration Memory Enables programming of registers used to hold calibration values for a device.
Program/Read User OTP Enables programming or reading of a serial user ID that is OTP (one time programmable). Once programmed, it cannot be changed.
Secure Segments
Segments to Program Available only for devices with CodeGuard, for example, dsPIC33FJ12GP202.

Select the segments to program:

Full Chip Programming

Boot, Secure and General Segments

Secure and General Segments

General Segment Only

SQTP
Disable operations if SQTP values are exhausted Selecting the check box prohibits further programming if all SQTP values from the specified .num file have been exhausted.
Display the next SQTP sequence in the output window Select this check box to display the next SQTP sequence in the output window.
Programming Method
This option allows you to choose the Test mode entry method for devices. This feature is supported by the tools which can power the target (except for PM3).This setting refers to the order in which the Vpp and Vdd voltages will be applied when programming/reading the target device.
Apply Vpp before Vdd 
(Recommended) This is the default setting.
Apply Vdd before Vpp Caution is recommended when using this setting as it may have adverse side effects. This option is available only when powering the device from the debug tool.
(Tool) Options
PGC Configuration Select either none, pull up or pull down. The default is pull down.
PGD resistor value (Kohms) Type in a resistor value from 0-50.The default value is 4.7 Kohms.
PGC resistor value (Kohms) Type in a resistor value from 0-50.The default value is 4.7 Kohms.
LED Brightness setting Select the level of brightness from 1 (darkest) to 10 (brightest); the default is 5.
PGD Configuration Select either none, pull up or pull down. The default is pull down.
Program Speed Select either Low, Normal or High. The default is Normal.
Program calibration memory Select if you want to program calibration memory.
Program Options
Erase All Before Program Select this check box to erase all before programming.
Programmer-To-Go
Image Name The default is “<your project name>_ptg,” but you can edit the name. This will be the folder name on the microSDHC card that contains the appropriate files for Programmer-To-Go.
Send image to tool The check box is selected by default. With the box checked, the PTG image is created and then sent to the microSDHC card in the connected MPLAB PICkit 4/5.
Program Device The check box is selected by default. When the check box selected, the device connected to the MPLAB PICkit 4/5 is programmed.
Note: If both the Send image to tool and Program Device check boxes are unchecked, see the MPLAB PICkit 4 In-Circuit Debugger User’s Guide topic on “Setting Up PTG Mode Without a Memory Card.”
Browse PTG Image This option will open a window with a set of options listed related to PTG image.
Once the Browse PTG Image option is selected, the follow options will display:
  1. Delete Image: User selected PTG images from checkbox are selected for deletion of image on SDCard.
  2. Refresh Image: SDCard PTG images and its stats are refreshed.
  3. Set Active Image: Selected image will be set as active.
  4. Reset Stats: Selected image stats will be reset to 0.
  5. Title Names:
    1. Image Name: PTG image name
    2. Total Count: Total number of programming count
    3. Pass Count: Passed number of programming count
  6. Active Image: Displays the current active image name.
  7. Checkbox: Multiple PTG images ca be selected for deletion (refer to 1).
  8. Selects the image as active (refer to 3).
  9. Close: Closes the PTG window.
  10. Select All: Check marked as select all for the deletion of images on the SDCard.
Note: Refer to this image for a visual on what selecting all for the deletion of images will look like on the screen.

Python Script Supported Devices - Programmer-To-Go

Python script enabled devices do not support PTG or the Tool options category. Refer to this list for Python script-enabled devices:

ATSAML10D14A

ATSAML10D15A

ATSAML10D16A

ATSAML10E14A

ATSAML10E15A

ATSAML10E16A

ATSAML11D14A

ATSAML11D15A

ATSAML11D16A

ATSAML11E14A

ATSAML11E15A

ATSAML11E16A

PIC32CM2532LE00048

PIC32CM2532LE00064

PIC32CM2532LE00100

PIC32CM5164LE00048

PIC32CM5164LE00064

PIC32CM5164LE00100

PIC32CM2532LS00048

PIC32CM2532LS00064

PIC32CM2532LS00100

PIC32CM5164LS00048

PIC32CM5164LS00064

PIC32CM5164LS00100

PIC32CM5164LS60048

PIC32CM5164LS60064

PIC32CM5164LS60100