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.
ItsyBitsy M4 Trigger Bootloader Mode via USB
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- User91827
- Posts: 5
- Joined: Fri Jul 23, 2021 11:09 pm
- adafruit_support_mike
- Posts: 66298
- Joined: Thu Feb 11, 2010 2:51 pm
Re: ItsyBitsy M4 Trigger Bootloader Mode via USB
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.
Please be positive and constructive with your questions and comments.