Search found 5 matches
- Wed Jan 24, 2024 8:20 am
- Forum: ESP-IDF
- Topic: NVS not saving arrays inside blob correctly
- Replies: 4
- Views: 5879
Re: NVS not saving arrays inside blob correctly
Hi! I have same issue with store array of struct to NVS. I'm have struct with embedded other struct: // Struct for store webhook notification typedef struct { bool enable; char url[128]; char username[20]; char password[20]; } webhook_notification_s; // Struct for store gpio events action typedef st...
- Mon Nov 06, 2023 3:04 pm
- Forum: ESP-IDF
- Topic: Over-the-air update: Panic happens when esp_ota_end() is called
- Replies: 12
- Views: 5146
Re: Over-the-air update: Panic happens when esp_ota_end() is called
@henrysshunt, thank you very much! I fixed issue with the same way as you said. I reviewed and refactored each line of code and find issue with my global vars. I have gpio_fn.h where declared prototypes of global vars: extern QueueHandle_t gpio_event_queue; extern QueueHandle_t gpio_mqtt_event_queue...
- Sun Oct 22, 2023 11:38 am
- Forum: ESP-IDF
- Topic: Over-the-air update: Panic happens when esp_ota_end() is called
- Replies: 12
- Views: 5146
Re: Over-the-air update: Panic happens when esp_ota_end() is called
@henrysshunt, You are right. Main cause in firmware or sizing of partition. I tried use simple_ota_example and OTA work fine. The example sizing partitions automatically: # ESP-IDF Partition Table # Name, Type, SubType, Offset, Size, Flags nvs,data,nvs,0x9000,16K, otadata,data,ota,0xd000,8K, phy_ini...
- Mon Oct 16, 2023 7:23 am
- Forum: ESP-IDF
- Topic: Over-the-air update: Panic happens when esp_ota_end() is called
- Replies: 12
- Views: 5146
Re: Over-the-air update: Panic happens when esp_ota_end() is called
I encountered with this issue too (ESP IDF v5.1-dirty, ESP32-S3-WROOM-1 N4R8). I have http handler for OTA update (simple rest server). Write operation works successfully. But when calls esp_ota_end app panic by WDT. I goto esp_ota_end and added debug prints. I detected that app panic at: # in esp_o...
- Thu Aug 24, 2023 6:33 am
- Forum: Hardware
- Topic: ESP32 GPIO pin options for USR-ES1
- Replies: 3
- Views: 3127
Re: ESP32 GPIO pin options for USR-ES1
Hi All! I have ESP32-S3-WROOM-1 (ESP32N4R8) and try connect to the USR-ES1 ethernet module. I use pins: [ESP32-S3] --- [USR-ES1] IO3 <--> MOSI IO4 <--> SCLK IO5 <--> SCSn IO6 <--> INTn IO7 <--> MISO IO8 <--> RESETn 3V <--> 3V GND <--> GND Are these pins compatible for connection with the module? Doe...