I'm using a raspberry Pi Pico and I'm struggling to find if it's possible to update my script remotely (I cannot use neither SWD or USB). Currently my new firmware (can be .uf2, .bin or .hex file) is stocked in my Pico in the form of an array that I remotely sent, I would like to know if there is any way for me to update the Pico just by rebooting it on the new firmware.
I guess I will have to write my own bootloader but I have no idea where to start and there might be a simplier option (maybe partitionning the flash memory ?).
I'm open to any kind of idea since I don't really know how to start.