ItsyBitsy M4 Trigger Bootloader Mode via USB

Please tell us which board you are using.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Post Reply
User avatar
User91827
 
Posts: 5
Joined: Fri Jul 23, 2021 11:09 pm

ItsyBitsy M4 Trigger Bootloader Mode via USB

Post 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.

User avatar
adafruit_support_mike
 
Posts: 65812
Joined: Thu Feb 11, 2010 2:51 pm

Re: ItsyBitsy M4 Trigger Bootloader Mode via USB

Post 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.

Post Reply
Please be positive and constructive with your questions and comments.

Return to “Itsy Bitsy 32u4, M0, M4”