Page 1 of 1

ItsyBitsy M4 Trigger Bootloader Mode via USB

Posted: Mon Jan 23, 2023 6:28 pm
by User91827
I would like to be able to trigger the bootloader mode from the USB connection. I see this happen when an Arduino sketch is loaded, so I think it is possible. I am looking to be able to do this on demand so that I can update the code via a remote system.

My setup is a Raspberry Pi which I can access via SSH connected to the ItsyBitsy M4 via USB. Usually I leverage the USB CDC Serial connection, but occasionally would like to be able to update the software on the ItsyBitsy without needing to connect it to my main computer.

I am not asking for a comprehensive solution, as I think I have the other pieces sorted out. Just looking to be able to switch to bootloader mode without needing to physically hit the reset button.

Re: ItsyBitsy M4 Trigger Bootloader Mode via USB

Posted: Tue Jan 24, 2023 10:57 pm
by adafruit_support_mike
On the computer side, open a 1200-baud Serial connection then close it. That's the signal the Arduino IDE uses to trigger a reboot when uploading new firmware.