You can duplicate the OTA procedure and switch to use esp_partition_write_raw to write the encrypted data.
Search found 52 matches
- Tue Jul 23, 2024 3:48 pm
- Forum: ESP-IDF
- Topic: Is OTA Update of encrypted application possible?
- Replies: 8
- Views: 51490
Re: Is OTA Update of encrypted application possible?
- Wed Jun 05, 2024 1:49 am
- Forum: ESP-IDF
- Topic: Spurious ( False Positive ) factory / test boot condition detection
- Replies: 7
- Views: 1762
Re: Spurious ( False Positive ) factory / test boot condition detection
Instead of input mode with pull up, just before reset, I set it to output mode and set 0 to high. That seems to solve the false detection.
- Wed Jun 05, 2024 1:35 am
- Forum: ESP-IDF
- Topic: Spurious ( False Positive ) factory / test boot condition detection
- Replies: 7
- Views: 1762
Re: Spurious ( False Positive ) factory / test boot condition detection
Well, I switched back to factory detection, since the app wouldn't programmatically switch to the test partition for booting. Now I am getting false positive on factory condition detected. I also noticed it happens consistently when doing a reboot from within app, which is calling "ESP.restart()". I...
- Tue Jun 04, 2024 10:52 pm
- Forum: ESP-IDF
- Topic: Spurious ( False Positive ) factory / test boot condition detection
- Replies: 7
- Views: 1762
Re: Spurious ( False Positive ) factory / test boot condition detection
Since I changed to the boot to trigger the test app partition, I changed the corresponding code in my app to allow the user to manually change to this as the boot partition. The operation reports success, but on reboot, it continues to boot my app0 partition. So after a successful change, I tried to...
- Tue Jun 04, 2024 6:06 pm
- Forum: ESP-IDF
- Topic: Spurious ( False Positive ) factory / test boot condition detection
- Replies: 7
- Views: 1762
Re: Spurious ( False Positive ) factory / test boot condition detection
Enabled the pull up, and it seems to have helped. Recent crashes did not affect the boot process.
- Fri May 31, 2024 6:35 am
- Forum: ESP-IDF
- Topic: Spurious ( False Positive ) factory / test boot condition detection
- Replies: 7
- Views: 1762
Re: Spurious ( False Positive ) factory / test boot condition detection
The two boards are not the same. On the custom board with ESP-WROOM-32E, IO0 is only exposed to serial header as DTR for programming. I do have that hooked up via Serial2USB module during development for these runs. On the board with the NodeMCU Devkit with 32E, IO0 goes to level shifter input so it...
- Thu May 30, 2024 6:36 pm
- Forum: ESP-IDF
- Topic: Spurious ( False Positive ) factory / test boot condition detection
- Replies: 7
- Views: 1762
Spurious ( False Positive ) factory / test boot condition detection
In case of application problems, I want the user to be able to boot to a factory application, where application firmware can be updated. I thought I may as well re-use the button already on IO0, but have been getting spurious detection. I first tried the factory configuration, and now switched to th...
- Mon Apr 08, 2024 5:41 pm
- Forum: ESP-IDF
- Topic: SPI DMA crashes when using WiFi
- Replies: 6
- Views: 3048
Re: SPI DMA crashes when using WiFi
having flash as a source is an uncommon enough scenario Huh? Where else would a pixmap image come from? It would always originate in flash. Yeah, I was surprised to see how the lower level SPI routines are implemented when I investigated further. It seems naive to me, but I guess it's up to the end...
- Thu Mar 28, 2024 7:48 pm
- Forum: ESP-IDF
- Topic: SPI DMA crashes when using WiFi
- Replies: 6
- Views: 3048
Re: SPI DMA crashes when using WiFi
It looks like setup_priv_desc will malloc dma'able memory, because my image comes from FLASH. That appears to be where the likely failure occurs. I decided to do a test, and I set up a single frame buffer in dma'able memory and copied from my image in FLASH to my own buffer, and then called pushImag...
- Thu Mar 28, 2024 5:49 pm
- Forum: ESP-IDF
- Topic: SPI DMA crashes when using WiFi
- Replies: 6
- Views: 3048
Re: SPI DMA crashes when using WiFi
I output the minimum and current heap size available before each invocation, and there is 60K free. I thought it might be 8-bit accessible related, but checked heap_caps_get_free_size(MALLOC_CAP_8BIT) and it is also 60K. Is the SPI API doing something unusual with memory usage that causes this? It s...