Search found 9004 matches

by ESP_Sprite
Thu Apr 18, 2024 12:45 am
Forum: General Discussion
Topic: ESP32 runs wild, can not stop or reboot. Gets hot.
Replies: 1
Views: 22

Re: ESP32 runs wild, can not stop or reboot. Gets hot.

Likely the module was subjected to something not good (overvoltage, power spike, static electricity, ...) that fried the flash chip inside the package. The ESP32 is trying to boot from that but fails. Normally the ESP32 itself doesn't get hot in that state; it's more likely that the flash broke in s...
by ESP_Sprite
Thu Apr 18, 2024 12:41 am
Forum: ESP-IDF
Topic: esp_https_server component with mTLS client auth
Replies: 3
Views: 119

Re: esp_https_server component with mTLS client auth

Sorry, you're right, it's been a while since I dived into RSA/ASN.1 etc. Seems the issue you have is described here . Note that this is about SSH keys but SSL keys have the same format (you can check that with `openssl rsa -in prvtkey.pem -text` if you want.) Could be that the AWS key leaves off the...
by ESP_Sprite
Thu Apr 18, 2024 12:30 am
Forum: ESP-IDF
Topic: This WiFi Code causes Stack overflow
Replies: 3
Views: 235

Re: This WiFi Code causes Stack overflow

Since IDF is in control of the stack it should not happen. No, it is not. ESP-IDF will create the main task with the amount of stack you configure, and it's your job to reconfigure it if it's too small. Enter menuconfig and then Component config → ESP System Settings → Main task stack size to chang...
by ESP_Sprite
Thu Apr 18, 2024 12:21 am
Forum: ESP-IDF
Topic: How to include subcomponents inside ESP-IDF
Replies: 1
Views: 51

Re: How to include subcomponents inside ESP-IDF

You don't need to reference the component files in your main CMakeLists.txt, the component itself needs a CMakeLists.txt that makes esp-idf compile them. Also, your 'component' directory should be in the root of your project, not in the 'main' folder.
by ESP_Sprite
Thu Apr 18, 2024 12:18 am
Forum: ESP-IDF
Topic: ESP-IDF can't find ESP32-S3-DevKitC-1 to flash
Replies: 1
Views: 51

Re: ESP-IDF can't find ESP32-S3-DevKitC-1 to flash

Proper syntax would be 'idf.py -p /dev/ttyACM0 flash', can you try that?
by ESP_Sprite
Wed Apr 17, 2024 6:49 am
Forum: ESP-IDF
Topic: Stack Overflow Issues with CY8C4245AXI-483 Bootloader Implementation on ESP32
Replies: 2
Views: 116

Re: Stack Overflow Issues with CY8C4245AXI-483 Bootloader Implementation on ESP32

I don't see the debug log, it would be helpful to see where the stack overflow happens and to have a backtrace of that. Also: what stack did you increase? In your sdkconfig, the main stack (which calls into the bootloader stuff) only is allocated 3584 bytes. I'd suggest using menuconfig to increase ...
by ESP_Sprite
Wed Apr 17, 2024 2:41 am
Forum: Report Bugs
Topic: SSL cert invalid
Replies: 2
Views: 156

Re: SSL cert invalid

Think it's just an unused subdomain.
by ESP_Sprite
Wed Apr 17, 2024 2:39 am
Forum: ESP8266
Topic: Is the 8266 processor supported ?
Replies: 17
Views: 33918

Re: Is the 8266 processor supported ?

I seem to remember some RISC-V (C series) does support SPI-RAM or am I mistaken? Both the ESP32P4 and the ESP32C61 can, but these chips aren't (widely) available yet. If so, I guess I will choose the S series for the foreseeable future and I hope Espressif will keep making/supporting them for some ...
by ESP_Sprite
Wed Apr 17, 2024 2:31 am
Forum: ESP-IDF
Topic: This WiFi Code causes Stack overflow
Replies: 3
Views: 235

Re: This WiFi Code causes Stack overflow

...Okay, thanks for sharing, but did you have a question? In general, yes, if you declare variables inside your functions, it'll use up stack space, and if you didn't allocate enough of that to your task, it'll overflow your stack. Making variables global is one way around that, although normally pe...
by ESP_Sprite
Wed Apr 17, 2024 2:26 am
Forum: ESP-IDF
Topic: esp_https_server component with mTLS client auth
Replies: 3
Views: 119

Re: esp_https_server component with mTLS client auth

That's kinda to be expected. A PEM file is a base64 encoding, in this case likely encoding PKCS information. This encodes way more than simply the private key; there's also identifying information like the serial, common name, maybe name and address of issuer etc. Those things are not necessary for ...