Home
last modified time | relevance | path

Searched refs:bytes (Results 1 – 25 of 85) sorted by relevance

1234

/hal_espressif-latest/tools/esptool_py/docs/en/esptool/
Dadvanced-commands.rst68 The ``read_mem`` & ``write_mem`` commands allow reading and writing single words (4 bytes) of RAM. …
87 esptool.py read_flash_status --bytes 2
89 The ``--bytes`` argument determines how many status register bytes are read.
91 * ``--bytes 1`` sends the most common ``RDSR`` command (05h) and returns a single byte of status.
92 * ``--bytes 2`` sends both ``RDSR`` (05h) and ``RDSR2`` (35h), reads one byte of status from each, …
93 * ``--bytes 3`` sends ``RDSR`` (05h), ``RDSR2`` (35h), and ``RDSR3`` (15h), reads one byte of statu…
108 esptool.py write_flash_status --bytes 2 --non-volatile 0
110bytes`` option is similar to the corresponding option for ``read_flash_status`` and causes a mix o…
133 This will read 4 bytes from SFDP address 16.
144 …get_chip_id()`` SDK function. The chip ID is four bytes long, the lower three bytes are the final
Dflashing-firmware.rst94 Compressed 25536 bytes to 15935...
95 Wrote 25536 bytes (15935 compressed) at 0x00001000 in 0.7 seconds (effective 275.5 kbit/s)...
97 Compressed 3072 bytes to 103...
98 Wrote 3072 bytes (103 compressed) at 0x00008000 in 0.1 seconds (effective 334.1 kbit/s)...
100 Compressed 169232 bytes to 89490...
101 Wrote 169232 bytes (89490 compressed) at 0x00010000 in 2.6 seconds (effective 513.0 kbit/s)...
/hal_espressif-latest/components/esp_psram/include/esp_private/
Dmmu_psram_flash.h35 #define BYTES_TO_MMU_PAGE(bytes) ((bytes) / MMU_PAGE_SIZE)
/hal_espressif-latest/tools/esptool_py/docs/en/advanced-topics/
Dserial-protocol.rst51 | 2-3 | Size | Length of Data field, in bytes. …
55 | 8..n | Data | Variable length data payload (0-65535 bytes, as indicated by Size paramete…
74 … | Size of data field. At least the length of the `Status Bytes`_ (2 or 4 bytes, see below). …
81 Status bytes
84 The final bytes of the Data payload indicate command status:
88 …For stub loader and ESP8266 ROM loader the final two bytes indicate status (most commands return a…
92 …For stub loader the final two bytes indicate status (most commands return at least a two byte Data…
104 …_NAME} ROM (only, not the stub loader) the final four bytes are used, but only the first two bytes
148 - The status response is always 2 bytes regardless of chip type.
176 …NC | `Sync Frame <#initial-synchronisation>`__ | 36 bytes: ``0x07 0x07 0x12 …
[all …]
Dfirmware-image-format.rst30 The image header is 8 bytes long:
113 …e 2nd and 3rd (counted from 0) bytes according to the SPI flash info provided through the command …
141 …| 11-14 | Reserved bytes in additional header space, currently unused …
162bytes. A last byte (thus making the file size a multiple of 16) is the checksum of the data of all…
/hal_espressif-latest/tools/esptool_py/esptool/
Duf2_writer.py52 def _to_uint32(num: int) -> bytes:
56 self, addr: int, chunk: bytes, len_chunk: int, block_no: int, blocks: int argument
85 def add_file(self, addr: int, image: bytes) -> None: argument
Dcmds.py314 image = bytes(
1201 sfdp = esp.read_spiflash_sfdp(args.addr, args.bytes * 8)
1203 for i in range(args.bytes):
1278 print("Status value: 0x%04x" % esp.read_status(args.bytes))
1282 fmt = "0x%%0%dx" % (args.bytes * 2)
1283 args.value = args.value & ((1 << (args.bytes * 8)) - 1)
1284 print(("Initial flash status: " + fmt) % esp.read_status(args.bytes))
1286 esp.write_status(args.value, args.bytes, args.non_volatile)
1287 print(("After flash status: " + fmt) % esp.read_status(args.bytes))
/hal_espressif-latest/components/bt/host/bluedroid/device/
Dbdaddr.c121 const char *bytes = (const char *)key; in hash_function_bdaddr() local
123 hash = ((hash << 5) + hash) + bytes[i]; in hash_function_bdaddr()
/hal_espressif-latest/tools/idf_monitor/idf_monitor_base/
Dansi_color_converter.py90 if isinstance(data, bytes):
95 b = bytes([b])
/hal_espressif-latest/tools/esptool_py/espefuse/efuse/
Dbase_fields.py206 return self.bitarray.bytes
208 return self.wr_bitarray.bytes
223 return BitArray(bytes=new_data, length=len(new_data) * 8)
263 if len(wr_data.bytes) != len(self.bitarray.bytes):
266 % (self.id, len(self.bitarray.bytes), len(wr_data.bytes))
352 data = BitStream(bytes=new_data[::-1], length=len(new_data) * 8)
716 return BitArray(bytes=new_value[::-1], length=len(new_value) * 8)
817 return util.hexify(self.get_bitstring(from_read).bytes[::-1], " ")
/hal_espressif-latest/components/spi_flash/include/
Desp_spi_flash_counters.h26 uint32_t bytes; // total number of bytes member
/hal_espressif-latest/components/esp_rom/patches/
Desp_rom_tlsf.c151 tlsf_t (*tlsf_create_with_pool)(void* mem, size_t bytes);
153 pool_t (*tlsf_add_pool)(tlsf_t tlsf, void* mem, size_t bytes);
/hal_espressif-latest/components/bootloader/subproject/main/ld/esp32s2/
Dbootloader.ld171 /** CPU will try to prefetch up to 16 bytes of
173 * safe access to up to 16 bytes after the last real instruction, add
174 * dummy bytes to ensure this
186 * Padding these instructions will generate null bytes that shall be
/hal_espressif-latest/components/hal/
Dmmu_hal.c55 uint32_t mmu_hal_bytes_to_pages(uint32_t mmu_id, uint32_t bytes) in mmu_hal_bytes_to_pages() argument
72 return bytes >> shift_code; in mmu_hal_bytes_to_pages()
/hal_espressif-latest/components/hal/include/hal/
Dmmu_hal.h50 uint32_t mmu_hal_bytes_to_pages(uint32_t mmu_id, uint32_t bytes);
/hal_espressif-latest/tools/idf_monitor/
Didf_monitor.py31 from builtins import bytes
177 def check_gdb_stub_and_run(self, line: bytes) -> None: argument
245 …def check_gdb_stub_and_run(self, line: bytes) -> None: # type: ignore # The base class one is a N… argument
270 def check_gdb_stub_and_run(self, line: bytes) -> None: argument
/hal_espressif-latest/components/bootloader/subproject/main/ld/esp32/
Dbootloader.ld182 /** CPU will try to prefetch up to 16 bytes of
184 * safe access to up to 16 bytes after the last real instruction, add
185 * dummy bytes to ensure this
197 * Padding these instructions will generate null bytes that shall be
/hal_espressif-latest/tools/esptool_py/docs/en/espefuse/
Dburn-block-data-cmd.rst29 …[03] BLOCK3 size=32 bytes, offset=06 - > [00 00 00 00 00 00 00 01 02 03 04 05 06 07 …
45 …k in normal byte order (treating the eFuse block as if it was an array of bytes). It can be read b…
/hal_espressif-latest/components/hal/esp32s2/include/hal/
Dtwai_ll.h82 uint8_t bytes[13]; member
576 hw->tx_rx_buffer[i].val = tx_frame->bytes[i]; in twai_ll_set_tx_buffer()
593 rx_frame->bytes[i] = HAL_FORCE_READ_U32_REG_FIELD(hw->tx_rx_buffer[i], byte); in twai_ll_get_rx_buffer()
/hal_espressif-latest/components/hal/esp32s3/include/hal/
Dtwai_ll.h82 uint8_t bytes[13]; member
576 hw->tx_rx_buffer[i].val = tx_frame->bytes[i]; in twai_ll_set_tx_buffer()
593 rx_frame->bytes[i] = HAL_FORCE_READ_U32_REG_FIELD(hw->tx_rx_buffer[i], byte); in twai_ll_get_rx_buffer()
/hal_espressif-latest/components/hal/esp32c3/include/hal/
Dtwai_ll.h82 uint8_t bytes[13]; member
576 hw->tx_rx_buffer[i].val = tx_frame->bytes[i]; in twai_ll_set_tx_buffer()
593 rx_frame->bytes[i] = HAL_FORCE_READ_U32_REG_FIELD(hw->tx_rx_buffer[i], byte); in twai_ll_get_rx_buffer()
/hal_espressif-latest/components/hal/esp32h2/include/hal/
Dtwai_ll.h84 uint8_t bytes[13]; member
583 hw->tx_rx_buffer[i].val = tx_frame->bytes[i]; in twai_ll_set_tx_buffer()
600 rx_frame->bytes[i] = HAL_FORCE_READ_U32_REG_FIELD(hw->tx_rx_buffer[i], byte); in twai_ll_get_rx_buffer()
/hal_espressif-latest/components/wpa_supplicant/src/tls/
Dasn1.c559 u8 bytes[8]; in asn1_put_oid() local
563 bytes[idx] = (idx ? 0x80 : 0x00) | (val & 0x7f); in asn1_put_oid()
568 bytes[idx] = 0; in asn1_put_oid()
573 wpabuf_put_u8(buf, bytes[idx]); in asn1_put_oid()
/hal_espressif-latest/components/bootloader/subproject/main/ld/esp32s3/
Dbootloader.ld205 /** CPU will try to prefetch up to 16 bytes of
207 * safe access to up to 16 bytes after the last real instruction, add
208 * dummy bytes to ensure this
220 * Padding these instructions will generate null bytes that shall be
/hal_espressif-latest/components/hal/esp32c6/include/hal/
Dtwai_ll.h82 uint8_t bytes[13]; member
597 hw->tx_rx_buffer[i].val = tx_frame->bytes[i]; in twai_ll_set_tx_buffer()
614 rx_frame->bytes[i] = HAL_FORCE_READ_U32_REG_FIELD(hw->tx_rx_buffer[i], byte); in twai_ll_get_rx_buffer()

1234