
Elnec s. r. o.
168
The INDEX parameter specifies the order of buffer, where data will
send. The main buffer has index '1'. The first secondary buffer has
index '2', etc. Please note, the secondary buffer(s) is(are) available for
some kinds of devices only (e.g. Microchip PIC16F628). The kind of
buffer indexed by parameter buffindex depends on order of buffer in
application PG4UW in dialog View/Edit buffer. For example device
Microchip PIC16F628 has additional buffer with label "Data EEPROM".
This buffer can be accessed for data write(s) by this function when
buffindex = 2 is specified.
Example 1:
/writebufferex:1:7FF800:12,AB,C5,D4,7E,80
The command is equivalent to command
/writebuffer:1:7FF800:12,AB,C5,D4,7E,80
described in section about command /writebuffer.
Example 2:
/writebufferex:2:2F:12,AB,C5,D4,7E,80
The command writes 6 Bytes 12H ABH C5H D4H 7EH 80H to secondary buffer
with index “2” at address 2FH. The addressing looks like following:
the first Byte at the lowest address
Buffer
Address Data
00002FH
12H
000030H
ABH
000031H
C5H
000032H
D4H
000033H
7EH
000034H
80H
Basic rules for using of executive command line parameters:
1. program pg4uwcmd.exe must be located in the same directory as program pg4uw.exe
2. if pg4uw.exe is not running when pg4uwcmd.exe is called, it will be automatically started
3. command line parameters are not case sensitive
4. command line parameters can be used when first starting of program or when program is
already running
5. if program is already running, then any of command line operation is processed only when
program was not busy (no operation was currently executing in program). Program must
be in basic state, i.e. main program window focused, no modal dialogs displayed, no menu
commands opened or executed
6. order of processing command line parameters when using more parameters together is
defined firmly as following:
step1 Load file (/Loadfile:...)
step2 Load project (/Prj:...)
step3 EPROM/FLASH autoselect
step4 Program device (/Program[:switch])
step5 Close of control program (/Close only together with parameter /Program)
Example 1:
pg4uwcmd.exe /program:noanyquest /loadfile:c:\empfile.hex
Following operations will perform:
1. start pg4uw.exe (if not already running)
2. load file c:\empfile.hex
3. start program device operation without questions
4. pg4uwcmd.exe is still running and periodically checking status of pg4uw.exe
Содержание BeeHive204
Страница 7: ...Introduction 7 Introduction ...
Страница 12: ...Elnec s r o 12 Quick Start ...
Страница 15: ...Detailed description 15 Detailed description ...
Страница 16: ...Elnec s r o 16 BeeHive204 ...
Страница 33: ...BeeProg2 BeeProg2C 33 BeeProg2 BeeProg2C ...
Страница 50: ...Elnec s r o 50 SmartProg2 ...
Страница 59: ...Setup 59 Setup ...
Страница 63: ...Setup 63 Step 7 Check your settings and then click on Install button Step 8 Installation process will start ...
Страница 66: ...Elnec s r o 66 PG4UW ...
Страница 141: ...PG4UWMC 141 PG4UWMC ...
Страница 162: ...Elnec s r o 162 Common notes ...
Страница 176: ...Elnec s r o 176 Troubleshooting and warranty ...