presto_en.pdf - 第32页

Page 32 Delay fo r VD D swi tching on/off when supplied from programmer If you supply power to your application from th e programmer during programmin g an d UP ann ounces overcurrent on VD D pin due to c harging cap aci…

100%1 / 101
Page 31
If the programmer is connected to a computer and no
other program communicates with it, its serial number
gets displayed. You can test communication with the
selected programmer by pressing the Test... button.
If the Always use this S/N choice is set, the currently
selected programmer is used even when in a loaded
project file there is defined a different programmer serial
number. Serial number defined on the CommandLine has
priority before this choice.
5.3.2 Projects
It is recommended to use projects for device programing
in UP.
Projects save all settings directly associated with
particular device programming such as device type,
required voltage, verification method, name of file
containing the programming data and many other
important pieces of information.
A new project can be created by choosing File New
project.
This is followed by selecting a device type, a file with
programming data, settings of the device's configuration
word, applied voltage and other important parameters.
configuration word, applied voltage and other important
parameters.
Once all required selections are made, save the project by
choosing File Save project...
An existing project can be opened by choosing File
Open project....
5.3.3 Device Type
Selection
Select the device type by choosing Device Select
device or by double-clicking the device name displayed
in the top right corner of the program window.
Fig.19: Device selection
A filter is available for sorting devices by families and
another one for Quick search. Just start typing an
important part of the device's name in its field. This
radically reduces the list of devices and speeds up the
whole selection process.
The Quick search filter allows use of the question mark as
a wild-card for a part of the name, for example
PIC18?20.
There is also a list of 10 Recently used devices where it
is possible to select one.
5.3.4 Program settings
It is advisable to fine-tune the program behavior by
adjusting the settings to suit your particular needs. This
can be done by choosing Options Program settings.
There is a great number of possible settings. If you are
not sure that all the settings are correct, use the Load
defaults button, which returns all the setting to the
original (default) state.
If you are updating UP to a new version, all the existing
settings will be preserved.
A detailed description of all settings can be found in
Menus, so we will pay attention to only a few important
settings for now.
Page 32
Delay for VDD switching on/off
when supplied from
programmer
If you supply power to your application from the
programmer during programming and UP announces
overcurrent on VDD pin due to charging capacitors in the
application, it may be advisable to enlarge the switch on
time in Program settings... Programming Delay
for VDD switching on/off when supplied from
programmer. This might be necessary to give the
programmer enough time to charge the large capacitors
in the application.
At the same place it si possible to set the discharge time,
when the program announces, that the VDD was not fully
discharged.
Fig.20: Programming settings
Page 33
Production Programming
Settings
If you want to perfectly verify your production to make
sure that the device is correctly programmed, you can
use the Program settings Programming Verify
with two supply voltages option and to apply the
lowest and the highest voltage allowed for the device as
the limits. Some manufacturers recommend this option
for the production programming. However, it is only
available if the application is supplied with power from
FORTE.
Program settings Panels Show mass production
counter in status bar could be a useful tool visibly
monitoring numbers of successfully and unsuccessfully
programmed devices. The counter can be reset in Device
Program Mass production Counter reset.
Program settings Serial numbers Log to file can
be used as another convenient assistant. With this option
selected, information on the programming progress of
individual devices gets recorded (logged) in a selected
file.
If you wish to automatically include the serial number
during production programming, you have a great range
of possibilities concerning what the number should look
like and where it should be positioned in the memory. All
serial number settings can be found on the Serial
numbers tab.
For further information on serial numbers see
Serial
Numbers
.
Settings for Programming
During Development
If you are frequently changing the content of the
programming data such as during application
development, for example, you can simplify your work by
using the GO button, which typically serves for
programming and verification of the whole memory
content. The function of this button is programmable and
can be set up under the Options Key shortcuts menu
in the GO button section.
The use of the GO button for programming should be
accompanied by Options Program settings
Programming Reload file before every
programming option.
Options Program settings Programming Keep
manually modified data causes that manually modified
data are not rewritten using the automatical file reload
before programming.
Options Program settings Programming Warn
before file load, when data in some editor have
been changed causes that a warning appears if data
have been changed in any editors and automatic file
reloading option is set.
Options Program settings Programming
Warn, when the loaded file has not changed causes
that a warning appears if the file loaded before
programming has not changed.
The following option can also be useful: Program
settings Programming After programming:
Close status window if there is no error.
There are special cases when developers do not have the
device's voltage supply pin available in an application
powered by an external source. In order to feed the
programmer's output circuits, power supply from the
programmer must be switched on in such a case and its
voltage set at the same value as used in the application.
Yet as some voltage still “sneaks” into the programmer
from the application through the programming pins, the
programmer “sees” that there is some voltage present
and refuses to activate its own output voltage. For such a
case the following option is available: Program settings
Others Allow internal and external supply
voltages collision.
WARNING: Activating this option in other situations
could damage the programmer!