Search found 64 matches

by dmitrij999
Wed Feb 22, 2023 7:14 am
Forum: ESP-IDF
Topic: [Solved] Secure boot signature verification failed
Replies: 16
Views: 7341

Re: Secure boot signature verification failed

If you plan to use SecureBoot v2, you need to tell espsecure.py that you use SecureBoot v2 explicitly

Code: Select all

python espsecure.py verify_signature --version 2 ...
As well, it might help you in case of signing images
by dmitrij999
Tue Feb 21, 2023 10:29 pm
Forum: ESP-IDF
Topic: [Solved] Secure boot signature verification failed
Replies: 16
Views: 7341

Re: Secure boot signature verification failed

Which tool you use to verify the image on host?
espsecure.py could help you to verify the image
See here

You might need to reproduce the process using the host encryption key+private signing key
by dmitrij999
Tue Feb 21, 2023 11:25 am
Forum: General Discussion
Topic: File upload using socket succeeds but not with esp_http_client
Replies: 14
Views: 16133

Re: File upload using socket succeeds but not with esp_http_client

Hello everyone! I'm also trying to send large file from LittleFS to server using esp_http_client. Server responds the 400 error code, and "No file part". Server code works, tested with Postman The code for sending using esp_http_client: esp_err_t upload_file_to_server(string fname, string basename, ...
by dmitrij999
Tue Feb 21, 2023 10:42 am
Forum: ESP-IDF
Topic: HTTPS Multipart File Transfer to Server
Replies: 4
Views: 6836

Re: HTTPS Multipart File Transfer to Server

Hello everyone! I'm also trying to send large file from LittleFS to server using esp_http_client. Server responds the 400 error code, and "No file part". Server code works, tested with Postman The code for sending using esp_http_client: esp_err_t upload_file_to_server(string fname, string basename, ...
by dmitrij999
Sun Feb 19, 2023 3:58 pm
Forum: ESP-IDF
Topic: ESP32-S3 two codecs ES8311
Replies: 6
Views: 4941

Re: ESP32-S3 two codecs ES8311

When I enabled verbose output, I see the following (regarding the GDMA ISR installing)

Code: Select all

D (6496) gdma: new rx channel (0,1) at 0x3c060de4
D V (6526) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): checking args
V (6536) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): Args okay. Resulting flags 0x80E
by dmitrij999
Sun Feb 19, 2023 3:36 pm
Forum: ESP-IDF
Topic: ESP32-S3 two codecs ES8311
Replies: 6
Views: 4941

Re: ESP32-S3 two codecs ES8311

In my project, the peripherals I use: - GPIO, isr service is installed with flag 0 - LEDC fade function installs ISR with flag (intr_alloc_flags | ESP_INTR_FLAG_IRAM) - both I2Cs are initiated with ISR flag 0 - ADC As well, I need USB and 2 I2S modules How to check if some of them ones uses shared i...
by dmitrij999
Sat Feb 18, 2023 8:39 am
Forum: ESP-IDF
Topic: ESP32-S3 two codecs ES8311
Replies: 6
Views: 4941

Re: ESP32-S3 two codecs ES8311

I commented out some of channels initiation, and it was OK static esp_err_t transceiver_i2s_driver_init(void) { ESP_LOGI(TAG, "Initiating transceiver I2S channels"); i2s_chan_config_t chan_cfg = I2S_CHANNEL_DEFAULT_CONFIG((i2s_port_t)TRANSCEIVER_I2S_NUM, I2S_ROLE_MASTER); chan_cfg.auto_clear = true;...
by dmitrij999
Sat Feb 18, 2023 7:55 am
Forum: ESP-IDF
Topic: ESP32-S3 two codecs ES8311
Replies: 6
Views: 4941

Re: ESP32-S3 two codecs ES8311

As for interrupts, I use GPIO interrupts, and install ISR service at the startup.
With that, I use I2C 2 channels, 2 ADCs, and use TinyUSB stack.
Explicitly I initiated one interrupt handler, need to check interrupt handlers initiated implicitly
by dmitrij999
Fri Feb 17, 2023 9:44 pm
Forum: ESP-IDF
Topic: ESP32-S3 two codecs ES8311
Replies: 6
Views: 4941

ESP32-S3 two codecs ES8311

Hello everyone! In my application, I'd like to use two codecs ES8311, but I cannot initialize both I2S channels, only one of them. And I cannot initialize USB stack with I2S channel initiated. I2S initialize code: #define TRANSCEIVER_I2S_NUM (0) #define HEADPHONES_I2S_NUM (1) ... static esp_err_t tr...
by dmitrij999
Mon Feb 13, 2023 7:32 pm
Forum: ESP-IDF
Topic: esp-cam - send buffer over MQTT
Replies: 2
Views: 1021

Re: esp-cam - send buffer over MQTT

I'd recommend you to split your image got from camera and compressed to jpeg into chunks, encode it into bson with metadata (such as parts available and number of part), and send it over MQTT.
Then, on server, decode each part and glue the parts altogether