Home
last modified time | relevance | path

Searched refs:wr_data (Results 1 – 7 of 7) sorted by relevance

/hal_espressif-3.4.0/components/espcoredump/src/
Dcore_dump_flash.c103 core_dump_write_data_t *wr_data = (core_dump_write_data_t *)priv; in esp_core_dump_flash_write_data() local
109 ESP_COREDUMP_ASSERT((wr_data->off + data_size) < s_core_flash_config.partition.size); in esp_core_dump_flash_write_data()
111 if (wr_data->cached_bytes) { in esp_core_dump_flash_write_data()
115 if ((COREDUMP_CACHE_SIZE - wr_data->cached_bytes) > data_size) in esp_core_dump_flash_write_data()
118 wr_sz = COREDUMP_CACHE_SIZE - wr_data->cached_bytes; in esp_core_dump_flash_write_data()
121 memcpy(&wr_data->cached_data[wr_data->cached_bytes], data, wr_sz); in esp_core_dump_flash_write_data()
122 wr_data->cached_bytes += wr_sz; in esp_core_dump_flash_write_data()
124 if (wr_data->cached_bytes == COREDUMP_CACHE_SIZE) { in esp_core_dump_flash_write_data()
126 … err = esp_core_dump_flash_custom_write(s_core_flash_config.partition.start + wr_data->off, in esp_core_dump_flash_write_data()
127 wr_data->cached_data, in esp_core_dump_flash_write_data()
[all …]
Dcore_dump_uart.c60 core_dump_write_data_t *wr_data = (core_dump_write_data_t *)priv; in esp_core_dump_uart_write_start() local
63 esp_core_dump_checksum_init(&wr_data->checksum_ctx); in esp_core_dump_uart_write_start()
80 core_dump_write_data_t *wr_data = (core_dump_write_data_t *)priv; in esp_core_dump_uart_write_end() local
81 if (wr_data) { in esp_core_dump_uart_write_end()
82 size_t cs_len = esp_core_dump_checksum_finish(wr_data->checksum_ctx, &cs_addr); in esp_core_dump_uart_write_end()
83 wr_data->off += cs_len; in esp_core_dump_uart_write_end()
102 core_dump_write_data_t *wr_data = (core_dump_write_data_t *)priv; in esp_core_dump_uart_write_data() local
117 if (wr_data) { in esp_core_dump_uart_write_data()
118 wr_data->off += data_len; in esp_core_dump_uart_write_data()
119 esp_core_dump_checksum_update(wr_data->checksum_ctx, data, data_len); in esp_core_dump_uart_write_data()
[all …]
/hal_espressif-3.4.0/components/esptool_py/esptool/espefuse/efuse/
Demulate_efuse_controller_base.py147 def update_block(self, blk, wr_data): argument
148 wr_data = self.read_block(blk.id) | wr_data
149 self.overwrite_mem_from_block(blk, wr_data)
151 def overwrite_mem_from_block(self, blk, wr_data): argument
153 (blk.rd_addr - self.REGS.DR_REG_EFUSE_BASE) * 8 + wr_data.len
155 self.mem.overwrite(wr_data)
157 def check_wr_protection_area(self, num_blk, wr_data): argument
161 mask_wr_data = BitStream(len(wr_data))
182 return wr_data & mask_wr_data
Dbase_fields.py242 wr_data = self.wr_bitarray
243 if wr_data.all(False):
248 if len(wr_data.bytes) != len(self.bitarray.bytes):
251 % (self.id, len(self.bitarray.bytes), len(wr_data.bytes))
263 if self.get_bitstring() == wr_data:
268 wr_data.set(0)
272 print("\t(to write):", wr_data)
273 mask = self.get_bitstring() & wr_data
274 if mask == wr_data:
279 wr_data.set(0)
[all …]
/hal_espressif-3.4.0/components/espcoredump/include_core_dump/
Dcore_dump_checksum.h69 void esp_core_dump_checksum_init(core_dump_checksum_ctx** wr_data);
79 void esp_core_dump_checksum_update(core_dump_checksum_ctx* wr_data, void* data, size_t data_len);
92 uint32_t esp_core_dump_checksum_finish(core_dump_checksum_ctx* wr_data, core_dump_checksum_bytes* c…
/hal_espressif-3.4.0/components/driver/test/
Dtest_uart.c331 uint8_t *wr_data = (uint8_t *)malloc(1024); variable
332 if(rd_data == NULL || wr_data == NULL) {
353 wr_data[i] = i;
356 uart_write_bytes(uart_num, (const char*)wr_data, 1024);
359 TEST_ASSERT_EQUAL_HEX8_ARRAY(wr_data, rd_data, 1024);
362 free(wr_data);
/hal_espressif-3.4.0/components/hal/include/hal/
Di2c_hal.h44 #define i2c_hal_write_txfifo(hal,wr_data,wr_size) i2c_ll_write_txfifo((hal)->dev,wr_data,wr_size) argument