5

As it is possible to program a ATtiny45 using Arduino as ISP Programmer, is there a way to backup an ATtiny45 program to a .hex file using Arduino?

asked Oct 9, 2014 at 7:39
1
  • 2
    You'll have to use the commandline for that. Inside the arduino program folder there is another executable called avrdude. You need to call something like avrdude -pattiny45 -cstk500v1 -Uflash:r:filename.hex:i Commented Oct 9, 2014 at 16:27

1 Answer 1

5

Assuming the lock bits on the device haven't been set, sure. Simply prepare the Arduino for ArduinoISP, hook up the ATtiny45, and perform a read using AVRDUDE instead of a write (-U flash:r:foo.hex:i).

answered Oct 9, 2014 at 7:56
1
  • Sorry, totally missed your mention of that. Commented Oct 9, 2014 at 15:31

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.