OTA update both esp32 and a slave MCU attached via UART
Posted: Wed Apr 08, 2020 4:18 pm
hi, first post on these forums but ive used them time and time again when i have had queries or needed guidance and guidence is really what i need right now.
im currently working on a project that involves using a esp32 to do some light calculations but mainly itll be used for communicating over wifi to a network/ through to a database, and a PSoc 6 to do other functionality. both are currently connected over UART.
ive got the esp32 OTA self updating by referencing stored variables on the esp32 against data stored within the database and it does its thing from there, so i know im able to pull the .bin from the server. the part im getting stuck on is how to pull/ store and then distribute a .bin file over UART to the PSoc (what the PSoc does with the file isnt relevant to me right now, i mainly need the esp to be able to transfer the file over)
any help would be greatly appreciated
im currently working on a project that involves using a esp32 to do some light calculations but mainly itll be used for communicating over wifi to a network/ through to a database, and a PSoc 6 to do other functionality. both are currently connected over UART.
ive got the esp32 OTA self updating by referencing stored variables on the esp32 against data stored within the database and it does its thing from there, so i know im able to pull the .bin from the server. the part im getting stuck on is how to pull/ store and then distribute a .bin file over UART to the PSoc (what the PSoc does with the file isnt relevant to me right now, i mainly need the esp to be able to transfer the file over)
any help would be greatly appreciated