Skip to main content
Associate
September 1, 2023
Solved

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

  • September 1, 2023
  • 4 replies
  • 4867 views

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.

This topic has been closed for replies.
Best answer by Issamos

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

4 replies

Issamos
IssamosBest answer
Super User
September 4, 2023

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

prathapAuthor
Associate
September 8, 2023

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  

Issamos
Super User
September 8, 2023

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