Search found 28 matches

by Swagger
Tue Nov 01, 2022 4:41 pm
Forum: General Discussion
Topic: how to effectively use ESP timer interrupt callback.
Replies: 1
Views: 3248

how to effectively use ESP timer interrupt callback.

I was working on a project where I should send some data to a cloud infrastructure at a specific frequency. So I was trying to figure out an apt method to do so. methods am trying : 1) We could create a task and set up a function to send the data to every specific interval and use task delay for the...
by Swagger
Sat Feb 27, 2021 5:05 am
Forum: General Discussion
Topic: BT_HCI: host_recv_pkt_cb couldn't aquire memory for inbound data buffer.
Replies: 3
Views: 2946

Re: BT_HCI: host_recv_pkt_cb couldn't aquire memory for inbound data buffer.

I am also having a similar problem. Is there any way we could actually release/clear the memeory. BLE Stack is completely getting stuck and no memory left after burning out all the memory with incoming and outgoing data. Is there any mechanism that we could do in order to avoid such situations
by Swagger
Thu Nov 19, 2020 11:03 am
Forum: ESP-IDF
Topic: ESP32 over BLE
Replies: 0
Views: 1538

ESP32 over BLE

Hi iam working on an OTA over BLE through ESP32. I just need some guidance on how i should create the characteristics. Should i go for characteristics without response and app will completely send the data without any ack. Or is better to get an ack to confirm that the file has reached in the esp32 ...
by Swagger
Sat Aug 29, 2020 6:25 am
Forum: General Discussion
Topic: esp32 -Jtag Programming
Replies: 5
Views: 5749

Re: esp32 -Jtag Programming

hi, I am also having the same issue. But once I program the chip using UART, from there onwards there is not issue with JTAG.

But when trying with JTAG alone , facing same issue. Don't know what is the problem.
by Swagger
Wed Aug 12, 2020 2:30 am
Forum: General Discussion
Topic: mbedtls_ssl_handshake returned -0x10
Replies: 0
Views: 1688

mbedtls_ssl_handshake returned -0x10

Hi, I was using esp azure example to communicate with the Azure cloud. In my code, I have both wifi and BLE implemented in a separate task. I'm switching between these task based on certain conditions. after some switch between tasks, I am getting this error [0;32mI (337692) platform: The current da...
by Swagger
Mon Aug 03, 2020 6:42 am
Forum: General Discussion
Topic: Not able to implement Secure Boot
Replies: 2
Views: 3324

Re: Not able to implement Secure Boot

I think i lost the chip.
by Swagger
Tue Jul 21, 2020 3:01 pm
Forum: General Discussion
Topic: Not able to implement Secure Boot
Replies: 2
Views: 3324

Not able to implement Secure Boot

Hi i was trying the secure boot functionality. Flowed the steps provided in the below link:https://docs.espressif.com/projects/esp-idf/en/latest/esp32/security/secure-boot-v1.html I was trying on the reflashable method. Steps followed: 1)Enabled secure boot in the menuconfig.Secure bootloader mode s...
by Swagger
Mon Jun 22, 2020 12:20 pm
Forum: General Discussion
Topic: esp32 -Jtag Programming
Replies: 5
Views: 7350

Re: esp32 -Jtag Programming

Solved. You should include reset command while flashing the board.
openocd -f interface/ftdi/esp32_devkitj_v1.cfg -f board/esp32-wrover.cfg -c "program_esp32 firmware.bin 0x10000 verify reset exit"
by Swagger
Sun Jun 21, 2020 11:01 am
Forum: General Discussion
Topic: esp32 Update from spiffs
Replies: 15
Views: 13144

Re: esp32 Update from spiffs

Hi, Thanks, bro. my mistake. I had corrected the code. Attaching the working snippet. not a tidy code. just for functionality testing. void esp32_ota_task(void *pvParameter) { esp_err_t err; /* update handle : set by esp_ota_begin(), must be freed via esp_ota_end() */ esp_ota_handle_t update_handle ...
by Swagger
Sun Jun 21, 2020 6:30 am
Forum: General Discussion
Topic: esp32 Update from spiffs
Replies: 15
Views: 13144

Re: esp32 Update from spiffs

I see at least two issues casually browsing through your code. There may be more, but these I noticed: Minor but potentially killing: You use fread in such a way that it fails to read the last bytes of data if the size of the update file is not a multiple of 1024. (nmemb vs size arguments) Major an...