presto_en.pdf - 第78页
Page 78 2 Int.RC 32kHz SpecSettings.FORT E.ARMCommFreq integer Selects commun ication frequenc y bet ween FORTE programmer and the programmed chip. T he frequencies are same as stated in the "Commun ication frequen…

Page 77
FORTE programmer. The value is in voltsx10.
SpecSettings.FORTE.Power
boolean
If true, idle power supply is provided by FORTE
programmer.
SpecSettings.FORTE.ProgPower
boolean
If true, the supply voltage during programming is
provided by FORTE programmer.
SpecSettings.FORTE.LVP
integer
0 HVP method
1 LVP method
SpecSettings.FORTE.UsePE
boolean
If true, PE (programming executive) is used for
programming of PIC MCUs, when programmed by FORTE
programmer.
SpecSettings.FORTE.PIC32MZ_BootProg
integer
0 Lower Boot alias
1 Boot Flash 1 and 2
SpecSettings.FORTE.PSoCAlg
integer
0 automatic selection
1 assume VDD > 3.6V
2 assume VDD =< 3.6V
SpecSettings.FORTE.PSoCRSTInit
integer
0 Reset mode
1 Power cycling
SpecSettings.FORTE.MSP430osc
integer
0 Calibrated internal RC oscilator
1 Not calibrated internal RC oscilator
SpecSettings.FORTE.MSP430speed
integer
0 Normal
1 Slow
2 Slowest
SpecSettings.FORTE.MSP430EraseSegme
ntA
boolean
If true, MSP430 Segment A is erased.
SpecSettings.FORTE.MSP430Interface
integer
0 JTAG
1 SBW
SpecSettings.FORTE.ARMFreq
integer
The value specifies the frequency of connected oscillator
or crystal. This value is used for programming of
ARM7TDMI.
SpecSettings.FORTE.ARMOscType
integer
0 Crystal
1 Ext. Clock

Page 78
2 Int.RC 32kHz
SpecSettings.FORTE.ARMCommFreq
integer
Selects communication frequency between FORTE
programmer and the programmed chip. The frequencies
are same as stated in the "Communication frequency"
ComboBox in UP. 0 means the highest frequency, 1 is
lower and so on.
SpecSettings.FORTE.SPI_Flash_Freq
integer
Selects communication frequency between FORTE
programmer and the programmed chip. The frequencies
are same as stated in the "Communication frequency"
ComboBox in UP. 0 means the highest frequency, 1 is
lower and so on.
SpecSettings.FORTE.AVRXTAL.DELAY
integer
represents maximum AVR oscillator frequency
value can be found in *.lng files at item
MainForm.PRESTSpecForm.ComboAVRXTALPresto2.xxx.It
ems where xxx is minimum divisor of system clock of
selected AVR's SPI module. This is 2 for new AVRs, 3 and
4 for older AVRs and 24 for Atmel's 8051 arch.
processors.
This setting can be found in ini file too at
[SpecSettings.FORTE], XTALClk.
SpecSettings.FORTE.AVRXTAL.AutoClk
boolean
If true, faster programming with slow clock is used for
AVR MCUs.
SpecSettings.FORTE.AVRRSTInverse
boolean
If true, the reset signal polarity is assumed to be inverse
in comparison with standard polarity of the reset signal of
the selected chip. It is supported with AVR and 8051
devices.
SpecSettings.FORTE.AVRHVP
boolean
If true, high voltage method is used for AVR MCUs, it is
supported for AVR TPI interface only.
SpecSettings.FORTE.ATxmegaInterface
integer
0 PDI
1 JTAG
SpecSettings.FORTE.i2cSpeed
integer
0 100kHz
1 400kHz
2 1MHz
3 Maximal
SpecSettings.FORTE.i2cAddr
integer
0 first suitable address or N/A
1 second suitable address
etc...
5.13
Appendix B: Use of ICSP
ICSP (In-Circuit Serial Programming) is a method of PIC
microcontroller programming making it possible to
program devices already placed on PCBs.
Two different algorithms may be used for PIC
microcontroller programming: HVP (using programming

Page 79
voltage on pin -MCLR/VPP) or LVP (using the LVP pin).
The LVP programming algorithm can be disabled in the
device's configuration word. Microcontrollers have the
LVP algorithm enabled from the production, therefore
their PGM input needs to be treated during the first
programming (PGM input must be in log.0 for the time of
programming by means of the HVP algorithm).
Note: Not all devices have the PGM pin.
5.13.1 Pins Used for
Programming
This chapter describes how to treat pins in the ICSP
programming mode in accordance with the programming
algorithm.
HVP Algorithm
• PGM pin (if the device has one) must be maintained in
log.0!!
• -MCLR/VPP must be separated from the resetting
circuits (with a 10kΩ resistor, for example).
Aprogramming voltage is supplied to this pin P(VPP)
for programming. The leading edge and the voltage
level at VPP must not be influenced by the application.
The PRESTO programmer supports only fixed voltage
of 13V on pin P(VPP) in contrast to adjustable voltage
within a range of 6.5V to 17V supported by FORTE.
Please check limit voltage value on pin -MCLR/VPP of
the PIC device to be programmed by PRESTO.
• RB6 and RB7 pins must not be influenced by the
application during programming.
LVP algorithm (without VPP)
• RB6, RB7, PGM and -MCLR/VPP pins must not be
influenced by the application during programming. All
pins are in various logical levels during programming.
Loading of Different
Programmer Pins
The maximum current drawn from I/O pins, from pins
P(VPP) and VDD can be found in the Technical
Specification.
OTP (One-Time Programmable) devices have a
considerably higher current consumption on pin P(VPP)
than devices with a FLASH memory. Therefore the
application should not have any additional current
consumption at pin P(VPP) in case of OTP.
Data pins may have their signals changing at a speed of
several MHz, so the application must not influence the
signals in any significant way.
5.13.2 Power Supply Options
Connecting the shared data and power supply ground
(GND) is obviously necessary for all cases. The
microcontroller being programmed can be fed:
• externally from an application
• internally from a programmer
The external power supply from the application cannot be
used for some types of microcontroller having the -MCLR/
VPP pin alternatively configurable as an I/O.
The internal power supply can be used only in cases
where the application does not draw too much current
from programmer's feeding pin (VDD). The maximum
allowed current consumption can be found in the
Technical Specification.
Both PRESTO and FORTE programmers feature an
overcurrent protection. PRESTO has a software protection
in which an output gets disconnected by the running UP
program having detected an overload. FORTE has a
hardware protection, which does not depend on the
control software.
The programmer switches the power supply off if the