Search found 13 matches

by devlat
Wed Feb 28, 2024 2:55 pm
Forum: ESP-IDF
Topic: Please help learn the NimBLE stack
Replies: 9
Views: 15085

Re: Please help learn the NimBLE stack

Good job! Thank you!
by devlat
Wed Feb 28, 2024 11:29 am
Forum: ESP-IDF
Topic: Please help learn the NimBLE stack
Replies: 9
Views: 15085

Re: Please help learn the NimBLE stack

The bluetooth/esp_hid_host is pure Bluedroid example and is not related to NimBLE (it needs CONFIG_BT_BLUEDROID_ENABLED=y).
Do i miss something?
Oh, i see CONFIG_BT_NIMBLE_ENABLED was added to the sample not long ago! I guess you mean this. Thanks for informaton!
by devlat
Sun Feb 25, 2024 4:23 pm
Forum: ESP-IDF
Topic: Please help learn the NimBLE stack
Replies: 9
Views: 15085

Re: Please help learn the NimBLE stack

What is really lacking is example how to write BLE HID central or peripheral in NimBLE which is rather popular demand. ESP-IDF has blecent and bleprph examples, but it does not help much if you are new to the concept of characteristics, services etc. You have to learn a lot. But once you do, you wil...
by devlat
Tue Jan 23, 2024 8:02 pm
Forum: Hardware
Topic: ESP32-S3 USB OTG - USB Hub support?
Replies: 22
Views: 12548

Re: ESP32-S3 USB OTG - USB Hub support?

>In theory, the HW channels could be reused (recycled) to serve multiple endpoints in round-robin fashion. This is fairly complex and lower-priority at this moment. Actually, this was the point of my question. For example, if IN endpoint reports 4 ms interval we should allocate HW channel and query ...
by devlat
Sat Jan 20, 2024 10:29 am
Forum: Hardware
Topic: ESP32-S3 USB OTG - USB Hub support?
Replies: 22
Views: 12548

Re: ESP32-S3 USB OTG - USB Hub support?

Can you please be more specific what is meant by " Only 8 endpoints (including EP0s) can be active at the same time" ? Especially in the context of HID devices. You mean only 8 endpoints can have scheduled IN/OUT transactions inside one 1 ms frame? Or is this some enumeration limit, i.e. 3rd HID dev...
by devlat
Mon Jan 15, 2024 5:06 pm
Forum: ESP-IDF
Topic: Is OTA Update of encrypted application possible?
Replies: 7
Views: 47731

Re: Is OTA Update of encrypted application possible?

We are talking about the case when we use manually generated keys, so we DO know the device key. And we can maintain database of all device keys during production and encrypt firmware on the server exactly for this device only. >Which provides better security than having the key stored on some serve...
by devlat
Sun Jan 14, 2024 9:03 am
Forum: ESP-IDF
Topic: Is OTA Update of encrypted application possible?
Replies: 7
Views: 47731

Re: Is OTA Update of encrypted application possible?

Can you please describe in more details your OTA procedure? I agree with you that Espressif pre-encrypted method is overkill if you already have generated own flash encryption keys. 3072-key is absolutely not needed and you should store your BIN on server already encrypted with same flash key. And w...
by devlat
Fri Dec 09, 2022 6:57 pm
Forum: Hardware
Topic: Setting efuse to ESP32-S3 to enable DFU on boot press.
Replies: 24
Views: 14251

Re: Setting efuse to ESP32-S3 to enable DFU on boot press.

Is it possible that your ESP32-S3 chip was manufactured before Date Code 2219 ? Check this Security Advisory: https://www.espressif.com/sites/default/files/advisory_downloads/AR2022-004%20Security%20Advisory%20for%20USB_OTG%20%26%20USB_Serial_JTAG%20Download%20Functions%20of%20ESP32-S3%20Series%20Pr...
by devlat
Sun Jul 10, 2022 11:09 am
Forum: ESP-IDF
Topic: tinyUSB bug in dcd_edpt_stall
Replies: 0
Views: 1186

tinyUSB bug in dcd_edpt_stall

ESP-IDF has bug in dcd_edpt_stall routine inside tinyusb/tinyusb/src/portable/espressif/esp32sx/dcd_esp32sx.c. When being called for EP0 it may reset FIFO of currently pending IN transfers, this hanging IN endpoints. This happened in our project and we have isolated the issue to this function. The c...
by devlat
Sat Jun 18, 2022 7:57 am
Forum: ESP-IDF
Topic: ESP32-S3 crash on boot with CONFIG_BOOT_ROM_LOG_SCHEME
Replies: 0
Views: 1141

ESP32-S3 crash on boot with CONFIG_BOOT_ROM_LOG_SCHEME

ESP32-S3 crashes on boot if CONFIG_BOOT_ROM_LOG_SCHEME is changed to some non-default value. There seems to be some stack overflow when boot loader tries to burn eFuse (inside esp_efuse_set_rom_log_scheme), but even increasing main task stack size to 8192 does not help - CPU0 panics with LoadProhibi...