[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  Forum
. -> [Folder]  Problems
. . -> [Subject]  Problem regarding 2560 Fuses
Home  |  Users  |  Search  |  FAQ
Register forum user name
Forgotten password?

Problem regarding 2560 Fuses

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Posted by Amphibious   (1 post)  [Biography] bio
Date Tue 17 Sep 2013 06:28 PM (UTC)
Hi Nick,

first of all: thank you for your work! Providing people with working code _and_ useful interfaces is really a great thing to do!

I made a custom 2560 board and uploaded a bootloader with your board_programmer and it works fine. Now I got a second chip and soldered it on a similar board and it won't do. The connections seem fine but apparently it doesn't use the external oscillator (at least there's no frequency to read there with my scope).

When trying to program, verifying fails

Verification error at address 3E000. Got: 0xFF Expected: 0x0D
Verification error at address 3E064. Got: 0xFF Expected: 0x0D
5756 verification error(s).

and looking on what you wrote about the bootloader starting address, this starting point seems to be odd.

Using your fuse calculator I get

Entered programming mode OK.
Signature = 0x1E 0x98 0x01
Processor = ATmega2560
Flash memory size = 262144
LFuse = 0x62
HFuse = 0x99
EFuse = 0xFF
Lock byte = 0xFF
Clock calibration = 0x8D
OCD Enable.............................. [ ]
JTAG Enable............................. [X]
Enable Serial (ICSP) Programming........ [X]
Watchdog Timer Always On................ [ ]
Preserve EEPROM through chip erase...... [ ]
Boot into bootloader.................... [ ]
Divide clock by 8....................... [X]
Clock output............................ [ ]
Bootloader size: 8192 bytes.
Start-up time: SUT0: [X] SUT1: [ ] (see datasheet)
Clock source: calibrated internal oscillator.
Brownout detection at: disabled.

I tried to set fuses with your hex_programmer, but there it won't respond.

Any idea what could be wrong here? Do I need to get an AVR Dragon for this?

Thanks for reading!

[Go to top] top

Posted by Nick Gammon   Australia  (21,563 posts)  [Biography] bio   Forum Administrator
Date Reply #1 on Tue 17 Sep 2013 10:37 PM (UTC)
Template:Arduino Please post Arduino-related questions to the Arduino Forum or to StackExchange: Arduino. This saves splitting questions and answers between this forum and the Arduino ones.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum

[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]