Skip to main content
Arduino

Return to Question

Copy edited (e.g. ref. <http://en.wikipedia.org/wiki/Hertz#SI_multiples>). Dressed the naked links.
Source Link
jfpoilpret
  • 9.2k
  • 7
  • 38
  • 54

Currently I'm working on a project using an ATmega 2560 microcontroller card with a 10 MHz crystal. My main goal is to use the Arduino IDE to upload sketches to this chip to run my bread board circuit. In the beginning I had planned to use Atmel Studio to upload Arduino Sketches, but I decided to go with the more direct route. I am using two programmers, the Atmel ICE, and the Atmel AVR ISP MKii.

Anyway, here is my issue. I tried to use the Arduino IDE and the MKii to burn the bootloader to the chip. However, it did not work. It uploaded, but I was at that point no longer able to communicate with the device. When I switched to Atmel Studio, and used the ICE programmer, my chip could not be read and recognized (whereas before it could). I can't even program it. (I had bought two.)

I then figured I would try and read the fuse bits on the other programmer and burn the bootloader using Atmel Studio (since the Arduino IDE has no information on this), and I looked up the proper bits to change and then burned the bootloader. It worked fine, and I then changed the fuse bits which resulted in an error and now I again could talk to the device.

I am guessing that something is going wrong with the suggested fuse bits, but I do not know how to change them or how to fix this. The original fuse bits that I read from the device are listed below (before I messed it up).

I checked my wiring a billion times and it is all perfect. I just need suggestions to fix this mess, thanks.

BODLEVEL = DISABLED
OCDEN = [ ]
JTAGEN = [X]
SPIEN = [X]
WDTON = [ ]
EESAVE = [ ]
BOOTSZ = 4096W_1F000
BOOTRST = [X]
CKDIV8 = [ ]
CKOUT = [ ]
SUT_CKSEL = INTRCOSC_6CK_0MS
EXTENDED = 0xFF (valid)
HIGH = 0x98 (valid)
LOW = 0xC2 (valid)
LB = NO_LOCK
BLB0 = NO_LOCK
BLB1 = NO_LOCK
LOCKBIT = 0xFF (valid)
Detected device
Device name ATmega2560
Device signature 0x1E9801

Currently I'm working on a project using an ATmega 2560 microcontroller card with a 10 MHz crystal. My main goal is to use the Arduino IDE to upload sketches to this chip to run my bread board circuit. In the beginning I had planned to use Atmel Studio to upload Arduino Sketches, but I decided to go with the more direct route. I am using two programmers, the Atmel ICE, and the Atmel AVR ISP MKii.

Anyway, here is my issue. I tried to use the Arduino IDE and the MKii to burn the bootloader to the chip. However, it did not work. It uploaded, but I was at that point no longer able to communicate with the device. When I switched to Atmel Studio, and used the ICE programmer, my chip could not be read and recognized (whereas before it could). I can't even program it. (I had bought two.)

I then figured I would try and read the fuse bits on the other programmer and burn the bootloader using Atmel Studio (since the Arduino IDE has no information on this), and I looked up the proper bits to change and then burned the bootloader. It worked fine, and I then changed the fuse bits which resulted in an error and now I again could talk to the device.

I am guessing that something is going wrong with the suggested fuse bits, but I do not know how to change them or how to fix this. The original fuse bits that I read from the device are listed below (before I messed it up).

I checked my wiring a billion times and it is all perfect. I just need suggestions to fix this mess, thanks.

BODLEVEL = DISABLED
OCDEN = [ ]
JTAGEN = [X]
SPIEN = [X]
WDTON = [ ]
EESAVE = [ ]
BOOTSZ = 4096W_1F000
BOOTRST = [X]
CKDIV8 = [ ]
CKOUT = [ ]
SUT_CKSEL = INTRCOSC_6CK_0MS
EXTENDED = 0xFF (valid)
HIGH = 0x98 (valid)
LOW = 0xC2 (valid)
LB = NO_LOCK
BLB0 = NO_LOCK
BLB1 = NO_LOCK
LOCKBIT = 0xFF (valid)
Detected device
Device name ATmega2560
Device signature 0x1E9801

Currently I'm working on a project using an ATmega 2560 microcontroller card with a 10 MHz crystal. My main goal is to use the Arduino IDE to upload sketches to this chip to run my bread board circuit. In the beginning I had planned to use Atmel Studio to upload Arduino Sketches, but I decided to go with the more direct route. I am using two programmers, the Atmel ICE, and the Atmel AVR ISP MKii.

Anyway, here is my issue. I tried to use the Arduino IDE and the MKii to burn the bootloader to the chip. However, it did not work. It uploaded, but I was at that point no longer able to communicate with the device. When I switched to Atmel Studio, and used the ICE programmer, my chip could not be read and recognized (whereas before it could). I can't even program it. (I had bought two.)

I then figured I would try and read the fuse bits on the other programmer and burn the bootloader using Atmel Studio (since the Arduino IDE has no information on this), and I looked up the proper bits to change and then burned the bootloader. It worked fine, and I then changed the fuse bits which resulted in an error and now I again could talk to the device.

I am guessing that something is going wrong with the suggested fuse bits, but I do not know how to change them or how to fix this. The original fuse bits that I read from the device are listed below (before I messed it up).

I checked my wiring a billion times and it is all perfect. I just need suggestions to fix this mess, thanks.

BODLEVEL = DISABLED
OCDEN = [ ]
JTAGEN = [X]
SPIEN = [X]
WDTON = [ ]
EESAVE = [ ]
BOOTSZ = 4096W_1F000
BOOTRST = [X]
CKDIV8 = [ ]
CKOUT = [ ]
SUT_CKSEL = INTRCOSC_6CK_0MS
EXTENDED = 0xFF (valid)
HIGH = 0x98 (valid)
LOW = 0xC2 (valid)
LB = NO_LOCK
BLB0 = NO_LOCK
BLB1 = NO_LOCK
LOCKBIT = 0xFF (valid)
Detected device
Device name ATmega2560
Device signature 0x1E9801
Copy edited (e.g. ref. <http://en.wikipedia.org/wiki/Hertz#SI_multiples>). Dressed the naked links.
Source Link

How do iI change fuse bits- not communicating?

So currentlyCurrently I'm working on a project using a ATmega 2560 mcu cardan ATmega 2560 microcontroller card with a 10mhz10 MHz crystal (link#1). My main goal is to use the Arduino IDE to upload sketches to this chip to run my bread board circuit. In the beginning I had planned to use Atmel Studio to upload Arduino Sketches, but I decided to go with the more direct route. I am using 2two programmers, the Atmel ICE, and the Atmel AVR ISP MKii.

AnywaysAnyway, here is my issue,. I tried to use the Arduino ideIDE and the MKii to burn the bootloader to the chip. However, it did not work, it. It uploaded, but I was at that point no longer able to communicate with the device. When I switched to Atmel Studio, and used the ICE programmer, my chip could not be read and recognized (whereas before it could). I can't even program it. (I had bought two.) I

I then figured I would try and read the fuse bits on the other programmer and burn the bootloader using atmel studioAtmel Studio (since the Arduino ideIDE has no infoinformation on this), and I looked up the proper bits to change (link#2 below)the proper bits to change and then burned the bootloader,. It worked fine, and I then changed the fuse bits which resulted in an error and now I again cannotcould talk to the device.

I am guessing that something is going wrong with the suggested fuse bits, but I do not know how to change them or how to fix this. The Originaloriginal fuse bits that I read from the device are listed below(before iI messed it up) I.

I checked my wiring a billion times and it is all perfect. I just need suggestions to fix this mess, thanks.http://www.tme.eu/en/details/mikroe-229/atmel-development-kits/mikroelektronika/mcu-card-atmega2560/# http://www.avr-developers.com/bootloaderdocs/index.html

BODLEVEL = DISABLED

OCDEN = [ ]

JTAGEN = [X]

SPIEN = [X]

WDTON = [ ]

EESAVE = [ ]

BOOTSZ = 4096W_1F000

BOOTRST = [X]

CKDIV8 = [ ]

CKOUT = [ ]

SUT_CKSEL = INTRCOSC_6CK_0MS

EXTENDED = 0xFF (valid)

HIGH = 0x98 (valid)

LOW = 0xC2 (valid)

LB = NO_LOCK

BLB0 = NO_LOCK

BLB1 = NO_LOCK

LOCKBIT = 0xFF (valid)

Detected device Device name ATmega2560 Device signature 0x1E9801

BODLEVEL = DISABLED
OCDEN = [ ]
JTAGEN = [X]
SPIEN = [X]
WDTON = [ ]
EESAVE = [ ]
BOOTSZ = 4096W_1F000
BOOTRST = [X]
CKDIV8 = [ ]
CKOUT = [ ]
SUT_CKSEL = INTRCOSC_6CK_0MS
EXTENDED = 0xFF (valid)
HIGH = 0x98 (valid)
LOW = 0xC2 (valid)
LB = NO_LOCK
BLB0 = NO_LOCK
BLB1 = NO_LOCK
LOCKBIT = 0xFF (valid)
Detected device
Device name ATmega2560
Device signature 0x1E9801

How do i change fuse bits- not communicating

So currently I'm working on a project using a ATmega 2560 mcu card with a 10mhz crystal (link#1). My main goal is to use the Arduino IDE to upload sketches to this chip to run my bread board circuit. In the beginning I had planned to use Atmel Studio to upload Arduino Sketches, but I decided to go with the more direct route. I am using 2 programmers the Atmel ICE, and the Atmel AVR ISP MKii.

Anyways here is my issue, I tried to use the Arduino ide and the MKii to burn the bootloader to the chip. However, it did not work, it uploaded, but I was at that point no longer able to communicate with the device. When I switched to Atmel Studio, and used the ICE programmer, my chip could not be read and recognized (whereas before it could). I can't even program it. (I had bought two) I then figured I would try and read the fuse bits on the other programmer and burn the bootloader using atmel studio (since the Arduino ide has no info on this) and I looked up the proper bits to change (link#2 below) and then burned the bootloader, worked fine and then changed the fuse bits which resulted in an error and now I again cannot talk to the device. I am guessing that something is going wrong with the suggested fuse bits but I do not know how to change them or how to fix this. The Original fuse bits that I read from the device are listed below(before i messed it up) I checked my wiring a billion times and it is all perfect I just need suggestions to fix this mess thanks.http://www.tme.eu/en/details/mikroe-229/atmel-development-kits/mikroelektronika/mcu-card-atmega2560/# http://www.avr-developers.com/bootloaderdocs/index.html

BODLEVEL = DISABLED

OCDEN = [ ]

JTAGEN = [X]

SPIEN = [X]

WDTON = [ ]

EESAVE = [ ]

BOOTSZ = 4096W_1F000

BOOTRST = [X]

CKDIV8 = [ ]

CKOUT = [ ]

SUT_CKSEL = INTRCOSC_6CK_0MS

EXTENDED = 0xFF (valid)

HIGH = 0x98 (valid)

LOW = 0xC2 (valid)

LB = NO_LOCK

BLB0 = NO_LOCK

BLB1 = NO_LOCK

LOCKBIT = 0xFF (valid)

Detected device Device name ATmega2560 Device signature 0x1E9801

How do I change fuse bits- not communicating?

Currently I'm working on a project using an ATmega 2560 microcontroller card with a 10 MHz crystal. My main goal is to use the Arduino IDE to upload sketches to this chip to run my bread board circuit. In the beginning I had planned to use Atmel Studio to upload Arduino Sketches, but I decided to go with the more direct route. I am using two programmers, the Atmel ICE, and the Atmel AVR ISP MKii.

Anyway, here is my issue. I tried to use the Arduino IDE and the MKii to burn the bootloader to the chip. However, it did not work. It uploaded, but I was at that point no longer able to communicate with the device. When I switched to Atmel Studio, and used the ICE programmer, my chip could not be read and recognized (whereas before it could). I can't even program it. (I had bought two.)

I then figured I would try and read the fuse bits on the other programmer and burn the bootloader using Atmel Studio (since the Arduino IDE has no information on this), and I looked up the proper bits to change and then burned the bootloader. It worked fine, and I then changed the fuse bits which resulted in an error and now I again could talk to the device.

I am guessing that something is going wrong with the suggested fuse bits, but I do not know how to change them or how to fix this. The original fuse bits that I read from the device are listed below(before I messed it up).

I checked my wiring a billion times and it is all perfect. I just need suggestions to fix this mess, thanks.

BODLEVEL = DISABLED
OCDEN = [ ]
JTAGEN = [X]
SPIEN = [X]
WDTON = [ ]
EESAVE = [ ]
BOOTSZ = 4096W_1F000
BOOTRST = [X]
CKDIV8 = [ ]
CKOUT = [ ]
SUT_CKSEL = INTRCOSC_6CK_0MS
EXTENDED = 0xFF (valid)
HIGH = 0x98 (valid)
LOW = 0xC2 (valid)
LB = NO_LOCK
BLB0 = NO_LOCK
BLB1 = NO_LOCK
LOCKBIT = 0xFF (valid)
Detected device
Device name ATmega2560
Device signature 0x1E9801
Source Link

How do i change fuse bits- not communicating

So currently I'm working on a project using a ATmega 2560 mcu card with a 10mhz crystal (link#1). My main goal is to use the Arduino IDE to upload sketches to this chip to run my bread board circuit. In the beginning I had planned to use Atmel Studio to upload Arduino Sketches, but I decided to go with the more direct route. I am using 2 programmers the Atmel ICE, and the Atmel AVR ISP MKii.

Anyways here is my issue, I tried to use the Arduino ide and the MKii to burn the bootloader to the chip. However, it did not work, it uploaded, but I was at that point no longer able to communicate with the device. When I switched to Atmel Studio, and used the ICE programmer, my chip could not be read and recognized (whereas before it could). I can't even program it. (I had bought two) I then figured I would try and read the fuse bits on the other programmer and burn the bootloader using atmel studio (since the Arduino ide has no info on this) and I looked up the proper bits to change (link#2 below) and then burned the bootloader, worked fine and then changed the fuse bits which resulted in an error and now I again cannot talk to the device. I am guessing that something is going wrong with the suggested fuse bits but I do not know how to change them or how to fix this. The Original fuse bits that I read from the device are listed below(before i messed it up) I checked my wiring a billion times and it is all perfect I just need suggestions to fix this mess thanks. http://www.tme.eu/en/details/mikroe-229/atmel-development-kits/mikroelektronika/mcu-card-atmega2560/# http://www.avr-developers.com/bootloaderdocs/index.html

BODLEVEL = DISABLED

OCDEN = [ ]

JTAGEN = [X]

SPIEN = [X]

WDTON = [ ]

EESAVE = [ ]

BOOTSZ = 4096W_1F000

BOOTRST = [X]

CKDIV8 = [ ]

CKOUT = [ ]

SUT_CKSEL = INTRCOSC_6CK_0MS

EXTENDED = 0xFF (valid)

HIGH = 0x98 (valid)

LOW = 0xC2 (valid)

LB = NO_LOCK

BLB0 = NO_LOCK

BLB1 = NO_LOCK

LOCKBIT = 0xFF (valid)

Detected device Device name ATmega2560 Device signature 0x1E9801

AltStyle によって変換されたページ (->オリジナル) /