As the title, I'd like to reset the Arduino sketch from the linux machine. Is it possible? how?

One solution could be to save the hex file inside the sd card and then upload it via the lua sketch but I think there is a smarter solution.


Use command reset-mcu: it's a linux script that resets the 32u4 via GPIO


According to the Yun schematic, GPIO18 of the SoC is connected to the MCU reset circuitry. Toggling it should allow you to reset the MCU.

  • I lightly understand what are you saying. Any ideas on how practically do it? – nkint Aug 2 '14 at 17:03
  • Depends on where you are when you want to reset it. C? Python? Shell? – Ignacio Vazquez-Abrams Aug 2 '14 at 17:10
  • python or shell.. c is only the last resource (I'm not good at C) – nkint Aug 2 '14 at 21:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.