Search found 14 matches

by mmmunir966
Sun Jan 12, 2025 8:29 am
Forum: Hardware
Topic: Guidance regarding flash memory for new pcb design.
Replies: 2
Views: 1765

Re: Guidance regarding flash memory for new pcb design.

Thank you very much for the response. In that casse, I am not exposing the pins as I think 512 kB of RAM and 4 MB builtin memory are enough.
by mmmunir966
Sat Jan 11, 2025 4:54 pm
Forum: Hardware
Topic: Guidance regarding flash memory for new pcb design.
Replies: 2
Views: 1765

Guidance regarding flash memory for new pcb design.

Hi,

I am going to make a pcb design using ESP32-U4WDH chip instead of its modules. In the documentation I found that this chip contains 4 MB of flash built-in to it. When I was refering to circuit design as attached in the image, it describes that "In cases where ESP32-U4WDH with in-package quad 3 ...
by mmmunir966
Thu Jul 06, 2023 8:00 am
Forum: General Discussion
Topic: How to run scripts for esp32 in esp-idf
Replies: 2
Views: 4192

How to run scripts for esp32 in esp-idf

Hello,

I am seeking assistance with running scripts on the ESP32 using the ESP-IDF framework. My goal is to develop an application that can host a web server to provide various settings to users. This application will include JavaScript (JS), Cascading Style Sheets (CSS), and Hypertext Markup ...
by mmmunir966
Thu Mar 30, 2023 9:51 am
Forum: General Discussion
Topic: HTTPS takes more than 40kb of memory
Replies: 0
Views: 1473

HTTPS takes more than 40kb of memory

Hi,
I am running tow tasks. One to send data to cloud platform using https request and 2nd to perform the OTA update. I run some memory analysis and got the results shown in the attached picture. The issues I am facing are:
1. The https requests are taking more than 40kb of memory when either ...
by mmmunir966
Tue Nov 29, 2022 12:17 pm
Forum: General Discussion
Topic: esp-tls-mbedtls: mbedtls_ssl_setup returned -0x7F00
Replies: 4
Views: 7755

Re: esp-tls-mbedtls: mbedtls_ssl_setup returned -0x7F00

Now, I am getting this error. Anyone please help.

E (546560) esp-x509-crt-bundle: PK verify failed with error FFFFBD70
E (546560) esp-x509-crt-bundle: Failed to verify certificate
E (546560) esp-tls-mbedtls: mbedtls_ssl_handshake returned -0x3000
E (546570) esp-tls: Failed to open new connection
E ...
by mmmunir966
Mon Nov 28, 2022 12:53 pm
Forum: General Discussion
Topic: esp-tls-mbedtls: mbedtls_ssl_setup returned -0x7F00
Replies: 4
Views: 7755

Re: esp-tls-mbedtls: mbedtls_ssl_setup returned -0x7F00

After doing some more experiments, It seems the issue with the heap memory. The call to perform data upload takes around 38Kb of heap memory, so when the available memory is less than 38kb, it fails to validate the SSL certificates.
The 2nd issue found is timeout. I have multiple tasks running and ...
by mmmunir966
Mon Nov 28, 2022 10:20 am
Forum: General Discussion
Topic: esp-tls-mbedtls: mbedtls_ssl_setup returned -0x7F00
Replies: 4
Views: 7755

esp-tls-mbedtls: mbedtls_ssl_setup returned -0x7F00

Hi,
I am trying to build https communication alongwith an I2C based RTC. I have integrated custom .pem files for SSL certificate verification. When the sensor is plugged out on I2C driver, the SSL communication works fine and data is transmitted successfuly to the server.
I am getting below errors ...
by mmmunir966
Thu Sep 15, 2022 4:10 pm
Forum: ESP-IDF
Topic: undefined reference to google protobuf libraries.
Replies: 0
Views: 3625

undefined reference to google protobuf libraries.

Hi,
My platform info:
MacBook M1 Pro,
esp-idf VS code plugin
protobuf 3.21.5
google libraries: /usr/local/include/google/protobuf/**

I am trying to integrate the google protocol buffers. I followed the steps mentioned in the esd-idf source directory on path esp-idf-master/components/protocomm
I ...
by mmmunir966
Fri Sep 02, 2022 7:36 am
Forum: General Discussion
Topic: invalid conversion from 'int' to 'adc_bits_width_t' [-fpermissive]
Replies: 2
Views: 2832

invalid conversion from 'int' to 'adc_bits_width_t' [-fpermissive]

Hi,
I am getting the error

Code: Select all

invalid conversion from 'int' to 'adc_bits_width_t' [-fpermissive] [98,47]
on line 98 in adc.h in code line

Code: Select all

#define ADC_WIDTH_BIT_DEFAULT   (ADC_WIDTH_MAX-1)
I am using esp-idf version 4.4 in VS code.

Please guide me how to fix this?
by mmmunir966
Fri Sep 02, 2022 7:14 am
Forum: General Discussion
Topic: How to get free continuous stack size using esp-idf
Replies: 3
Views: 5857

Re: How to get free continuous stack size using esp-idf

Code: Select all

uxTaskGetStackHighWaterMark
This function provides free stack of the current task or the task of which the handler is passed, but I want to know the total available stack from all the tasks?

Go to advanced search