Search found 2344 matches

by ESP_Angus
Wed May 26, 2021 2:06 am
Forum: ESP-IDF
Topic: Interrupt WDT when call heap_caps_dump(MALLOC_CAP_8BIT)
Replies: 3
Views: 2941

Re: Interrupt WDT when call heap_caps_dump(MALLOC_CAP_8BIT)

Hi Nathan, Heap code is executed in a critical section (interrupts off), and dumping the heap is slow (a lot of memory access but more importantly a lot of serial output which is usually a bottleneck). So the INT WDT is triggering for a valid reason (interrupts off for an extended) but there is no e...
by ESP_Angus
Thu May 20, 2021 8:11 am
Forum: General Discussion
Topic: FragAttacks
Replies: 3
Views: 3307

Re: FragAttacks

Hi Brenard, There is an Advisories section on our website here: https://www.espressif.com/en/support/documents/advisories . We will post an advisory there once we've finished analysis and patching and also update here. The vulnerability pertains to design flaw in the specification and therefore ubiq...
by ESP_Angus
Thu May 20, 2021 8:06 am
Forum: General Discussion
Topic: secure boot check fail" in ESP32 when using Secure Boot and Flash Encryption
Replies: 6
Views: 5378

Re: secure boot check fail" in ESP32 when using Secure Boot and Flash Encryption

Hi Raghav, Glad you got everything working. Thanks, @ ESP_Angus for your reply. I tried to flash bootloader-digest.bin at 0x00 and it worked. I have some doubt which I want to clear for flash encryption and flash boot. 1. Now I encrypted the bootloader-digest.bin and flashed at 0x00 and it worked. S...
by ESP_Angus
Tue May 18, 2021 12:16 am
Forum: ESP-IDF
Topic: Why C++ code runs slowly?
Replies: 1
Views: 2408

Re: Why C++ code runs slowly?

Hi nvbty, The ESP32-S2 doesn't have a hardware floating point unit, so all floating point calculations have to be emulated in software. Unfortunately, this is pretty slow. If you can find a way to use integer or fixed-point math (I believe there are some good C++ fixed point arithmetic libraries out...
by ESP_Angus
Tue May 18, 2021 12:11 am
Forum: ESP-IDF
Topic: Embed binary file in a way that is not loaded into memory
Replies: 4
Views: 3452

Re: Embed binary file in a way that is not loaded into memory

Files included this way are available in the address space, but they don't use any RAM - they're mapped in DROM.
by ESP_Angus
Tue May 18, 2021 12:08 am
Forum: ESP-IDF
Topic: esp-idf linker script question
Replies: 2
Views: 3039

Re: esp-idf linker script question

Hello, I'm trying to keep an unreferenced function in the memory and later call it from another file. My files are like this: main/linker.lf: [sections:fnreg] entries: fnreg [scheme:fnreg] entries: fnreg -> dram0_data [mapping:map] archive: libmain.a entries: fn1 (fnreg); fnreg -> dram0_data KEEP()...
by ESP_Angus
Tue May 18, 2021 12:01 am
Forum: General Discussion
Topic: ESP32-S3 (Beta2) MARLIN_9_1B on ESP32-S3-Addax-1 V1.0 Specs & Datasheet
Replies: 72
Views: 157973

Re: ESP32-S3 (Beta2) MARLIN_9_1B on ESP32-S3-Addax-1 V1.0 Specs & Datasheet

Baldhead wrote:
Mon May 17, 2021 8:45 pm
What is the forecast for launching modules with esp32-s3 ?
Hi Baldhead,

Do you have a contact with Espressif Sales? If not then please get in touch and let them know you're looking to evaluate ESP32-S3 and the module specifications (flash size, psram, etc) that you need for your application.
by ESP_Angus
Fri May 14, 2021 12:18 am
Forum: ESP-IDF
Topic: I want to compile 1 project for 2 different partition configurations
Replies: 4
Views: 3513

Re: I want to compile 1 project for 2 different partition configurations

Hi Simon, If I understand correctly, a possible option would be to keep two partition csv files in the same project directory. You can switch between them by changing the file name in the sdkconfig file. However, because (as WiFive has pointed out) the partition data isn't compiled into the app but ...
by ESP_Angus
Fri May 14, 2021 12:05 am
Forum: General Discussion
Topic: Custom flash memory: "Could not auto-detect Flash size" when flashing
Replies: 5
Views: 8565

Re: Custom flash memory: "Could not auto-detect Flash size" when flashing

That's right, it should definitely work fine if you use the SPI driver to send commands to it manually for read/write/erase/etc. It may also be possible to use the "secondary SPI flash" support in the spi_flash driver to talk to it via SPI flash APIs. However as it seems like there is something diff...
by ESP_Angus
Wed May 12, 2021 4:09 am
Forum: General Discussion
Topic: Custom flash memory: "Could not auto-detect Flash size" when flashing
Replies: 5
Views: 8565

Re: Custom flash memory: "Could not auto-detect Flash size" when flashing

Hi Ghozali, According to the datasheet for the AT45DB641E flash chip (Table 12-1) this is the correct JEDEC ID returned by this flash chip. There's no rule that says the ID has to encode the flash size, it's just that all of the chips currently supported by ESP32 do this so we use it. In esptool.py ...