Search found 21 matches

by fanmen1
Mon Jun 03, 2024 3:57 pm
Forum: General Discussion
Topic: ESP32 crash when sending large data through shared uart.
Replies: 4
Views: 632

Re: ESP32 crash when sending large data through shared uart.

esp_err_t itc_frame_send_and_receive(itc_link_layer_handler_t *ctx, uint8_t *txbuffer, uint16_t *tx_length, uint8_t *rxbuffer, uint16_t *rx_length) { uint16_t frame_size = 0; int i = 0; uint16_t data_field_from_frame = 0; if (ctx == NULL || txbuffer == NULL || tx_length == NULL || rxbuffer == NULL ...
by fanmen1
Mon Jun 03, 2024 9:01 am
Forum: General Discussion
Topic: ESP32 crash when sending large data through shared uart.
Replies: 4
Views: 632

ESP32 crash when sending large data through shared uart.

Hi, I'm trying develop a project with my ESP32-S3 as the main controller and an LTE daughterboard to connect the internet. I'm facing an issue with system crash, when I try to send a large amount of data (>2KB). On the daughterboard side, the data transfer is based on ITC frame link layer protocol, ...
by fanmen1
Fri Apr 26, 2024 10:54 am
Forum: General Discussion
Topic: Not able to perform OTA using ESP32 with AWS S3
Replies: 10
Views: 1916

Re: Not able to perform OTA using ESP32 with AWS S3

Can you provide more info on how your S3 bucket is configured? error "No server verification option set in esp_tls_cfg_t structure" suggests that you require a SSL/TLS certificate to make the connection. you have set the .cert_pem = NULL, pointing to no certificate. try using the default esp_crt_bun...
by fanmen1
Fri Apr 26, 2024 9:11 am
Forum: General Discussion
Topic: mbedtls_ssl_handshake returned -0x7780
Replies: 1
Views: 350

Re: mbedtls_ssl_handshake returned -0x7780

If anyone is facing the same issue, here are some insights to overcome this. 1. Go to SSL Labs Server Test online and check all the cipher-suites that is supported by the server. 2. you can either disable the hardware MPI (bignum) acceleration in the menuconfig or move some ISR to a different core, ...
by fanmen1
Fri Apr 26, 2024 9:09 am
Forum: General Discussion
Topic: ESP32 Failed to allocate RSA interrupt 261
Replies: 5
Views: 840

Re: ESP32 Failed to allocate RSA interrupt 261

If anyone is facing the same issue, here are some insights to overcome this. 1. Go to SSL Labs Server Test online and check all the cipher-suites that is supported by the server. 2. you can either disable the hardware MPI (bignum) acceleration in the menuconfig or move some ISR to a different core, ...
by fanmen1
Thu Apr 25, 2024 10:30 am
Forum: General Discussion
Topic: HTTPS connection fail.
Replies: 2
Views: 434

Re: HTTPS connection fail.

Please refer to the more detailed logs below: I (733475) MQTT: ########## ########### ########### I (733515) mbedtls: ssl_tls.c:3919 => handshake I (733515) mbedtls: ssl_msg.c:2358 => flush output I (733515) mbedtls: ssl_msg.c:2367 <= flush output I (733525) mbedtls: ssl_tls.c:3838 client state: MBE...
by fanmen1
Thu Apr 25, 2024 7:35 am
Forum: General Discussion
Topic: ESP32 Failed to allocate RSA interrupt 261
Replies: 5
Views: 840

Re: ESP32 Failed to allocate RSA interrupt 261

I disabled the following option in menuconfig: Enable hardware MPI (bignum) acceleration which seems to have stopped the system crashes and the interrupt error. But now the server handshake is failing with the following error even after certificate verification success.
by fanmen1
Wed Apr 24, 2024 2:07 pm
Forum: General Discussion
Topic: mbedtls_ssl_handshake returned -0x7780
Replies: 1
Views: 350

mbedtls_ssl_handshake returned -0x7780

Hi, The HTTPS connection is refused with the above error code. The connection was working fine and was able post some request to the said server, but after adding some mqtt bits (no relation to https), I'm getting the following error as shown in image. As you can see, the certificate is verified but...
by fanmen1
Wed Apr 24, 2024 1:52 pm
Forum: General Discussion
Topic: HTTPS connection fail.
Replies: 2
Views: 434

HTTPS connection fail.

Hi, I'm trying to send a POST request to a server using my ESP32-S3. The HTTPs connection was working fine until I added some of the mqtt broker connection bits. I'm using the esp_crt_bundle to verify the server. As you can see from the logs, it shows certificate verified, but the connection is fail...
by fanmen1
Wed Apr 24, 2024 1:07 pm
Forum: General Discussion
Topic: ESP32 Failed to allocate RSA interrupt 261
Replies: 5
Views: 840

Re: ESP32 Failed to allocate RSA interrupt 261

can you please provide more info on disabling hardware encryption?