Skip to content

Commit

Permalink
Changed 1284p fuse setting for 8, 16 and 20 Mhz
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Opticalworm committed Feb 2, 2014
1 parent a864d9d commit f303129
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions ArduinoAddons/Arduino_0.xx/Sanguino/boards.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ atmega12848m.upload.protocol=stk500
atmega12848m.upload.maximum_size=131072
atmega12848m.upload.speed=19200

atmega12848m.bootloader.low_fuses=0xFD
atmega12848m.bootloader.high_fuses=0x9A
atmega12848m.bootloader.extended_fuses=0xFF
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
Expand All @@ -64,9 +64,9 @@ atmega1284.upload.protocol=stk500
atmega1284.upload.maximum_size=131072
atmega1284.upload.speed=57600

atmega1284.bootloader.low_fuses=0xFF
atmega1284.bootloader.high_fuses=0x9A
atmega1284.bootloader.extended_fuses=0xFF
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
Expand All @@ -85,9 +85,9 @@ atmega1284s.upload.protocol=stk500
atmega1284s.upload.maximum_size=131072
atmega1284s.upload.speed=57600

atmega1284s.bootloader.low_fuses=0xFF
atmega1284s.bootloader.high_fuses=0x9A
atmega1284s.bootloader.extended_fuses=0xFF
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
Expand Down

0 comments on commit f303129

Please sign in to comment.