presto_en.pdf - 第71页
Page 71 5.12.2 List of UP variables Prog.LoadFileBfgProg boolean If true, current file is reloa ded before device (or its part) is programmed. Prog.LoadFileBfgProgWarnMod boolean If true, the p rogram warns wh en it is s…

Page 70
the command line to the already running first instance or
makes it visible in another way.
However, UP can be started and run in several instances if
used together with the parameter /w and a different
window class name. Those programs (instances) having
the same window class name will communicate with each
other.
Parameters for the program controlled from the command
line are described in
Running UP from Command Line.
Example of use
The first instance of UP can be started the standard way
from the start menu.
Additional instances can be started from the command
line as up.exe /w "another up", for example.
5.10
Access of More UP
Instances to One
Programmer
Only one program or utility can access one programmer
at any one time.
The operating system takes care of the access rights of
programmers connected to the USB interface.
If UP is running, the operating system does not allow any
other program to access the selected programmer as UP
needs to continually check the GO button state and the
voltage on the feeding pin.
UP can temporarily be prohibited to access the
programmer and the programmer freed this way for
another application. This can be done by choosing
Options ➙ Select programmer. As long as this dialog is
open, another program can access the programmer. The
data the system works with in HEX editors does not get
lost by closing this dialog window.
5.11
Updating UP
If a newer program version is available on the web, it is
recommended to update the existing version as it may
eliminate known bugs or make the programming
algorithm for a particular device more efficient.
New versions also add newly supported types of devices.
Updates are free and are very easy. You can download a
new program version from
https://www.asix.tech/
prg_up_en.html
and simply install it over the previous one
by running the installer and clicking the Next button till it
finishes.
You do not have to worry about losing the settings you
created in your current program version. The installation
preserves all of them.
You can set an automatic check for newer versions on the
web in Options ➙ Program settings ➙ Others.
5.12
Appendix A UP_DLL.DLL
This appendix deals with the names of settings and
values of functions in the UP_DLL.DLL library.
Please look at the sample batch files in UP installation
folder for better understanding.
The following information is provided only for experienced
users and does not provide any guarantee.
5.12.1 Data Types
string is string
integer signed 32bit value
boolean accessed like integers; 0 is false, other
value is true

Page 71
5.12.2 List of UP variables
Prog.LoadFileBfgProg
boolean
If true, current file is reloaded before device (or its part) is
programmed.
Prog.LoadFileBfgProgWarnMod
boolean
If true, the program warns when it is set to reload current
file before programming and data in some editor have
been manually modified.
Prog.LoadFileBfgProgWarnOnNoChange
boolean
If true, the program warns when it is set to reload current
file before programming and the content of the loaded file
has not changed from the previous programming.
File.AutoCheck
boolean
If true, current file is periodically tested for changes.
File.LoadOnModify
boolean
If true, when change is detected, question pops up.
FileLoad.ClearData
FileLoad.ClearCfg
FileLoad.ClearID
FileLoad.ClearCode
boolean
If true, the contents of code memory is erased (in UP
memory) before new file is loaded;
all cells not stored in the file will have its default (blank)
state.
Part.Name
string
Selected device name
Prog.Name
string
Selected programmer name
Possible values are PREST, FORTE.
Prog.PortBase
integer
Serial number of programmer
Prog.UseOnlyThisSN
boolean
If true, the SN saved in the up.ini is always used regardles
of the SN contained in a project file.
LanguageFile
string
Relative path to used languange file
Project.File
string
Project file path
Project.Present
boolean
Project.Template
boolean

Page 72
If true, the user is asked for project name before its
saving.
HexFile.File
string
Opened current file path
HexFile.Present
boolean
HexFile.IHex
boolean
If true, the file with extension different from .HEX or .BIN
is loaded as HEX file.
HexFile.Template
boolean
If true, the user is asked for name before saving.
HexFile.SaveVoid
boolean
If true, empty cells are saved, too.
HexFile.AskForBinEndian
boolean
If true, the user is asked if the loaded BIN file should be
loaded as Little or Big endian.
HexFile.BinLittleEndian
boolean
If true, the loaded BIN file is loaded as Little endian.
HexFile.LoadDataAuto
boolean
If true, with file is loaded also a separate file for data
memory.
HexFile.LastDataFile
string
Path of a separate file for data memory.
HexFile.DataIHex
boolean
If true, the file for data memory with extension different
from .HEX or .BIN is loaded as HEX file.
Prog.QBfrEraseFlash
boolean
Question before erasing flash devices
Prog.QBfrProgFlash
boolean
Question before programming flash devices
Prog.QBfrProg
boolean
Question before programming OTP devices
Prog.QBfrDiffProg
boolean
Question before differential programming (of flash
devices)
Prog.QBfrProgCP
boolean
Warning before programming device with some kind of
protection
Prog.CloseStatOnGoodAct
boolean
If true, status window will be automatically closed after
read/verify etc... without errors.
Prog.CloseStatOnGoodProg
boolean