Search found 6 matches

by tienpm
Fri Nov 11, 2022 1:31 pm
Forum: ESP-IDF
Topic: ESP32 update firmware from file .bin in SPIFFS
Replies: 0
Views: 568

ESP32 update firmware from file .bin in SPIFFS

Hi everyone,
Is it possible to ESP32 can update firmware from file .bin which stored in SPIFFS ? If you have any examples, please share it with me.
I'm really grateful to you.
by tienpm
Wed Sep 21, 2022 1:52 pm
Forum: ESP-IDF
Topic: light_sleep transfer deep_sleep when do a long pressed button
Replies: 0
Views: 870

light_sleep transfer deep_sleep when do a long pressed button

Hi,
I want to my ESP32 when it is sleep (in mode light_sleep) and I will do a long pressed button ( maybe 5 seconds ) and want esp32 can transfer to deep_sleep().
Is it possible to do it ? Thanks a lot for helping me.
by tienpm
Tue Jun 07, 2022 7:49 am
Forum: ESP-IDF
Topic: Edit content in file . bin SPIFFS
Replies: 0
Views: 857

Edit content in file . bin SPIFFS

I have a .bin . The content suppose is [0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x08 0x09 0x0A,.....].
How can I use fwrite into this .bin file to make the content of this file is [0x00 0x01 0x02 0x03 0x0F 0x0F 0x0F 0x0F 0x08 0x09 0x0A,.....].
Tks a lot.
by tienpm
Mon May 30, 2022 4:22 am
Forum: Sample Code
Topic: ESP32 Master update firmware to ESP32 Slave by using .bin file in SPIFFS
Replies: 3
Views: 3725

Re: ESP32 Master update firmware to ESP32 Slave by using .bin file in SPIFFS

https://github.com/espressif/esp-serial-flasher/ Hi sir, I have tested with 2 esp32 nodemcu , and use newest commit. But when I open idf.py monitor to ESP32 Slave ( It have updated "hello-world.bin" by ESP32 Master. But it not reset. I have test with another file "count.bin". ESP32 Slave updated su...
by tienpm
Sat May 28, 2022 9:00 am
Forum: Sample Code
Topic: ESP32 Master update firmware to ESP32 Slave by using .bin file in SPIFFS
Replies: 3
Views: 3725

ESP32 Master update firmware to ESP32 Slave by using .bin file in SPIFFS

Hi everyone, I have 2 ESP32 , ESP32 1 is master and ESP32 2 is slave. I want to let the ESP32 master use .bin file in SPIFFS to update firmware for the ESP32 slave (may be via serial). If anyone has sample code for this, please let me know. Thank you very much.