![Ronetix PEEDI Скачать руководство пользователя страница 135](http://html1.mh-extra.com/html/ronetix/peedi/peedi_user-manual_1485040135.webp)
Using PEEDI
flash program
Syntax:
flash program [FILE [FORMAT [OFFSET] [erase]]]
Description:
Program image file into target FLASH. If no arguments are provided last used will be
taken. Default first used arguments are taken from FILE parameter of the currently
selected FLASH section in target configuration file.
Argument:
FILE
- the image file to be programmed
FORMAT
- format of image file:
• bin - binary file
• ihex - Intel HEX format
• srec - Motorola S-record format
• elf - ELF format
OFFSET
- Must be provided for binary files because they don’t have
any address information. If provided with ihex, srec or elf
formats, all the code will be shifted regarding the specified
offset
erase
- if this argument is provided, all affected FLASH sectors will
be pre-erased upon programming
Example:
flash program tftp://192.168.1.1/image.elf elf erase
flash program tftp://192.168.1.1/image.elf elf 0x1000
flash program tftp://192.168.1.1/image.bin bin 0x1000
flash multi erase
Syntax:
PEEDI User’s Manual
135