End-of-line programming
59/70
Command
(mode)
Description
erase
Deletes contents of specified flash area. Must be followed by the
parameters (optional parameters are indicated in curly brackets):
{interface}
[bus]
[unit]
[chip select]
{offset}
[size]
Note
: If you omit the
interface
parameter, you will have to select the
interface from a menu that appears before you can start the
erase
action.
If you omit the
offset
parameter, the flasher tool will automatically use
the default offset
0x0
(start of the flash unit).
-h
Shows a help text providing information on commands and parameters.
Does not need to be followed by a parameter
Table 27: Flasher commands
The following table describes the relevant parameters and their values:
Parameter
Description
Values
Example
interface
-p <value>
Selects the interface that
will be used for the action.
Note
: You can omit this
parameter and select the
interface from a menu
instead, which appears right
before you start the action.
However, using this
parameter in the command
line would allow you to run
the flasher without user
interaction in order to
automate your production
process.
Use the
info
command to display a list of
interfaces/values that the flasher can use
(see sub-section
Select and open
interface
below)
-p romloader
_uart_com1
bus
-b <value>
Selects internal or external
flash
1
External (serial) flash
-b 1
denotes external
serial flash
2
Internal flash of COM and
APP CPU (INTFLASH)
unit
-u <value>
Selects individual flash unit
within internal or external
flash. Depends on the
selected bus.
For bus 1
(i.e. if
preceded by
-b 1
)
0
External SQI flash
-b 2 -u 2
denotes
INTFLASH2 (APP
CPU)
1
External SPI0_APP
flash
2
External SPI1_APP
flash
3
External SPI2_APP
flash
For bus 2
(i.e. if
preceded by
-b 2
)
0
INTFLASH0 (COM
CPU)
1
INTFLASH1 (COM
CPU)
2
INTFLASH2 (APP
CPU)
3
INTFLASH01
(combined
INTFLASH of COM
CPU)
chip
select
-cs <value>
Selects chip select signal of
the interface (if applicable)
For bus 1
(external
serial flash)
Depends on the circuitry
of the PCB. Will be
0
in
most cases
–cs 0
For bus 2
(INTFLASH)
0
offset
-s <value>
Byte address in the
selected flash unit, where to
start the action.
0x0
...
<end of flash device>
Note
: If not otherwise specified, the
default offset is
0x0
(start of the flash unit)
-s 0x3000
netX 90 | Production guide
DOC190101PG03EN | Revision 3 | English | 2019-07 | Released | Public
© Hilscher 2019