Search found 75 matches

by dmaxben
Mon Sep 21, 2020 2:41 pm
Forum: ESP32 IDF
Topic: Migrated to ESP-IDF, now CPU won't start
Replies: 2
Views: 79

Re: Migrated to ESP-IDF, now CPU won't start

Might be an incompatible bootloader. There are some arduino bootloaders that are incompatible with ESP-IDF.
by dmaxben
Fri Aug 28, 2020 12:53 pm
Forum: ESP32 IDF
Topic: Get SHA256 of SPIFFS partition?
Replies: 15
Views: 1899

Re: Get SHA256 of SPIFFS partition?

ESP_Angus wrote:
Tue Aug 04, 2020 12:55 am
Hi dmaxben,

At the moment we've only merged this to the master branch. Will see about backporting to v3.3, sorry I didn't get back to you about this earlier.

Angus
Any update on back-porting this fix to IDF-3.3?
by dmaxben
Mon Aug 17, 2020 3:50 pm
Forum: General Discussion
Topic: CAN OTA USED TOGETHER WITH ESPNOW
Replies: 1
Views: 150

Re: CAN OTA USED TOGETHER WITH ESPNOW

There is some bug/issue with using the CAN driver and OTA together...im not sure exactly what the fix was, something to do with running the CAN driver from IRAM.

edit: oh wait, did you mean "can OTA be used together" or CAN bus and OTA together...?
by dmaxben
Mon Aug 03, 2020 9:41 pm
Forum: ESP32 IDF
Topic: Get SHA256 of SPIFFS partition?
Replies: 15
Views: 1899

Re: Get SHA256 of SPIFFS partition?

ESP_Alvin wrote:
Mon Aug 03, 2020 9:47 am
Hi dmaxben,

Thanks for reporting, the fix on master is available on https://github.com/espressif/esp-idf/co ... 7f735b9fef

Alvin
Hi Alvin-

Thank you for looking into this.

Does this fix work on IDF-3.3?
by dmaxben
Fri Jul 10, 2020 3:34 pm
Forum: ESP32 IDF
Topic: CAN vs OTA: interrupt watchdog timeouts despite delay in OTA and IRAM_ATTR in CAN
Replies: 10
Views: 2973

Re: CAN vs OTA: interrupt watchdog timeouts despite delay in OTA and IRAM_ATTR in CAN

So far, this is working well with code in IRAM, with 300ms interrupt watchdog timeout it is not being triggered. The loss of IRAM was <2KB, whereas just moving mbed_tls buffers to IRAM recovered about 40KB. I have not yet reverted the OTA delay and tested with a large partition, will be interesting...
by dmaxben
Tue Jul 07, 2020 3:45 pm
Forum: ESP32 IDF
Topic: Get SHA256 of SPIFFS partition?
Replies: 15
Views: 1899

Re: Get SHA256 of SPIFFS partition?

Hi dmaxben, Yes, this will be it. There is a limit to the total amount of flash which can be mapped at one time in the address space. This is a bug, we'll fix it (the routine should map the region in chunks to handle this). Not certain if this fix will be backported to v3.3, though. Angus Ah ok. Is...
by dmaxben
Wed Jul 01, 2020 6:06 pm
Forum: ESP32 IDF
Topic: Get SHA256 of SPIFFS partition?
Replies: 15
Views: 1899

Re: Get SHA256 of SPIFFS partition?

Ok so after lots of experimentation....

It seems bootloader_mmap (and therefore SHA256 calculation) cant handle chunks >3862528 bytes.

I guess we're out of luck as far as calculating SHA256 hash of large partitions on a 16MB flash chip. :(
by dmaxben
Wed Jul 01, 2020 3:24 pm
Forum: ESP32 IDF
Topic: Get SHA256 of SPIFFS partition?
Replies: 15
Views: 1899

Re: Get SHA256 of SPIFFS partition?

Im wondering if Im running into problems simply due to the size of the partition?

Im using a 16MB flash chip, and the SPIFFS partition is 11.4MB.
by dmaxben
Wed Jul 01, 2020 2:42 pm
Forum: ESP32 IDF
Topic: Get SHA256 of SPIFFS partition?
Replies: 15
Views: 1899

Re: Get SHA256 of SPIFFS partition?

Im using this exact code: esp_vfs_spiffs_unregister(NULL); ESP_LOGI(TAG, "SPIFFS unmounted"); uint8_t hash[32] = {0}; const esp_partition_t *p = esp_partition_find_first(ESP_PARTITION_TYPE_DATA, ESP_PARTITION_SUBTYPE_DATA_SPIFFS, NULL); ESP_LOGI(TAG, "Found spiffs"); ESP_LOGI(TAG, "SPIFFS address: %...

Go to advanced search