Search found 18 matches

by jojojijijojo
Tue Jul 12, 2022 7:33 am
Forum: ESP-IDF
Topic: ESP32 wrover - Running 8mb firmware on 16mb
Replies: 3
Views: 2091

Re: ESP32 wrover - Running 8mb firmware on 16mb

Just a follow up on this. I had a flash program compiled with 16mb option checked, but also automatically detect flash size option. When I flashed into an 8mb wrover, it broke nvs and was unable to get wifi working. This was with a partition table that fits on 8mb. So apparently if esp flash size is...
by jojojijijojo
Mon Jul 04, 2022 5:27 am
Forum: General Discussion
Topic: Pre encrypted firmware over OTA
Replies: 5
Views: 4726

Re: Pre encrypted firmware over OTA

Thanks, I already went through the new pre_encrypted_ota, but I cannot tell if it works with flash encryption. The way I understand is that pre_encrypted_ota is used to encrypt OTA binaries during transport, and then they are decrypted on device as plaintext, which is the opposite of flash encryptio...
by jojojijijojo
Mon Jul 04, 2022 4:50 am
Forum: General Discussion
Topic: Pre encrypted firmware over OTA
Replies: 5
Views: 4726

Re: Pre encrypted firmware over OTA

Thank you @ESP_Sprite for your reply.

If I understand correctly, if flash encryption is enabled on an ESP32 device, does it expect all future OTA binary files to be in plain text or to be pre-encrypted? And how does it differentiate between the two cases?
by jojojijijojo
Sun Jul 03, 2022 1:39 pm
Forum: General Discussion
Topic: Pre encrypted firmware over OTA
Replies: 5
Views: 4726

Pre encrypted firmware over OTA

Hi,

Assuming that you have to publish the binary files publicly online, Is it possible to use Pre encrypt the binary file using a pre generated key and use that to update a flash encryption enabled ESP32 using OTA?
by jojojijijojo
Fri Jun 03, 2022 3:09 pm
Forum: General Discussion
Topic: OTA update using encrypted binary over HTTPS
Replies: 4
Views: 8808

Re: OTA update using encrypted binary over HTTPS

If flash key is generated on host, then burned to ESP, do we have to encrypt flash binary file before deploying it for OTA updates or do we deploy plain text flash binary? In other words, every time we release an update over the air, do we encrypt the binary file before sending it to remote ESPs or ...
by jojojijijojo
Mon May 09, 2022 8:15 am
Forum: ESP-IDF
Topic: espcoredump.py
Replies: 3
Views: 2618

Re: espcoredump.py

Thank you @ESP-Roland, that did the trick.
by jojojijijojo
Sun May 08, 2022 3:36 pm
Forum: ESP-IDF
Topic: espcoredump.py
Replies: 3
Views: 2618

Re: espcoredump.py

Alright, I somehow got this fixed by resetting the env variable of esp idf, now im getting another issue: ==================== ESP32 CORE DUMP START ==================== Traceback (most recent call last): File "/Users/user/esp/esp-idf/components/espcoredump/espcoredump.py", line 295, in <module> inf...
by jojojijijojo
Sun May 08, 2022 2:10 pm
Forum: ESP-IDF
Topic: espcoredump.py
Replies: 3
Views: 2618

espcoredump.py

Hi, Im trying to use espcoredump.py under macOS to read an exported dump file, the command I use on terminal is: python3 /Users/user/esp/esp-idf/components/espcoredump/espcoredump.py info_corefile --core CoreDump-coredump.bin --core-format raw project.elf However Im greeted with the following error ...
by jojojijijojo
Mon Feb 28, 2022 7:55 am
Forum: ESP-IDF
Topic: ESP32 wrover - Running 8mb firmware on 16mb
Replies: 3
Views: 2091

Re: ESP32 wrover - Running 8mb firmware on 16mb

Ok great thanks, because I might have different batches with different flash sizes, and just want to make sure that they would all receive OTA and update just fine.
by jojojijijojo
Sun Feb 27, 2022 6:01 am
Forum: ESP-IDF
Topic: ESP32 wrover - Running 8mb firmware on 16mb
Replies: 3
Views: 2091

ESP32 wrover - Running 8mb firmware on 16mb

Hi,
Quick question, if I develop an application that runs on wrover 8mb version with appropriate partition table to fit 2 OTA (2mb each) and a factory of 2mb, would it still run if I flashed into a 16mb version wrover without any modifications?