Lines Matching refs:to

6 Write Binary Data to Flash: write_flash
9 Binary data can be written to the ESP's flash chip via the serial ``write_flash`` command:
21 …--chip`` argument is optional when writing to flash, esptool will detect the type of chip when it …
27 …The next arguments to ``write_flash`` are one or more pairs of offset (address) and file name. Whe…
28 …For other types of images, consult your SDK documentation to determine the files to flash at which…
32 …arguments to ``write_flash`` are one or more pairs of offset (address) and file name. Consult your…
34 Numeric values passed to write_flash (and other commands) can be specified either in hex (ie 0x1000…
36 …leshooting` section if the ``write_flash`` command is failing, or the flashed module fails to boot.
41 You may also need to specify arguments for :ref:`flash mode and flash size <flash-modes>`, if you w…
47 Since esptool v2.0, these options are not often needed as the default is to keep the flash mode and…
57 …memory sectors (the smallest erasable unit) affected by the operation have to be erased first. As …
60 Use the ``-e/--erase-all`` option to erase all flash sectors (not just the write areas) before prog…
68 …This is a safety measure to prevent accidentally overwriting the secure bootloader, which **can ul…
87 …s a safety measure to prevent accidentally overwriting the encrypted firmware with a plaintext bin…
89 …e this option provided that the flash encryption key is generated external to the device and you c…
95 …If the image turns out to be incompatible with the chip in use or requires a newer chip revision, …
102 …tents of flash. The arguments to the command are an address, a size, and a filename to dump the ou…
109 It is also possible to autodetect flash size by using ``ALL`` as size. The above example with autod…
118 … with the ``--no-stub`` argument, it may be necessary to also set the ``--flash_size`` argument to
151 …his is a safety measure to prevent accidentally deleting the secure bootloader or encrypted data, …
179 Refer to `flashrom source code <https://github.com/flashrom/flashrom/blob/master/include/flashchips…
183 Convert ELF to Binary: elf2image
194 …des>`__ arguments ``--flash_freq`` and ``--flash_mode``, which can be used to set the default valu…
195to-flash-write-flash>`__ for details. Overwriting these values via the ``write_flash`` command wil…
197 By default, ``elf2image`` uses the sections in the ELF file to generate each segment in the binary …
220 …This option makes only the RAM segments visible to the ROM bootloader placing them at the beginnin…
221 …It is strongly recommended to use this configuration with care, because the image built must then …
232 This information corresponds to the headers described in :ref:`image-format`.
248 …multiple binary files (of any kind) into a single file that can be flashed to a device later. Any …
256 …n`` with the contents of the other 3 files. This file can be later written to flash with ``esptool…
261 …--flash_size`` and ``--flash_freq`` options as the ``write_flash`` command to override the bootloa…
262 …These options are applied to the output file contents in the same way as when writing to flash. Ma…
264 … either ``bin`` or ``hex`` format and they will be automatically converted to type selected by ``-…
265 * It is possible to append options from a text file with ``@filename`` (see the advanced options p…
278 Intel Hex format offers distinct advantages when compared to the binary format, primarily in the fo…
281to specific memory addresses eliminating the need for unnecessary padding. Binary images often lac…
282 * **Validity Checks**: Each line in an Intel Hex file has a checksum to help find errors and make s…
290 …Please note that during the conversion to the `Intel Hex` format, the binary input file is treated…
292 …It is recommended to merge multiple files instead of converting one already merged to get smaller …
306 * The ``--fill-flash-size SIZE`` option will pad the merged binary with `0xFF` bytes to the full f…
314to a USB mass storage device exposed by another ESP running the `ESP USB Bridge <https://github.co…
331 The following commands are less commonly used, or only of interest to advanced users. They are docu…