I removed that part and tried, then too it is not upgrading. Also, I removed recent codes , then too no luck.Maybe it's hanging in your NVS calls at the end.I am getting the same error again. Please help me to solve this issue.
John A
Buffer size for ota image is 2048 bytes which is a global variable. I tried making it local but device reboots. Is there a way to make this buffer local ?
Thanks
Ritu.