User Tools

Site Tools


init

This is an old revision of the document!


How to factory-reset your roket?

This procedure brings your r0ket back into shape in case it is not working.

Use this procedure also if you are installing the 28c3 firmware for the first time:

Linux

  1. Turn r0ket off (switch position down)
  2. Plug micro-USB cable into r0ket and Computer
  3. Hold joystick to the left
  4. Turn r0ket on (switch position up)
  5. Release joystick
  6. Wait about 30 seconds.
  7. Write firmware.bin to r0ket
    • If any automounter is running you should have /media/CRP ENABLD/firmware.bin, write the new firmware by running:
      • dd if=firmware.bin of=“/media/CRP ENABLD/firmware.bin”
    • If you don't have any automounter, you just have a new usb device like /dev/sdX. (check “dmesg” to find the name). Write the new firmware by running (as root)
      • dd if=firmware.bin bs=512 seek=4 of=/dev/sdX
  8. Turn r0ket off.
  9. Hold joystick down
  10. Turn r0ket on.
  11. Write new dataflash image
    • If there is already a filesystem on the r0ket, the automounter will mount it. Please unmount it by running (as root)
      • umount /media/XXXX-XXXX
  12. Write the new image by running (as root) (again, check “dmesg” to find the device name)
    • dd if=dataflash.img of=/dev/sdX
  13. run “sync”, wait until all data is written
  14. turn off r0ket

You're done. Yay!

Windows

  1. Turn r0ket off (switch position down)
  2. Plug micro-USB cable into r0ket and Computer
  3. Hold joystick to the left
  4. Turn r0ket on (switch position up)
  5. Release joystick
  6. Wait about 30 seconds.
  7. Write firmware.bin to r0ket
    • run “copy firmware.bin G:” (check the drive letter first – or just do it via drag&drop)
  8. Turn r0ket off.
  9. Hold joystick down
  10. Turn r0ket on.
  11. Write new dataflash image
    • Either use a tool like ImageWriter
      • select dataflash.img as source and the USB r0ket as target
    • or write with dd for windows with a command like

dd if=dataflash.img of=\\.\g: # (check drive-letter first)

  1. wait until all data is written
  2. turn off r0ket

You're done. Yay!

The needed files will be on this page soon. Check back on Dec 22nd…

firmware.bin dataflash.img

init.1324494068.txt.gz · Last modified: 2011/12/21 20:01 by sec