Search found 6 matches

by satsok_n
Wed Apr 02, 2025 8:29 am
Forum: ESP-IDF
Topic: ATECC608 Signing Fails After HTTP Requests (calib_random: NULL pointer)
Replies: 2
Views: 313

Re: ATECC608 Signing Fails After HTTP Requests (calib_random: NULL pointer)

Hi ahsrabrifa,
I used the following code to check heap before and after the http request:

void check_heap(const char *tag) {
ESP_LOGI(tag, "Free heap: %d bytes", heap_caps_get_free_size(MALLOC_CAP_INTERNAL));
ESP_LOGI(tag, "Largest free block: %d bytes", heap_caps_get_largest_free_block(MALLOC ...
by satsok_n
Tue Apr 01, 2025 12:04 pm
Forum: ESP-IDF
Topic: ATECC608 Signing Fails After HTTP Requests (calib_random: NULL pointer)
Replies: 2
Views: 313

ATECC608 Signing Fails After HTTP Requests (calib_random: NULL pointer)

I’m encountering intermittent NULL pointer errors in calib_random() when signing with an ATECC608 after making HTTP requests in ESP-IDF (v4.2.1).
void update_info()
{
char url[256];

snprintf(url, sizeof(url), "https://test.com");

esp_http_client_config_t config = {
.url = url,
.cert_pem ...
by satsok_n
Fri Mar 21, 2025 10:51 am
Forum: ESP-IDF
Topic: HTTP client without verification with ATECC enabled for TLS issue.
Replies: 0
Views: 210

HTTP client without verification with ATECC enabled for TLS issue.

I am using ESP-IDF 4.2.1 with ATECC enabled for TLS. In my code, I use ATECC for establishing a TLS connection with a certificate. Now, I want to add an HTTP request to an HTTPS endpoint without certification verification. Below is the code I am using:
void test()
{
esp_http_client_config_t ...
by satsok_n
Mon Mar 17, 2025 3:37 pm
Forum: ESP-IDF
Topic: how to disable server validation (CA)
Replies: 4
Views: 16507

Re: how to disable server validation (CA)

Is there any way to make the same menuconfig in IDF 4.2.1 ?

Code: Select all

CONFIG_ESP_TLS_INSECURE=y
CONFIG_ESP_TLS_SKIP_SERVER_CERT_VERIFY=y
by satsok_n
Fri Feb 10, 2023 11:17 am
Forum: ESP-IDF
Topic: ESP-WROVER-KIT V4.1 Custom bootloader hooks read memory
Replies: 0
Views: 837

ESP-WROVER-KIT V4.1 Custom bootloader hooks read memory

I am using the ESP-WROVER-KIT V4.1. I am running the bootloader_hooks example. I am trying to read SRAM within the 'bootloader_before_init' function.

void bootloader_before_init(void) {
/* Keep in my mind that a lot of functions cannot be called from here
* as system initialization has not been ...
by satsok_n
Wed Jun 22, 2022 8:43 am
Forum: ESP-IDF
Topic: Pycom (FiPy) ESP32 bootloader modification.
Replies: 0
Views: 938

Pycom (FiPy) ESP32 bootloader modification.

I am trying to modify the bootloader of pycom FiPy. The goal is to read a part of the internal SRAM before being written by the bootloader. Is there any example of modifying and applying the custom bootloader in pycom FiPy? Is there any specific flow that should be followed? The bootloader is placed ...

Go to advanced search