Search found 7 matches

by erikha
Mon Oct 24, 2022 2:18 pm
Forum: ESP-IDF
Topic: I2C Slave address masking
Replies: 3
Views: 4075

Re: I2C Slave address masking

Hello,

I want to use the two i2c peripherals on the same set of pins, but that doesn't seems to work. Is there any other way to 'listen' to two slave addresses on one set of pins?

Thank you in advance.
by erikha
Fri Feb 25, 2022 6:11 pm
Forum: ESP-IDF
Topic: Partition table update on secure device
Replies: 10
Views: 7224

Re: Partition table update on secure device

And another question: is it possible to save the device that suffers the bootloop? or is it bricked?
by erikha
Fri Feb 25, 2022 6:08 pm
Forum: ESP-IDF
Topic: Partition table update on secure device
Replies: 10
Views: 7224

Re: Partition table update on secure device

Okay, thank you!

Is it also possible to use the esp_write_partition() function? If I understand the docs correctly, this function allows to write to both encrypted and unencrypted partitions.
by erikha
Fri Feb 25, 2022 12:59 pm
Forum: ESP-IDF
Topic: Partition table update on secure device
Replies: 10
Views: 7224

Re: Partition table update on secure device

The binairy of the partion table is embedded in the application binairy that's doing the partion table update. The code: extern const unsigned char partition_table_bin_start[] asm("_binary_partition_table_bin_start"); extern const unsigned char partition_table_bin_end[] asm("_binary_partition_table_...
by erikha
Thu Feb 24, 2022 4:07 pm
Forum: ESP-IDF
Topic: Partition table update on secure device
Replies: 10
Views: 7224

Re: Partition table update on secure device

Okay, good to know the digest is fine. Yes, I have flash encryption enabled. I don't write a new bootloader. The process: - Flash device with secure bootloader A, partion table A and application A - Boot device for first time and flash gets encrypted - Device shipped to customer - I want to update p...
by erikha
Wed Feb 23, 2022 4:22 pm
Forum: ESP-IDF
Topic: Partition table update on secure device
Replies: 10
Views: 7224

Re: Partition table update on secure device

The bootloader is flashed with start address 0x1000 and the partition table at 0x10000 on both devices. The boot log: rst:0x3 (SW_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:2 load:0x3fff0...
by erikha
Wed Feb 23, 2022 10:23 am
Forum: ESP-IDF
Topic: Partition table update on secure device
Replies: 10
Views: 7224

Partition table update on secure device

Hello, I have a problem with updating the partition table over-the-air. Information: ESP32-WROOM-32E Using esp-idf v4.2 Secure boot v1 enabled, one-time flashable Encrypted some partitions in NVS When I update the partition table of a non-secure device over-the-air it works like a charm, but when pe...