Browse Source

Changed 1284p fuse setting for 8, 16 and 20 Mhz

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
Ronald 11 years ago
parent
commit
f303129fb6
1 changed files with 9 additions and 9 deletions
  1. 9
    9
      ArduinoAddons/Arduino_0.xx/Sanguino/boards.txt

+ 9
- 9
ArduinoAddons/Arduino_0.xx/Sanguino/boards.txt View File

44
 atmega12848m.upload.maximum_size=131072
44
 atmega12848m.upload.maximum_size=131072
45
 atmega12848m.upload.speed=19200
45
 atmega12848m.upload.speed=19200
46
 
46
 
47
-atmega12848m.bootloader.low_fuses=0xFD
48
-atmega12848m.bootloader.high_fuses=0x9A
49
-atmega12848m.bootloader.extended_fuses=0xFF
47
+atmega12848m.bootloader.low_fuses=0xD6
48
+atmega12848m.bootloader.high_fuses=0xDA
49
+atmega12848m.bootloader.extended_fuses=0xFD
50
 atmega12848m.bootloader.path=atmega
50
 atmega12848m.bootloader.path=atmega
51
 atmega12848m.bootloader.file=ATmegaBOOT_168_atmega1284p_8m.hex
51
 atmega12848m.bootloader.file=ATmegaBOOT_168_atmega1284p_8m.hex
52
 atmega12848m.bootloader.unlock_bits=0x3F
52
 atmega12848m.bootloader.unlock_bits=0x3F
64
 atmega1284.upload.maximum_size=131072
64
 atmega1284.upload.maximum_size=131072
65
 atmega1284.upload.speed=57600
65
 atmega1284.upload.speed=57600
66
 
66
 
67
-atmega1284.bootloader.low_fuses=0xFF
68
-atmega1284.bootloader.high_fuses=0x9A
69
-atmega1284.bootloader.extended_fuses=0xFF
67
+atmega1284.bootloader.low_fuses=0xD6
68
+atmega1284.bootloader.high_fuses=0xDA
69
+atmega1284.bootloader.extended_fuses=0xFD
70
 atmega1284.bootloader.path=atmega
70
 atmega1284.bootloader.path=atmega
71
 atmega1284.bootloader.file=ATmegaBOOT_168_atmega1284p.hex
71
 atmega1284.bootloader.file=ATmegaBOOT_168_atmega1284p.hex
72
 atmega1284.bootloader.unlock_bits=0x3F
72
 atmega1284.bootloader.unlock_bits=0x3F
85
 atmega1284s.upload.maximum_size=131072
85
 atmega1284s.upload.maximum_size=131072
86
 atmega1284s.upload.speed=57600
86
 atmega1284s.upload.speed=57600
87
 
87
 
88
-atmega1284s.bootloader.low_fuses=0xFF
89
-atmega1284s.bootloader.high_fuses=0x9A
90
-atmega1284s.bootloader.extended_fuses=0xFF
88
+atmega1284s.bootloader.low_fuses=0xD6
89
+atmega1284s.bootloader.high_fuses=0xDA
90
+atmega1284s.bootloader.extended_fuses=0xFD
91
 atmega1284s.bootloader.path=atmega
91
 atmega1284s.bootloader.path=atmega
92
 atmega1284s.bootloader.file=ATmegaBOOT_168_atmega1284p.hex
92
 atmega1284s.bootloader.file=ATmegaBOOT_168_atmega1284p.hex
93
 atmega1284s.bootloader.unlock_bits=0x3F
93
 atmega1284s.bootloader.unlock_bits=0x3F

Loading…
Cancel
Save