Thank You so much for your help
Switching to v5.2.1 solved the problem
Chip Started
Wifi Started
Getting Auth Info , Memory : 159Kb
Getting Auth Info ..... Success !, Memory : 170Kb
Start Sending File : file_1024000.txt, Size : 1024000
!Ahora mismo : Wed Apr 24 14:13:01 UTC 2024, ¡Hola Mundo ...
Search found 41 matches
- Wed Apr 24, 2024 2:40 pm
- Forum: ESP-IDF
- Topic: [Solved] sdCard (sdmmc / 1 bit mode) memory leak (16-28 bytes) on 2nd unmount
- Replies: 2
- Views: 1654
- Tue Apr 23, 2024 1:52 pm
- Forum: ESP-IDF
- Topic: [Solved] sdCard (sdmmc / 1 bit mode) memory leak (16-28 bytes) on 2nd unmount
- Replies: 2
- Views: 1654
[Solved] sdCard (sdmmc / 1 bit mode) memory leak (16-28 bytes) on 2nd unmount
In brief words
- We have to mount and un-mount sdCard on regular basis
- First time we do this -> no leak
- 2nd time mounting doesn't leak memory either
- 2nd un-mount of the sdCard leaks memory
Chip : ESP32 (rev 1)
IDF : ESP-IDF v5.1.3-416-gd23b7a0361
Reproduce Code
#include "esp_vfs_fat ...
- We have to mount and un-mount sdCard on regular basis
- First time we do this -> no leak
- 2nd time mounting doesn't leak memory either
- 2nd un-mount of the sdCard leaks memory
Chip : ESP32 (rev 1)
IDF : ESP-IDF v5.1.3-416-gd23b7a0361
Reproduce Code
#include "esp_vfs_fat ...
- Mon Apr 08, 2024 2:24 am
- Forum: General Discussion
- Topic: Issue with ESP32 OTA Connection to AWS S3
- Replies: 4
- Views: 4040
Re: Issue with ESP32 OTA Connection to AWS S3
Are you commenting the Keys in your config client ?
All I see is one line and is commented in the code you posted .
This is how the config should be with mutual auth "which AWS uses"
void update_firmware(char *lnk)
{
printf("\nFirmware Update Started !\n");
esp_http_client_config_t config ...
All I see is one line and is commented in the code you posted .
This is how the config should be with mutual auth "which AWS uses"
void update_firmware(char *lnk)
{
printf("\nFirmware Update Started !\n");
esp_http_client_config_t config ...
- Tue Apr 02, 2024 3:46 am
- Forum: ESP-IDF
- Topic: MQTT certificate cause crash
- Replies: 1
- Views: 1011
Re: MQTT certificate cause crash
I haven't done this method in a while , I usually use an NVS partition for that
But is there any chance you forgot to include the certificate in CmakeLists.txt in the main folder ?
# Embed the server root certificate into the final binary
#
# (If this was a component, we would set COMPONENT ...
But is there any chance you forgot to include the certificate in CmakeLists.txt in the main folder ?
# Embed the server root certificate into the final binary
#
# (If this was a component, we would set COMPONENT ...
- Tue Apr 02, 2024 3:28 am
- Forum: ESP-IDF
- Topic: Is it possible to run esp_http_client & mqtt at the same time ?
- Replies: 0
- Views: 1326
Is it possible to run esp_http_client & mqtt at the same time ?
I'm trying to run MQTT for logging together with espHttpClient doing multipart post upload
for some reason this is not working at all
I have the http working very well without any issue
When I run MQTT, it connects to my mosquitto broker and subscribes , but
the espHttpClient stops uploading the ...
for some reason this is not working at all
I have the http working very well without any issue
When I run MQTT, it connects to my mosquitto broker and subscribes , but
the espHttpClient stops uploading the ...
- Mon Sep 25, 2023 1:19 am
- Forum: ESP-IDF
- Topic: Can't Get File Serial Number (st_ino) from files on sdCard/Flash
- Replies: 2
- Views: 1521
Re: Can't Get File Serial Number (st_ino) from files on sdCard/Flash
Thanks for the info on both ESPs & Linux
I really Appreciate your help
I really Appreciate your help
- Sun Sep 24, 2023 5:12 pm
- Forum: ESP-IDF
- Topic: Can't Get File Serial Number (st_ino) from files on sdCard/Flash
- Replies: 2
- Views: 1521
Can't Get File Serial Number (st_ino) from files on sdCard/Flash
Every thing that is working on C / linux system , Is working on ESP Flash
struct stat st ;
char* filePath = "/sdcard/myFile.txt";
stat(filePath, &st);
From here I can get all the usual info , Size , Name , Type of File .. except the st.st_ino
It's always zero
I even get a warning about ...
struct stat st ;
char* filePath = "/sdcard/myFile.txt";
stat(filePath, &st);
From here I can get all the usual info , Size , Name , Type of File .. except the st.st_ino
It's always zero
I even get a warning about ...
- Fri Jul 23, 2021 3:21 am
- Forum: ESP-IDF
- Topic: ESP8266-RTOS SDK , Directed Broadcast Fails
- Replies: 0
- Views: 2263
ESP8266-RTOS SDK , Directed Broadcast Fails
Hello
I'm having hard time trying to get 8266-Rtos to do a directed UDP Broadcast (192.168.1.255)
The example Server in the IDF does work but loses so many packets , This doesn't happen with
2 Android Phones using the same Subnet .
Sending a Unicast packet to the chip works with almost 99 ...
I'm having hard time trying to get 8266-Rtos to do a directed UDP Broadcast (192.168.1.255)
The example Server in the IDF does work but loses so many packets , This doesn't happen with
2 Android Phones using the same Subnet .
Sending a Unicast packet to the chip works with almost 99 ...
- Tue Sep 15, 2020 3:08 pm
- Forum: Hardware
- Topic: Gaps in ADC voltage response when using DMA
- Replies: 15
- Views: 19456
Re: Gaps in ADC voltage response when using DMA
ADC works , actually it works like you expect it to work , but sometimes it just makes strange behaviour
If you look at the link I posted earlier , it works but gives strange results from time to time
and only by inverting the signal from HIGH to LOW or (pulling the PIN LOW) , it worked very ...
If you look at the link I posted earlier , it works but gives strange results from time to time
and only by inverting the signal from HIGH to LOW or (pulling the PIN LOW) , it worked very ...
- Tue Sep 15, 2020 12:49 pm
- Forum: Hardware
- Topic: Gaps in ADC voltage response when using DMA
- Replies: 15
- Views: 19456
Re: Gaps in ADC voltage response when using DMA
I'm getting the same thing you have , even when I pulled it low .. same result