presto_en.pdf - 第54页
Page 54 ▸ Mask I D positio ns during direct user input With this option activated , the program app lies the bit mask t o each user-modificatio n of ID positions. For further information see ▸ Mask ID p ositions while re…

Page 53
▸ Read ID positions not from the file but
from the device
If you want to preserve the content of the ID positions,
use the Read ID positions not from the file but from
the device option. The program fills in the given location
with the memory content of the device connected to the
programmer before starting the programming itself.
Advice
This option could cause unexpected actions during work
with the programmer such as switching the application on
or starting the UP program.
▸ Save fuses in UP instead of data file
This option allows to save fuses in ini file or UP projekt file
even for devices which by default have their fuses saved
in a data file.
▸ Project storing style
This panel allows you to set how projects should be saved
when exiting UP. Available options are: save
automatically, ask before saving or keep the original file
(i.e. do not save).
▸ Load last project on start-up
This option allows you to set if on the next UP start it will
open the project file, which was open on program
closing.
Options ➙ Program settings ➙
Colors
Keyboard shortcut: Shift+F10
This is where you can change and save colors of HEX
editors so that they suit your needs and your aesthetic
preferences.
A front color, a background color and a font can be
selected for all the listed text segments.
Options ➙ Program settings ➙
Editors
Keyboard shortcut: Shift+F10
▸ Code/main memory editor: show words
as bytes
Individual words can be displayed by bytes in case of
devices with 16-bit-long words.
▸ Code/main memory editor 8 words
wide
This option narrows the editor from the original sixteen
cells down to eight. The option is suitable especially for
small monitors. It can change automatically when a
different device type is selected.
The same option can be set for others memories:
▸ Data memory editor 8 words wide
▸ Boot memory editor 8 words wide
▸ Show only the lowest byte of word in
ASCII
When this option is activated, the program shows the
ASCII translation of only the lowest byte of word, which
can be useful especially for PIC MCUs.
▸ Mask ID positions while reading from
device, from file, etc.
Some manufacturers' specifications recommend saving
only masked data (with only four bits usable) in ID
positions. With this option activated, the program always
applies this bit mask when reading ID positions from
different sources.

Page 54
▸ Mask ID positions during direct user
input
With this option activated, the program applies the bit
mask to each user-modification of ID positions. For further
information see ▸ Mask ID positions while reading from
device, from file, etc.
.
▸ Configuration memory editor: show cfg
word instead of fuses
This option is recommended for advanced users only. It is
not saved in the UP configuration file for safety reasons.
Direct editing of fuses is understood as direct writing of a
configuration word value in the hexadecimal form.
When a “non-translatable” configuration word is entered,
the program leaves the unrecognized items unchanged
unless the user changes them him/herself. This typically
concerns CP fuses having several bits but only two
values.
Options ➙ Program settings ➙ Serial
numbers
Keyboard shortcut: Shift+F10
For further information on working with serial numbers
see
Serial Numbers.
▸ Serial numbers
This tab allows you to choose whether serial numbers are
to be used and if so then whether they should be read
from a file or computed and whether they should be
automatically written to the corresponding location.
▸ Prepare S/N before programming
This option prepares a serial number in the selected
memory location before the actual device programming.
▸ Find successor after programming
Once one programming procedure is successfully
completed, the system proceeds to the following serial
number. If this option is not activated, it is still possible to
proceed to the following number manually by clicking the
Next button on the Serial numbers tab – see
Serial
Numbers
.
▸ Prepare S/N after programming
This option causes that a serial number is prepared in the
selected memory location after the device programming.
▸ Serial number interval
This defines by what value the following serial number
will be larger or smaller.
▸ Log to file
By activating this option and by selecting a log file in the
field, information about correctly and incorrectly
programmed devices as well as the programming time is
saved in the selected file.
▸ After project load set actual SN
according to the last in the log
When this option is enabled, the last programmed SN is
read from the log file and when the programming is
logged as errorless the next SN is computed from the
read value else the last SN is set again.
The log file has to exist and the last record has to contain
a SN.
This function can be useful when the serial numbers are
enabled and saving of UP project files is disabled, in such
a case the actual SN will not update in the project file on
program close.

Page 55
▸ Serial number length (the number of
characters)
This field determines how many characters the serial
number can hold. For example, 4 characters provide for
the serial numbers 0001 to 9999 in base 10 (i.e. in
decimal form).
▸ Number base
This option defines the base of the serial number
characters. Base 10 and base 16 are available (i.e. the
decimal and hexadecimal forms).
▸ Code as ASCII
With this option activated, serial numbers are legible as
ASCII characters.
▸ Initial serial number
This field defines the initial value from which serial
numbers are to be computed.
▸ Next S/N
This field defines how the following serial number is to be
generated.
If The same is selected, the serial number does not
change. If One interval higher is selected, the following
number will be larger by the value of ▸ Serial number
interval
while if One interval lower is selected, it will
reduce by that value.
The Generated LSFR option generates the numbers in a
pseudo-random sequence. This means that the sequence
will always be the same if the same Initial serial
number and the same Serial numbers step is used.
The Manual option shows a field, in the serial numbers
window, where the serial number in the hexadecimal form
can be entered before programming. When this option is
selected, the serial number can be entered using the /sn
commandline parameter as well.
▸ Destination
This panel determines the memory location in which the
serial numbers are to be stored. Code/main memory,
data memory and ID positions are available as
options.
▸ Hexadecimal address of first word
This address defines where the first word of the serial
number is to start in the selected memory type.
▸ Fill with RETLW instruction
Individual words of the serial number can be filled with
RETLW instruction in Microchip microcontrollers. This
option is available only if the serial number is located in
the code/main memory.
▸ Characters per word
This panel determines how many serial number
characters form one word. Options of 1 to 4 characters
per word are available.
▸ Sequence
This panel sets how individual serial number characters
and words are to be ordered.
For example, if you have a base 10 serial number
consisting of four characters organized as 2 characters
per word and you are working let's say with 1234 as the
serial number, it will be saved in the following ways:
HiLohilo:1234
hiloHiLo:3412
LoHilohi:2143
lohiLoHi:4321
Options ➙ Program settings ➙
Checksum