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.

asked Aug 2, 2014 at 16:47

2 Answers 2

3

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

answered Aug 20, 2014 at 8:56
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.

answered Aug 2, 2014 at 17:02
4
  • I lightly understand what are you saying. Any ideas on how practically do it? Commented Aug 2, 2014 at 17:03
  • Depends on where you are when you want to reset it. C? Python? Shell? Commented Aug 2, 2014 at 17:10
  • python or shell.. c is only the last resource (I'm not good at C) Commented Aug 2, 2014 at 21:05
  • linino.org/doku.php?id=wiki:gpio Commented Aug 3, 2014 at 2:25

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.