presto_en.pdf - 第33页

Page 33 Production Programming Settings If you want to perfectly verify your produc tion to make sure that the d evice is correctly programmed , you can use the Program settings ➙ Programming ➙ Verify with two supply vol…

100%1 / 101
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!
Page 34
Programmer Settings
Each time a particular programmer is selected (FORTE or
PRESTO), the programmer settings window is displayed
allowing the user to set the voltage used and some other
important programming options.
If you are using an external power source for feeding the
application, the During programming option must not
be checked.
Fig.21: Programmer settings
The current voltage is continuously displayed in the top
right corner of this window.
Should an error i.e. overload occur, a warning appears at
this place.
The output voltage in the idle state if it is turn on can be
changed only if it is allowed under Options Program
settings Others Allow to change supply voltage
level when it is on (FORTE only).
If a voltage is present at the VDD pin, you can stop the
running microcontroller application by pressing the Reset
button and restart it by pressing the same button again.
Fuses and Working with Them
Characteristics of the device (fuse) to be programmed
can be set in the Configuration window. Changes in
fuses can be saved by choosing File Save or File
Save project....
If the given .hex file of device includes definitions of its
fuses, fuses are saved in it.
Fuses are saved together with a project in the case of
Atmel microcontrollers and memory chips. If you are
working with these, right-click the Configuration window
once you have set the fuses and use the Learn fuses
option.
If the Options Program settings Programming
Reload file before every programming option is
active, the software reloads current file after the
Program button is pressed. If, however, fuses are not
saved in current file and no project is created from which
fuses could be used, the configuration memory initializes
into the default state before each programming
procedure. This can be avoided by deactivating the
Program settings Files Erase configuration
memory before file reading option.
Many devices have specific requirements for fuse
settings. Further information on how to correctly set their
fuses can be found in the particular device data sheet.
5.3.5 Programming
Select the file that you want to program by choosing File
Open....
Once the file opens, you can see the current code/main
memory, data memory and configuration memory (fuses).
If you cannot see these windows, activate them under
the View menu.
The memory being programmed can be manually
modified at any time by simply marking the required
location and rewriting its value from the keyboard. If you