Search found 6 matches

by dr.modi
Fri Mar 31, 2023 10:02 am
Forum: ESP-IDF
Topic: Slow file download speed via HTTPS GET
Replies: 0
Views: 968

Slow file download speed via HTTPS GET

Hello everyone. I use a board based on ESP-WROOM-32 in conjunction with the W5500. I want to download some files for storage on the SD card, but I am faced with the fact that the speed is very low. I managed to download 3 MB in 22 minutes. I don't quite understand why this happens, because a PC conn...
by dr.modi
Tue Mar 21, 2023 11:36 am
Forum: ESP-IDF
Topic: Uploading files to the SD card from the network
Replies: 0
Views: 691

Uploading files to the SD card from the network

Greetings to the forum participants. I have a board based on ESP-WROOM-32 with 4 megabytes of flash. An SD card is connected to the board. I need to update the text file stored on the sd card from time to time. The size of this file is ~7-9 megabytes. I would like to download this file from a remote...
by dr.modi
Tue Feb 07, 2023 10:28 am
Forum: ESP-IDF
Topic: Guru Meditation Error: Core 1 panic'ed (LoadProhibited) when using two xTaskCreate
Replies: 5
Views: 4143

Re: Guru Meditation Error: Core 1 panic'ed (LoadProhibited) when using two xTaskCreate

Thank you for your questions. And I apologize for not answering for so long. I decided to follow the path suggested by the developer of the library I use, so my case can be considered solved.
If someone is interested, I will leave a link to the solution specifically for my case
by dr.modi
Wed Feb 01, 2023 1:55 pm
Forum: ESP-IDF
Topic: Guru Meditation Error: Core 1 panic'ed (LoadProhibited) when using two xTaskCreate
Replies: 5
Views: 4143

Re: Guru Meditation Error: Core 1 panic'ed (LoadProhibited) when using two xTaskCreate

Can you show the source for `task`?.. Yes, the code looks like this: static void task(void *arg) { // Create queue queue = xQueueCreate(5, sizeof(data_packet_t)); if (!queue) { ESP_LOGE(TAG, "Error creating queue"); ESP_ERROR_CHECK(ESP_ERR_NO_MEM); } wiegand_data_t data = *(wiegand_data_t *)arg; //...
by dr.modi
Wed Feb 01, 2023 9:53 am
Forum: ESP-IDF
Topic: Guru Meditation Error: Core 1 panic'ed (LoadProhibited) when using two xTaskCreate
Replies: 5
Views: 4143

Re: Guru Meditation Error: Core 1 panic'ed (LoadProhibited) when using two xTaskCreate

I'll answer myself. I removed this line from the "task" function:

Code: Select all

printf ("Pin D0 = %d, pin D1 = %d\n", data.d0, data.d1);
...and the error disappeared, but now my code does not perform reading, as it did with one task. Apparently, the problem is how I organize tasks in FreeRTOS
by dr.modi
Tue Jan 31, 2023 12:53 pm
Forum: ESP-IDF
Topic: Guru Meditation Error: Core 1 panic'ed (LoadProhibited) when using two xTaskCreate
Replies: 5
Views: 4143

Guru Meditation Error: Core 1 panic'ed (LoadProhibited) when using two xTaskCreate

Hello everyone. I'm using the wiegand connection example from this repository . I edited the "task" function so that initialization depends on the arguments passed. wiegand_data_t data = *(wiegand_data_t *)arg; printf("D0 = %d, D1 = %d\n", data.d0, data.d1); // Initialize reader ESP_ERROR_CHECK(wieg...