ARD-RESET-ARDUINO(1)

πŸ“¦
version 1.5.2 Β· 2 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– ard-reset-arduino β€” like, the reset button but make it CLI πŸ’–

okay bestie so this is ard-reset-arduino, a little section-1 manual page (that's the "user commands" shelf in the library, iykyk) from the Arduino CLI Reset era. it does exactly one job and it does it flawlessly. we're obsessed. 🫢


✨ NAME ✨

ard-reset-arduino β€” reset your Arduino board. that's it. that's the whole name. no notes. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

ard-reset-arduino [OPTION]... [PORT]

so it's options, then a port. or no options! or no port! the brackets are giving optional, and honestly? slay. ✨


🌸 DESCRIPTION 🌸

so here's the tea, bestie: resetting an Arduino is not one single move. there are two whole ways to do it, and this tool picks one:

  • you either pulse the DTR line, or
  • you open the USB port at 1200 baud and close it again.

that's it. those are the two vibes. one is a lil electrical boop, the other is the "heyyy πŸ‘‹ 1200 baud... jk bye πŸ’€" maneuver. both are valid. both are iconic. 🌈


πŸŽ€ OPTIONS πŸŽ€

  • --verbose β€” watch what's going on on STDERR. it's the little narrator for your reset. πŸ‘€βœ¨
  • --period β€” specify the DTR pulse width, in seconds. how long do we hold the boop? your call, you're the main character. πŸ’…
  • --caterina β€” reset a Leonardo, Micro, Robot, LilyPadUSB or any similar 32u4-based device. these cuties run the Caterina bootloader, so they need the special treatment. no cap. 🐱

🧚 EXAMPLES 🧚

reset a board on a plain old ACM port, no frills, just vibes:

ard-reset-arduino /dev/ttyACM0

now with the play-by-play commentary AND a 0.1 second pulse width, because we're extra:

ard-reset-arduino --verbose --period=0.1 /dev/cu.usb*

and finally the Caterina special, for all you 32u4 girlies:

ard-reset-arduino --verbose --caterina /dev/ttyUSB0

periodt. πŸ’–


πŸ™ˆ BUGS πŸ™ˆ

not a single known bug in this application. literally flawless. zero. none. nada. ⭐

but if something does go weird on you, please report problems to the author. patches are welcome too β€” we love a collaborator. 🫢


πŸ‘‘ AUTHOR πŸ‘‘

Simon John, git@the-jedi.co.uk β€” the icon, the legend, the whole moment. πŸŽ€


πŸ’œ LICENSE πŸ’œ

Copyright (c) 2014, Simon John. All rights reserved.

This file is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

so like, go forth and remix it, but under LGPL rules, and with no promises whatsoever that it'll work. standard software disclaimer behavior, bestie. 😭

okay that's the whole page!! and just so you know where it came from: this is ard-reset-arduino 1.5.2, dated January 2017, and it lives under the manual name ARD-RESET-ARDUINO(1). mwah. bye bestie, go reset something. πŸ’…πŸ’–βœ¨