Search found 31 matches

by Gardin
Thu Apr 27, 2023 12:10 pm
Forum: ESP-IDF
Topic: Is the OTA binary file size calculation wrong !?
Replies: 8
Views: 6356

Re: Is the OTA binary file size calculation wrong !?

Any news on this? I'am having the exact same issue
by Gardin
Mon Jan 03, 2022 11:08 am
Forum: General Discussion
Topic: ESP-IDF vs ESP-MDF
Replies: 5
Views: 10694

Re: ESP-IDF vs ESP-MDF

Hello guys, I did not advance in the studies about ESP-MDF.

For those who are asking the same question I think that a good solution would be to test both ESP-IDF and ESP-MDF to check the one that better suits your project.

Cheers,

Gabriel Gardin.
by Gardin
Wed Dec 29, 2021 12:39 pm
Forum: General Discussion
Topic: Secure boot vs Flash Encryption
Replies: 0
Views: 4760

Secure boot vs Flash Encryption

Hello all, I'm developing a product based on ESP32-S module, this product needs to have OTA updates, flash-encryption and secure boot. The OTA part is already working with https and Token based authentication, so it's quite secure. Now I need to secure the actual hardware, so that no one can clone t...
by Gardin
Sun Dec 13, 2020 1:33 am
Forum: General Discussion
Topic: Failed to get chip size NINA101
Replies: 1
Views: 2432

Re: Failed to get chip size NINA101

So, I still have the error but I was able to make make it works by altering the file esp_flash_spi_init.c I just ignore the error: esp_err_t esp_flash_init_default_chip(void) { memspi_host_config_t cfg = ESP_FLASH_HOST_CONFIG_DEFAULT(); //the host is already initialized, only do init for the data an...
by Gardin
Sun Dec 13, 2020 12:20 am
Forum: General Discussion
Topic: Failed to get chip size NINA101
Replies: 1
Views: 2432

Failed to get chip size NINA101

Hello everyone, I'm working with a custom PCB based on the u-blox NINA 101. This module uses a 2MB flash, and my PCB also comes with an extra 16MB flash(W25Q128). The problem is that in order to the NINA module to work I need to set CONFIG_SPI_FLASH_USE_LEGACY_IMPL, otherwhise the system fails to re...
by Gardin
Sun Dec 13, 2020 12:10 am
Forum: General Discussion
Topic: how many bytes are read with uart_read_bytes()
Replies: 2
Views: 4960

Re: how many bytes are read with uart_read_bytes()

Yes, it was my own UART buffer that was overflowing, and indeed it was my fault.

Anyway thank's a lot for your help!

Gabriel Gardin
by Gardin
Sat Dec 05, 2020 7:22 pm
Forum: General Discussion
Topic: how many bytes are read with uart_read_bytes()
Replies: 2
Views: 4960

how many bytes are read with uart_read_bytes()

Hello everyone, I'm working on a project that uses uart to receives lots of data(~45KB), the data is initialized with SOT and ended with EOT. So in order to read the data I wait for the starting SOT and then I increment a buffer pointer accordingly to the data comming through.(I don't receive all th...
by Gardin
Fri Nov 20, 2020 12:07 am
Forum: General Discussion
Topic: How long does it take for uart data to be available on RX Buffer?
Replies: 9
Views: 10034

Re: How long does it take for uart data to be available on RX Buffer?

Thank's guys! That was a really useful discussion.
by Gardin
Tue Nov 10, 2020 2:24 pm
Forum: General Discussion
Topic: WiFi/Internet KeepAlive - How to property maintain network connection without reboots?
Replies: 2
Views: 5100

Re: WiFi/Internet KeepAlive - How to property maintain network connection without reboots?

When you set up Wi-Fi you generally set an event group to signal Wi-Fi events. From there you can try to reconnect to the Wi-Fi in case of a disconnection. take a look in this example: https://github.com/espressif/esp-idf/tree/master/examples/wifi/getting_started/station In case you are using aws-io...
by Gardin
Tue Nov 10, 2020 1:40 pm
Forum: General Discussion
Topic: How long does it take for uart data to be available on RX Buffer?
Replies: 9
Views: 10034

Re: How long does it take for uart data to be available on RX Buffer?

First of all thanks a lot for the fast repply. Yes, there is a problem with the remote device. I first noticed the problem because the esp32 is receiving imcomplete messages, so I analyzed the TX, RX lines with a Logic Analyzer, and then I saw multiple discontinuities in the bits. I've contacted the...