End-of-line programming
65/70
Example of how to read from flash
If you want to read 4000 bytes from offset
0x2000
of
INTFLASH2
(internal
flash of the APP CPU) and store the output in the
output.bin
file, enter
the following command:
lua5.1.exe cli_flash.lua read -b 2 -u 2 -cs 0 -s 0x2000 -l 0xFA0
output.bin
Figure 20: Example of read command
Ø
Press
Enter
on your keyboard.
Ê
The flasher prompts you to select an interface.
Ø
Enter the number of the interface you want to use, then press
Enter
on
your keyboard.
Ê
The flasher reads the indicated flash area and writes the contents to the
specified output file on your PC/laptop. The end of the action is
indicated by the
4000 bytes written to file output.bin
message.
Example of how to erase an area
If you want to erase 8000 bytes of
INTFLASH1
(second internal flash of the
COM CPU), starting from offset
0x5F000
, enter the following command:
lua5.1.exe cli_flash.lua erase -b 2 -u 1 -cs 0 -s 0x5F000 -l 0x1F40
Figure 21: Example of erase command
netX 90 | Production guide
DOC190101PG03EN | Revision 3 | English | 2019-07 | Released | Public
© Hilscher 2019