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?
Take the 2-minute tour
×
Arduino Stack Exchange is a question and answer site for developers of open-source hardware and software that is compatible with Arduino. It's 100% free, no registration required.
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 ( |
|||||||||
|
avrdude
. You need to call something likeavrdude -pattiny45 -cstk500v1 -Uflash:r:filename.hex:i
– Gerben 14 hours ago