Search found 20 matches

by nonagon
Wed Nov 20, 2024 8:26 pm
Forum: ESP-IDF
Topic: Secure boot v2 and Flash Encryption on production
Replies: 0
Views: 227

Secure boot v2 and Flash Encryption on production

We want to have secure boot v2 and flash encryption enabled for our products based on a custom esp32 s2 pcb, we read the IDF SDK manual but it's not clear how to have it enabled together without bricking the device. We flash the product one by one, having a key for secure boot and an elf signed with...
by nonagon
Wed Jul 24, 2024 8:11 am
Forum: ESP-IDF
Topic: [ESP IDF v5.3] Unidentified Wifi Bug
Replies: 1
Views: 763

Re: [ESP IDF v5.3] Unidentified Wifi Bug

Anyone from ESP support to point me to a solution?
by nonagon
Mon Jul 22, 2024 1:29 pm
Forum: ESP-IDF
Topic: [ESP IDF v5.3] Unidentified Wifi Bug
Replies: 1
Views: 763

[ESP IDF v5.3] Unidentified Wifi Bug

Our production firmware handle to scan and connect to wifi networks to create a mesh network between nodes (it's not ESP MESH but another implementation). All things works fine until under some some conditions the nodes executes numerous scan and connections to some wifi nets. On the firmware side t...
by nonagon
Fri Aug 18, 2023 4:58 pm
Forum: ESP-IDF
Topic: Esp aes memory allocation fail
Replies: 3
Views: 2005

Re: Esp aes memory allocation fail

UPDATE: We have been able to systematically reproduce the problem: 1) we set a product to normally connect to hotspot 2) we set another product to cyclically connected and disconnect to the hotspot after several connections and reconnections the problem appeared: [34.580 NoTime] Station connected to...
by nonagon
Fri Aug 18, 2023 4:23 pm
Forum: ESP-IDF
Topic: Esp aes memory allocation fail
Replies: 3
Views: 2005

Esp aes memory allocation fail

Aes implementation work fine unilt after an intense usage of aes module the aes encryption fail forever with this message: esp-aes: Failed to allocate memory Our products have external memory and it is mostly free, in the internal memory at least 30kb of ram are free. Some data to locate chip and id...
by nonagon
Thu Dec 02, 2021 2:51 pm
Forum: ESP-MDF
Topic: Some Clarification on Mesh
Replies: 0
Views: 16144

Some Clarification on Mesh

I'm reviewing the code to prepare it to production stage and I need some clarification on Mesh working. I implemented Wifi mesh using IDF (not MDF) and it work very well but I need to understand some things: 1) I'm using IDF API and not MDF API, there is some reason to move to MDF like IDF major ver...
by nonagon
Mon Sep 27, 2021 9:09 am
Forum: ESP-IDF
Topic: [ESP32-S2] Out of control rebotting issue
Replies: 7
Views: 9249

Re: [ESP32-S2] Wifi APSTA/STA switch rebotting issue

I found the problem. I implemented a Init\DeInit procedures for wifi to switch from AP mode to Station mode. The problem was with creating the standard wifi AP and then destroy it. static esp_netif_t* ap_ntptr = NULL; in the init: ap_ntptr = esp_netif_create_default_wifi_ap(); in the deinit: esp_net...
by nonagon
Sat Sep 25, 2021 5:47 pm
Forum: ESP-IDF
Topic: [ESP32-S2] Out of control rebotting issue
Replies: 7
Views: 9249

Re: [ESP32-S2] Out of control rebotting issue

Hello, thank you for the replies, this not happen when the product starts, but sometimes, maybe after a bug, the firmware reboot and go in that state. If I press the reset button it will start normally. I have a custom pcb programmer based on FT2232 chip with reset button and an automatic download m...
by nonagon
Sat Sep 25, 2021 10:44 am
Forum: ESP-IDF
Topic: [ESP32-S2] Out of control rebotting issue
Replies: 7
Views: 9249

[ESP32-S2] Out of control rebotting issue

Please read this serial output: ELF file SHA256: a760eaa80003108b Rebooting... ESP-ROM:esp32s2-rc4-20191025 Build:Oct 25 2019 rst:0xc (RTC_SW_CPU_RST),boot:0xa (SPI_FAST_FLASH_BOOT) Saved PC:0x40028f28 SPIWP:0xee mode:DIO, clock div:1 load:0x3ffe6100,len:0x1900 load:0x4004c000,len:0x9e8 load:0x40050...
by nonagon
Tue Sep 07, 2021 2:54 pm
Forum: Hardware
Topic: CAN transceiver Pinout on ESP32
Replies: 2
Views: 3746

Re: CAN transceiver Pinout on ESP32

I was wrong with that GPIOs because I use a module with PSRAM. I forget to check also the module datasheet: https://www.mouser.it/datasheet/2/891/esp32_wrover_e_esp32_wrover_ie_datasheet_en-1855913.pdf I moved my GPIO: CAN_RX on GPIO18 CAN_TX on GPIO19 and in another product, same module but I have ...