Symtopns: - X axis move in one direction - limit switches fail to trigger - unable to reprogram the device via bootloader - stops working when the reset switch is pressed. - device fails to bootup when power by a slow raise power supply. Solution: - Disabled the jtag - set the correct clock selection bit - set the correct bootloader memory size - enable brown-out setting - enable clock power up delay
		
			
				
	
	
		
			100 lines
		
	
	
		
			2.9 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			100 lines
		
	
	
		
			2.9 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| ##############################################################
 | |
| 
 | |
| sanguino.name=Sanguino
 | |
| sanguino.upload.protocol=stk500
 | |
| sanguino.upload.maximum_size=63488
 | |
| sanguino.upload.speed=38400
 | |
| sanguino.bootloader.low_fuses=0xFF
 | |
| sanguino.bootloader.high_fuses=0xDC
 | |
| sanguino.bootloader.extended_fuses=0xFD
 | |
| sanguino.bootloader.path=atmega644p
 | |
| sanguino.bootloader.file=ATmegaBOOT_644P.hex
 | |
| sanguino.bootloader.unlock_bits=0x3F
 | |
| sanguino.bootloader.lock_bits=0x0F
 | |
| sanguino.build.mcu=atmega644p
 | |
| sanguino.build.f_cpu=16000000L
 | |
| sanguino.build.core=arduino
 | |
| 
 | |
| ##############################################################
 | |
| 
 | |
| atmega644.name=Sanguino W/ ATmega644P
 | |
| 
 | |
| atmega644.upload.protocol=stk500
 | |
| atmega644.upload.maximum_size=63488
 | |
| atmega644.upload.speed=57600
 | |
| 
 | |
| atmega644.bootloader.low_fuses=0xFF
 | |
| atmega644.bootloader.high_fuses=0x9A
 | |
| atmega644.bootloader.extended_fuses=0xFF
 | |
| atmega644.bootloader.path=atmega
 | |
| atmega644.bootloader.file=ATmegaBOOT_168_atmega644p.hex
 | |
| #atmega644.bootloader.file=ATmegaBOOT_644P.hex
 | |
| atmega644.bootloader.unlock_bits=0x3F
 | |
| atmega644.bootloader.lock_bits=0x0F
 | |
| 
 | |
| atmega644.build.mcu=atmega644p
 | |
| atmega644.build.f_cpu=16000000L
 | |
| atmega644.build.core=arduino
 | |
| 
 | |
| ##############################################################
 | |
| 
 | |
| atmega12848m.name=Sanguino W/ ATmega1284p 8mhz
 | |
| 
 | |
| atmega12848m.upload.protocol=stk500
 | |
| atmega12848m.upload.maximum_size=131072
 | |
| atmega12848m.upload.speed=19200
 | |
| 
 | |
| atmega12848m.bootloader.low_fuses=0xD6
 | |
| atmega12848m.bootloader.high_fuses=0xDA
 | |
| atmega12848m.bootloader.extended_fuses=0xFD
 | |
| atmega12848m.bootloader.path=atmega
 | |
| atmega12848m.bootloader.file=ATmegaBOOT_168_atmega1284p_8m.hex
 | |
| atmega12848m.bootloader.unlock_bits=0x3F
 | |
| atmega12848m.bootloader.lock_bits=0x0F
 | |
| 
 | |
| atmega12848m.build.mcu=atmega1284p
 | |
| atmega12848m.build.f_cpu=8000000L
 | |
| atmega12848m.build.core=arduino
 | |
| 
 | |
| ##############################################################
 | |
| 
 | |
| atmega1284.name=Sanguino W/ ATmega1284p 16mhz
 | |
| 
 | |
| atmega1284.upload.protocol=stk500
 | |
| atmega1284.upload.maximum_size=131072
 | |
| atmega1284.upload.speed=57600
 | |
| 
 | |
| atmega1284.bootloader.low_fuses=0xD6
 | |
| atmega1284.bootloader.high_fuses=0xDA
 | |
| atmega1284.bootloader.extended_fuses=0xFD
 | |
| atmega1284.bootloader.path=atmega
 | |
| atmega1284.bootloader.file=ATmegaBOOT_168_atmega1284p.hex
 | |
| atmega1284.bootloader.unlock_bits=0x3F
 | |
| atmega1284.bootloader.lock_bits=0x0F
 | |
| 
 | |
| atmega1284.build.mcu=atmega1284p
 | |
| atmega1284.build.f_cpu=16000000L
 | |
| atmega1284.build.core=arduino
 | |
| 
 | |
| 
 | |
| ##############################################################
 | |
| 
 | |
| atmega1284s.name=Sanguino W/ ATmega1284p 20mhz
 | |
| 
 | |
| atmega1284s.upload.protocol=stk500
 | |
| atmega1284s.upload.maximum_size=131072
 | |
| atmega1284s.upload.speed=57600
 | |
| 
 | |
| atmega1284s.bootloader.low_fuses=0xD6
 | |
| atmega1284s.bootloader.high_fuses=0xDA
 | |
| atmega1284s.bootloader.extended_fuses=0xFD
 | |
| atmega1284s.bootloader.path=atmega
 | |
| atmega1284s.bootloader.file=ATmegaBOOT_168_atmega1284p.hex
 | |
| atmega1284s.bootloader.unlock_bits=0x3F
 | |
| atmega1284s.bootloader.lock_bits=0x0F
 | |
| 
 | |
| atmega1284s.build.mcu=atmega1284p
 | |
| atmega1284s.build.f_cpu=20000000L
 | |
| atmega1284s.build.core=arduino
 | |
| #
 |