cancel
Showing results for 
Search instead for 
Did you mean: 

BIN file uploaded STM32f103C8 using OTA (over the air) method using ESP8266

prathap
Associate II

Hi,

I have attached code for .ino .cpp .h has changed to txt file attached here, please verify my code i get error server for erase function failure. and some time not working properly please assist us. please say how to solve this issue. my error was attached with image.

1 ACCEPTED SOLUTION

Accepted Solutions
Issamos
Lead II

Hello @prathap  and sorry for the late feedback.

I suggest you to use this GitHub together with this video. I think that will do the job.

Hope this is helpful. If your question is answered please check this answer as best answer to be diffused.

Best regards.

II

View solution in original post

4 REPLIES 4
Issamos
Lead II

Hello @prathap  and sorry for the late feedback.

I suggest you to use this GitHub together with this video. I think that will do the job.

Hope this is helpful. If your question is answered please check this answer as best answer to be diffused.

Best regards.

II

I am using your suggest GitHub code but I get error on - 

C:\Users\star\Documents\Arduino\STM\stm32ota.cpp: In function 'String stm32GetId()':
C:\Users\star\Documents\Arduino\STM\stm32ota.cpp:149:1: error: control reaches end of non-void function [-Werror=return-type]
149 | }
| ^
cc1plus.exe: some warnings being treated as errors

exit status 1

Compilation error: control reaches end of non-void function [-Werror=return-type].

and also I get Erase function is failure, I have attached image for I get the error and also i attached Arduino code as txt file, please assist us.WhatsApp Image 2023-09-01 at 12.40.00 PM (1).jpegWhatsApp Image 2023-08-30 at 2.52.15 PM (2).jpeg  

Hello @prathap 

I'm not understanding the issue.

To give more audience to your question. Please post it in a new post.

Best regards.

II

I am using code for you suggest github. I am compile my code i have get an issue for compiler error for - control reaches end of non-void function [-Werror=return-type]. I removed else part in this code, The error is removed but code executed only else part condition and Failure function is not working- failure error. What steps can I take to resolve this problem?