Search found 21 matches

by user4_esp32
Sat Aug 10, 2019 1:13 pm
Forum: ESP-IDF
Topic: Flash encryption without secure boot
Replies: 9
Views: 10504

Re: Flash encryption without secure boot

Thanks very much for the thorough reply, @ESP_Angus, and for clarifying. It would be helpful to add a note to the Docs to mention that for binaries meant for OTA to a device with encryption-enabled-in-the-bootloader, one should build the binary with flash encryption support enabled in sdkconfig--per...
by user4_esp32
Wed Aug 07, 2019 6:49 pm
Forum: ESP-IDF
Topic: Flash encryption without secure boot
Replies: 9
Views: 10504

Re: Flash encryption without secure boot

Hello, Could someone please answer #3 from above? Perhaps @ESP_Angus? 3. For production devices deployed with a partition setup of: bootloader [ flash encryption enabled] factory [ flash encryption enabled] ota_0 [empty] ota_1 [empty] When I build the binaries to be flashed via OTA into ota_0 or ota...
by user4_esp32
Wed Jul 31, 2019 4:34 pm
Forum: ESP-IDF
Topic: Maintaining WiFi connection in low RSSI conditions
Replies: 0
Views: 2246

Maintaining WiFi connection in low RSSI conditions

Hello, I am using an ESP-WROOM-32 on a custom PCB in low RSSI conditions (e.g. RSSI shows -70 to -90 dBm) and the device has difficulty maintaining a stable wifi connection to the access point. Are there configuration/software changes to the WiFi configuration I can make to increase the longevity of...
by user4_esp32
Fri Jun 28, 2019 4:28 pm
Forum: General Discussion
Topic: Data type/format in ESP-IDF A2DP-SINK demo
Replies: 3
Views: 5986

Re: Data type/format in ESP-IDF A2DP-SINK demo

Thanks very much, Jakobsen!

Would you happen to know if there is a way to set/force the esp-idf bluetooth module to output mono-channel in the bt_app_a2d_data_cb( ) callback instead of dual channel? Or a way to force the bluetooth source device to output mono-channel?
by user4_esp32
Mon Jun 24, 2019 1:10 pm
Forum: ESP-ADF
Topic: Speech Recognition Source Code for ASR example (e.g. libesp_wakenet.a)
Replies: 0
Views: 2871

Speech Recognition Source Code for ASR example (e.g. libesp_wakenet.a)

Is the source code available for the speech recognition functions in esp-adf\examples\speech_recognition\asr\main? (perhaps for esp-adf\components\esp-adf-libs\esp_sr\lib\libesp_wakenet.a)?
by user4_esp32
Sun Jun 23, 2019 11:50 pm
Forum: General Discussion
Topic: Data type/format in ESP-IDF A2DP-SINK demo
Replies: 3
Views: 5986

Data type/format in ESP-IDF A2DP-SINK demo

In the Bluetooth A2DP sink demo data callback at https://github.com/espressif/esp-idf/blob/58df1d93bc17c74499d58e05390af9c309192a5c/examples/bluetooth/a2dp_sink/main/bt_app_av.c#L70-L77: void bt_app_a2d_data_cb(const uint8_t *data, uint32_t len) { size_t bytes_written; i2s_write(0, data, len, &bytes...
by user4_esp32
Sun Jun 23, 2019 1:30 pm
Forum: General Discussion
Topic: ledc: left shift operation on duty in ledc_set_duty( )
Replies: 4
Views: 4985

Re: ledc: left shift operation on duty in ledc_set_duty( )

Thanks, WiFive. Since duty is a uint32_t, why are there fractional bits?
by user4_esp32
Sun Jun 23, 2019 12:06 am
Forum: General Discussion
Topic: ledc: left shift operation on duty in ledc_set_duty( )
Replies: 4
Views: 4985

ledc: left shift operation on duty in ledc_set_duty( )

Hello, Why is the left shift by 4 of duty necessary in the ledc_set_duty( ) function in esp-idf\components\driver\ledc.c? Doesn't the left shift remove the most significant 4 bits, not the least significant four bits? esp_err_t ledc_set_duty(ledc_mode_t speed_mode, ledc_channel_t channel, uint32_t d...
by user4_esp32
Fri May 31, 2019 11:57 am
Forum: ESP-IDF
Topic: Flash encryption without secure boot
Replies: 9
Views: 10504

Re: Flash encryption without secure boot

Thanks very much, ESP_Angus! To follow-on: 1. If FLASH_CRYPT_CNT is write protected then no more serial flashes with plaintext are possible (if you keep a copy of the flash encryption key, you can still flash pre-encrypted images) This only works if I pre-generate the flash encryption key ( https://...