diff options
Diffstat (limited to 'firmware/dump.rb')
-rw-r--r-- | firmware/dump.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/dump.rb b/firmware/dump.rb new file mode 100644 index 0000000..471d6d4 --- /dev/null +++ b/firmware/dump.rb @@ -0,0 +1,3 @@ +`rm temp-dump.bin` +`avrdude -c usbtiny -p t85 -U flash:r:temp-dump.bin:r` +puts open('temp-dump.bin').read(30).bytes.to_a.map { |x| x.to_s(16) }.join(' ') |