Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ Forum
➜ Problems
➜ Problem regarding 2560 Fuses
Problem regarding 2560 Fuses
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Amphibious
(1 post) Bio
|
Date
| Tue 17 Sep 2013 06:28 PM (UTC) |
Message
| 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
Quote:
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
Quote:
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!
Cheers
ff
| Top |
|
Posted by
| Nick Gammon
Australia (23,140 posts) Bio
Forum Administrator |
Date
| Reply #1 on Tue 17 Sep 2013 10:37 PM (UTC) |
Message
| |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | 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.
13,182 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top