ARM7 based quadrocopter
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

download.sh 305B

12 years ago
12345678910111213141516171819
  1. #!/bin/bash
  2. echo -e "
  3. sleep 10
  4. reset halt
  5. wait_halt
  6. mww 0xfffffd08 0xa5000001
  7. sleep 10
  8. arm7_9 sw_bkpts disable
  9. arm7_9 force_hw_bkpts enable
  10. arm7_9 dcc_downloads enable
  11. sleep 10
  12. flash probe 0
  13. flash info 0
  14. flash auto_erase on
  15. flash write_image build/sam7fc.elf
  16. sleep 10
  17. reset run
  18. exit" | nc localhost 4444