I have a Teensy4.1 project where I may need to update code but where I cannot always use the microUSB connector and cable. That's because the Teensy sits inside a high pressure container, inside its own atmospheric chamber, and every wire extra in and out of that system is barely affordable. Plus the cable might be just too long for standard USB (also at low speed USB).
What I'd like to be able to do is download new code over other channels. Think RS485 over Serial1. Or over a CAN bus, that I do use also.
Is it conceivable that I push a binary or hex file onto the uSD card and then tell the Teensy to reboot (power on reset) and let it swallow that code file and then delete it from the SD card - just so that it behaves after that the same way as if I had loaded the code over the USB channel?
Wireless 'over the air' Teensy code updates (if it has a LoRa/WiFi/BT radio) - would that ever be possible at all?
What I'd like to be able to do is download new code over other channels. Think RS485 over Serial1. Or over a CAN bus, that I do use also.
Is it conceivable that I push a binary or hex file onto the uSD card and then tell the Teensy to reboot (power on reset) and let it swallow that code file and then delete it from the SD card - just so that it behaves after that the same way as if I had loaded the code over the USB channel?
Wireless 'over the air' Teensy code updates (if it has a LoRa/WiFi/BT radio) - would that ever be possible at all?