Advertisement
Guest User

Untitled

a guest
Mar 24th, 2011
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.57 KB | None | 0 0
  1. I use a tinyISP and the arduino IDE to burn the bootloader and on the beagle I did:
  2.  
  3. root@cyclops:~# avrdude -cstk500v1 -b57600 -patmega328p  -P/dev/ttyS1 -C /etc/avrdude.conf  -U flash:w:mendel.hex
  4.  
  5. avrdude: AVR device initialized and ready to accept instructions
  6.  
  7. Reading | ################################################## | 100% 0.02s
  8.  
  9. avrdude: Device signature = 0x1e950f
  10. avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed
  11.         To disable this feature, specify the -D option.
  12. avrdude: erasing chip
  13. avrdude: reading input file "mendel.hex"
  14. avrdude: input file mendel.hex auto detected as Intel Hex
  15. avrdude: writing flash (14018 bytes):
  16.  
  17. Writing | ################################################## | 100% 5.14s
  18.  
  19. avrdude: 14018 bytes of flash written
  20. avrdude: verifying flash memory against mendel.hex:
  21. avrdude: load data flash data from input file mendel.hex:
  22. avrdude: input file mendel.hex auto detected as Intel Hex
  23. avrdude: input file mendel.hex contains 14018 bytes
  24. avrdude: reading on-chip flash data:
  25.  
  26. Reading | ################################################## | 100% 4.27s
  27.  
  28. avrdude: verifying ...
  29. avrdude: 14018 bytes of flash verified
  30.  
  31. avrdude: safemode: Fuses OK
  32.  
  33. avrdude done.  Thank you.
  34.  
  35. And when that was finished I tried to see if the firmware was running:
  36.  
  37. root@cyclops:~# cat /dev/ttyS1 &
  38. root@cyclops:~# echo M115 > /dev/ttyS1
  39. root@cyclops:~# ok FIRMWARE_NAME:FiveD_on_Arduino FIRMWARE_URL:http%3A//github.com/triffid/FiveD_on_Arduino/ PROTOCOL_VERSION:1.0 MACHINE_TYPE:Mendel EXTRUDER_COUNT:1 HEATER_COUNT:1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement