Search found 23 matches

by Swagger
Mon Jun 22, 2020 12:20 pm
Forum: General Discussion
Topic: esp32 -Jtag Programming
Replies: 5
Views: 704

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: 14
Views: 1069

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: 14
Views: 1069

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...
by Swagger
Fri Jun 19, 2020 1:58 pm
Forum: General Discussion
Topic: esp32 Update from spiffs
Replies: 14
Views: 1069

Re: esp32 Update from spiffs

FYI, the partition table would be *a* reason why this could not work, but given that you now corrected it and you still have the error, it's not that. Perhaps you can show the code you're using? Maybe that helps us. Please find the attached snippet void ota_task(void *pvParameter) { esp_err_t err; ...
by Swagger
Thu Jun 18, 2020 11:57 am
Forum: General Discussion
Topic: esp32 -Jtag Programming
Replies: 5
Views: 704

Re: esp32 -Jtag Programming

Hi, I had gone through the documents you suggested. I am programming esp32 Wrover b chip on my on PCB. I had used the below command to upload the firmware to the esp32 using jtag. I was using esp -prog ------------------------------ openocd -f interface/ftdi/esp32_devkitj_v1.cfg -f board/esp32-wrove...
by Swagger
Tue Jun 16, 2020 8:32 am
Forum: General Discussion
Topic: esp32 Update from spiffs
Replies: 14
Views: 1069

Re: esp32 Update from spiffs

Is this partition table configuration is causing the problem? or is it something else?
by Swagger
Mon Jun 15, 2020 10:38 am
Forum: General Discussion
Topic: esp32 Update from spiffs
Replies: 14
Views: 1069

Re: esp32 Update from spiffs

ESP_Sprite wrote:
Mon Jun 15, 2020 10:10 am
How much flash does your module have?
Hi, Total 4 MB
by Swagger
Mon Jun 15, 2020 2:38 am
Forum: General Discussion
Topic: esp32 Update from spiffs
Replies: 14
Views: 1069

Re: esp32 Update from spiffs

Why are your OTA partitions only 32K? No way your app fits in that. It would be really appreciated if you could explain a little more in detail. I am a bit confused here. I tried with the below partition also but ended with the same result. # Name Type SubType Offset Size Flags # Note: if you have ...
by Swagger
Sun Jun 14, 2020 8:49 am
Forum: General Discussion
Topic: esp32 Update from spiffs
Replies: 14
Views: 1069

Re: esp32 Update from spiffs

It would be really appreciated if you could explain a little more in detail. I am a bit confused here.
by Swagger
Sun Jun 14, 2020 7:44 am
Forum: General Discussion
Topic: esp32 Update from spiffs
Replies: 14
Views: 1069

Re: esp32 Update from spiffs

any idea? iam really stuck here.

Go to advanced search