Other Parts Discussed in Thread: EK-TM4C1294XL
Hello All,
I have custom board which has both tiva mcu and esp32/wifi. I want to do firmware update. to do that, I need to connect to the tcp server which comes firmware file. After custom board connect to tcp server via wifi/esp32 and send 0x43 (C) data to the server, firmware update will start. it means, tcp server will start to send hex data to the esp32 module. and esp module will send these hex data to the mcu via uart.
sending process will be like :
mcu will send C to the esp32 via uart, esp module send C to the tcp server
after tcp server recieve C, will start to send 1024 data packet to the esp module. mcu will take this packet from esp32 via uart.
after mcu take this packet, will send ACK to the esp, esp will send ACK to the server.
after tcp server receive ACK, will send another data packet to the esp.
and so on.
I have done connecting to the server and mcu via esp module.
but I dont know how to firmware update.
Does this method work correctly ? Is there any example code and source to do that? Do you have any idea or advice to do that?
thank you
BR
Bekir