2

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.

2 Answers 2

3

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

2

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.

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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