Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- #
- # by Matt Sephton, http://www.gingerbeardman.com
- # version 0.1, 24-May-2012
- #
- echo "RETRODE UPGRADE SCRIPT, 0.1"
- echo "==========================="
- echo "1. HOLD upper button (HWB)"
- echo "2. PRESS and RELEASE lower button (RESET)"
- echo "3. RELEASE upper button (HWB)"
- read -p "Press ENTER to CONTINUE or Ctrl+C to CANCEL"
- ./dfu-programmer at90usb646 get product-revision
- read -p "Press ENTER to CONTINUE or Ctrl+C to CANCEL"
- echo "ERASING FLASH"
- ./dfu-programmer at90usb646 erase
- echo "PROGRAMMING FLASH"
- ./dfu-programmer at90usb646 flash *.hex
- echo "DONE"
- echo "PRESS lower button (RESET) to reboot Retrode"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement