Please note: Friday June 18 is a holiday celebrating Juneteenth, please allow extra time for your order to arrive and plan accordingly.
0

Reboot Feather M4 Express via USB
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Reboot Feather M4 Express via USB

by robtsuk on Thu Apr 08, 2021 1:17 pm

Is there any way to reboot the Feather M4 Express by sending it a command via USB? From reading it seems like the Arduino IDE manages it, but the IDE hangs on my Mac so I haven't been able to test it.
robtsuk
 
Posts: 11
Joined: Tue Jan 15, 2013 1:17 am

Re: Reboot Feather M4 Express via USB

by robtsuk on Thu Apr 08, 2021 6:58 pm

I think I figured it out. It looks like here https://github.com/arduino/ArduinoCore-samd/blob/9f91accecc8298976670234e4d6ac0afef5c7a39/cores/arduino/USB/CDC.cpp#L160 the sketch runtime interprets the USB serial port being opened at 1200baud then closed as a signal to reset.
robtsuk
 
Posts: 11
Joined: Tue Jan 15, 2013 1:17 am

Please be positive and constructive with your questions and comments.