Search found 48 matches

by Prasad
Sun Jul 04, 2021 1:31 pm
Forum: ESP-IDF
Topic: OTA Firmware update fails
Replies: 1
Views: 3137

OTA Firmware update fails

I'm attempting to update my device firmware using OTA. My current firmware version is V1 and I'm attempting to update to V2 . The output of ` esp_https_ota(&config) ` function returns ' ESP_OK '. However, the application fails to boot after rebooting the device. Below is my log output, I (34903) FIR...
by Prasad
Mon Jun 07, 2021 12:28 pm
Forum: General Discussion
Topic: BLE Object Transfer Service OACP advice?
Replies: 4
Views: 19589

Re: BLE Object Transfer Service OACP advice?

Hi jcwren,

I'm in the exact same situation. Were you able to progress?
by Prasad
Sat May 15, 2021 7:53 pm
Forum: ESP-IDF
Topic: Support for BLE Object transfer service (OTS)
Replies: 3
Views: 9768

Re: Support for BLE Object transfer service (OTS)

Hello Gibson,

I'm just wondering if you got any further with regards to opening L2CAP channel to receive data? It seems like there is very little to no information within Espressif ecosystem. Try searching L2CAP in forum search and the server returns 500 error :D

Best Regards,
Prasad.
by Prasad
Sat May 15, 2021 6:34 pm
Forum: General Discussion
Topic: ESP32 BLE L2CAP example
Replies: 1
Views: 3694

ESP32 BLE L2CAP example

Is there any example or documentation which illustrates usage of L2CAP protocol?

I just tried search on this forum with keyword "L2CAP" and it returns server error 500. All the other keywords are working just fine, weird..
by Prasad
Fri Feb 05, 2021 7:08 pm
Forum: ESP-IDF
Topic: idf.py erase_flash doesn't work
Replies: 9
Views: 15509

Re: idf.py erase_flash doesn't work

Hi Angus, I have successfully cleared the write protected bits using 'esptool.py write_flash_status --bytes 2 --non-volatile 0'. Now I can write to and read from that chip again.
by Prasad
Mon Jan 25, 2021 8:11 am
Forum: ESP-IDF
Topic: idf.py erase_flash doesn't work
Replies: 9
Views: 15509

Re: idf.py erase_flash doesn't work

Hi Angus, I have desoldered the old flash chip from my PCB. But I will definitely give it a shot and let you know. Thanks.
by Prasad
Fri Jan 22, 2021 7:13 am
Forum: ESP-IDF
Topic: idf.py erase_flash doesn't work
Replies: 9
Views: 15509

Re: idf.py erase_flash doesn't work

You are right @WiFive. I missed that in the datasheet. Thanks for pointing that out. I wonder how that happened as I haven't purposely change any of the status register values before. Anyway, My new flash chips arrived and I just tested and it works fine. I checked ' esptool.py read_flash_status --b...
by Prasad
Wed Jan 20, 2021 12:37 pm
Forum: ESP-IDF
Topic: idf.py erase_flash doesn't work
Replies: 9
Views: 15509

Re: idf.py erase_flash doesn't work

I'm using the GD25Q127 flash chip from GigaDevice and I checked the ' esptool.py read_flash_status --bytes 3 ' and it gave me ' 0x4000fe ' Which is 010000000000000011111110 and the last two bits are Write Enable Latch and Write in Progress respectively. According to the datasheet(Page #14 attached),...
by Prasad
Tue Jan 19, 2021 7:57 am
Forum: ESP-IDF
Topic: idf.py erase_flash doesn't work
Replies: 9
Views: 15509

Re: idf.py erase_flash doesn't work

Indeed it definitely can’t be erased in 0.0 seconds. This is custom hardware I did for one of our client’s product. It still runs fine except I cannot update the firmware with OTA or via serial. It downloads the new firmware but reboots to the factory version. Then I thought that the flash might be ...
by Prasad
Mon Jan 18, 2021 7:08 pm
Forum: ESP-IDF
Topic: idf.py erase_flash doesn't work
Replies: 9
Views: 15509

idf.py erase_flash doesn't work

Does anyone know why my `erase_flash` is not working? I just run the command idf.py -p /dev/tty.usbserial-AB0JNMBP erase_flash and even though it says Chip erase completed successfully it just reboots to the old program. Btw, I'm using a custom partition table as below for my OTA feature. I have 16M...