Search found 45 matches

by Jonathan2892
Wed Oct 02, 2024 2:27 pm
Forum: ESP-IDF
Topic: Memory problem with MQTT and new()
Replies: 1
Views: 602

Memory problem with MQTT and new()

Hi, I have a project which is mainly written in C++ and uses a lot of new() . Somehow this causes the MQTT-client to not be able to allocate memory. I have tried to fix this problem by using different sdkconfig options, but I wasn't able to solve the problem. The free HEAP before the mqtt-client tri...
by Jonathan2892
Wed Sep 18, 2024 10:44 am
Forum: Report Bugs
Topic: WiFi cannot allocate memory in SPIRAM when ISRAM is full
Replies: 3
Views: 7805

Re: WiFi cannot allocate memory in SPIRAM when ISRAM is full

Hi, we are running in the same issue on esp32-s3 and idf 5.3.1, but with the mqtt client. We have 5 Tasks of our own with total stack sizes 3kB to 6 kB (total stack size: 19kB). Then we use wifi and mqtt, so these esp-internal tasks are also running. We also have a lot of const maps. After changing ...
by Jonathan2892
Wed Jun 05, 2024 4:01 pm
Forum: ESP-IDF
Topic: esp32-s3 manual firmware encryption and OTA without sdkconfig flash-encryption enabled
Replies: 1
Views: 815

Re: esp32-s3 manual firmware encryption and OTA without sdkconfig flash-encryption enabled

Think I found the answer in the docs: Before building the application image for OTA updating of an already encrypted device, enable the option Enable flash encryption on boot in project configuration menu. This means that I have to activate the option ‘Flash encryption on boot’, even if it is not ne...
by Jonathan2892
Wed Jun 05, 2024 8:24 am
Forum: ESP-IDF
Topic: esp32-s3 manual firmware encryption and OTA without sdkconfig flash-encryption enabled
Replies: 1
Views: 815

esp32-s3 manual firmware encryption and OTA without sdkconfig flash-encryption enabled

Hi, I want to know if my process for encryption is correct and if it is needed to enable flash encryption in sdkconfig to have OTA updates encrypted. For now my process is the following: esptool.py --port $SERIAL_PORT erase_flash espsecure.py generate_flash_encryption_key --keylen 512 $ENCRYPTION_KE...
by Jonathan2892
Mon Jun 03, 2024 3:31 pm
Forum: ESP32 Arduino
Topic: how to use read-protected eFuse ?
Replies: 4
Views: 3135

Re: how to use read-protected eFuse ?

Hi, does that mean, that after read-protecting all efuses it is impossible to read the MAC with esp_efuse_mac_get_default() ? Is there any way to get the MAC? I mean WIFI need it to connect to a network or not? So there may be a way to get the mac-address after the WIFI hardware got it from the efus...
by Jonathan2892
Sat Jun 01, 2024 6:21 am
Forum: ESP-IDF
Topic: MQTT Client causes Chip Hardlock
Replies: 12
Views: 3608

Re: MQTT Client causes Chip Hardlock

Hi,

I was able to solve my issue by moving some stuff like .bss to the SPIRAM. I did also some changes in the menuconfig, I can post them in a few days, right now I am traveling.
But you don’t have SPIRAM, right? Well, maybe it will help somehow.

Best
by Jonathan2892
Wed May 29, 2024 10:44 am
Forum: General Discussion
Topic: ESP32S3: esp-tls couldn't get hostname, getaddrinfo returns 202
Replies: 4
Views: 3158

Re: ESP32S3: esp-tls couldn't get hostname, getaddrinfo returns 202

Hi, could you solve the problem? I get the same error when I am connected to my WLAN, which worked just 2 days ago and I did not change anything. Today it is not working anymore with my WLAN. But it works when I use a hotspot of my phone. So the server-address seems to be correct and the problem mus...
by Jonathan2892
Sun May 19, 2024 10:52 am
Forum: ESP-IDF
Topic: Investigating program panic from xt_highint4
Replies: 3
Views: 1323

Re: Investigating program panic from xt_highint4

Hi,

Are there any news on this topic?

Best
by Jonathan2892
Thu May 16, 2024 7:02 pm
Forum: ESP-IDF
Topic: MQTT Client causes Chip Hardlock
Replies: 12
Views: 3608

Re: MQTT Client causes Chip Hardlock

Hi, I think I have the same issue with the MQTT client: I use an esp32-s3-wroom-1-n16r8 with idf 5.2.1. On core 1 I have a task, which uses SPI. On core 0 I have wifi and mqtt running. But as soon as I try to connect to the broker the esp crahses without any useful output (can post the logs tomorrow...
by Jonathan2892
Tue May 07, 2024 8:55 am
Forum: Hardware
Topic: Pin behaviour at start up
Replies: 0
Views: 833

Pin behaviour at start up

Hi, I have 2 esp32-s3-wroom-1-n18r8 modules. I am using GPIO11 as output and the pin is connected to ground via 20k pull-down resistor. Nothing else is connected. According to the technical reference this pin should be floating at start up, thus GPIO11 should be LOW on start up. This is indeed true ...