softypit / esp32_mqtt_eq3

esp32-based mqtt node to control EQ-3 BLE TRVs
144 stars 46 forks source link

Flash address for OTA #30

Open MeisterQ opened 5 years ago

MeisterQ commented 5 years ago

Hello,

whats the address for the OTA upload? I cant do it working.

For control im using 0x10000 for bootloader 0x1000 and for partitions 0x8000

but for the OTA file?

softypit commented 5 years ago

Hi, If you check out partitions.csv that should explain the layout.

MeisterQ commented 4 years ago

So, its 0x2000 ?

softypit commented 4 years ago

I'm not sure I understand what you mean. The ota is applied via the web server interface and the image position alternates between ota_0 and ota_1. What are you using the addresses for?

MeisterQ commented 4 years ago

I figured out the address.

What i meant was the SPI-Address.

For eq3_trv_control.bin it was 0x10000, for bootloader.bin it was 0x1000, for partitions.bin 0x8000 and the 0x for ota_data_initial.bin was written nowhere.

But in the partitions.csv there was written 0xd000. And this worked. Thank you.

Btw: Is there any update planned?