Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Thread

FW: Intro & atmeg88 fuse writing problem

FW: Intro & atmeg88 fuse writing problem

2004-12-01 by Gyuri Szing

Hi All!

This is my first mail to this mailing list and thus please let me write a few lines introduction firs.

My name is György Szing and I am writing from Hungary (a small country in Central Europe). I have a degree in electrical engineering and I am a working in the automotive industry as an embedded software engineer.

I joined this list because of two reasons. My current project is to port communication software to ATMEGA88 and I have encountered a problem which I can not mange to solve, and I  have came to like this MCU family and plan to use it later for my hobby projects.

So I would like to ask you for help because I can not manage to program the fuse bits of the ATMEGA88. I have an STK500 board and a JTAGICE mk II.  I can not remember what I have done to the device but when I received them fuse programming worked fine. Later I configured it to allow debugging with the JTAGICE mk II: enabled debug wire interface, and configured to use a 8 MHz external crystal. Everything went fine till now. Now I should use the internal RC oscillator, but I realised that I can not program any of the fuses even in high voltage parallel programming mode (using the STK500 and RS232). I can change the protection bits, I can erase the device, I can download any program into the flash, I can run and debug the downloaded program but I can not change any fuses.

Does anybody have an idea what could cause this problem, and how could I solve it? I really need that on chip RC oscillator. 

Best regards:
    Gyuri

Re: [AVR-Chat] FW: Intro & atmeg88 fuse writing problem

2004-12-01 by Russell Shaw

Gyuri Szing wrote:
> Hi All!
> 
> This is my first mail to this mailing list and thus please let me write a few lines introduction firs.
> 
> My name is György Szing and I am writing from Hungary (a small country in Central Europe). I have a degree in electrical engineering and I am a working in the automotive industry as an embedded software engineer.
> 
> I joined this list because of two reasons. My current project is to port communication software to ATMEGA88 and I have encountered a problem which I can not mange to solve, and I  have came to like this MCU family and plan to use it later for my hobby projects.
> 
> So I would like to ask you for help because I can not manage to program the fuse bits of the ATMEGA88. I have an STK500 board and a JTAGICE mk II.  I can not remember what I have done to the device but when I received them fuse programming worked fine. Later I configured it to allow debugging with the JTAGICE mk II: enabled debug wire interface, and configured to use a 8 MHz external crystal. Everything went fine till now. Now I should use the internal RC oscillator, but I realised that I can not program any of the fuses even in high voltage parallel programming mode (using the STK500 and RS232). I can change the protection bits, I can erase the device, I can download any program into the flash, I can run and debug the downloaded program but I can not change any fuses.
> 
> Does anybody have an idea what could cause this problem, and how could I solve it? I really need that on chip RC oscillator. 
> 
> Best regards:
>     Gyuri

Try programming it at the slowest clock speed.

RE: [AVR-Chat] FW: Intro & atmeg88 fuse writing problem

2004-12-01 by Gyuri Szing

Hi Russel!

> -----Original Message-----
> From: Russell Shaw
> Sent: Wednesday, December 01, 2004 9:38 AM
> To: AVR-Chat@yahoogroups.com
> Subject: Re: [AVR-Chat] FW: Intro & atmeg88 fuse writing problem
> 
> 
> ...
>
> > So I would like to ask you for help because I can not 
> manage to program the fuse bits of the ATMEGA88. I have an 
> STK500 board and a JTAGICE mk II.  I can not remember what I 
> have done to the device but when I received them fuse 
> programming worked fine. Later I configured it to allow 
> debugging with the JTAGICE mk II: enabled debug wire 
> interface, and configured to use a 8 MHz external crystal. 
> Everything went fine till now. Now I should use the internal 
> RC oscillator, but I realised that I can not program any of 
> the fuses even in high voltage parallel programming mode 
> (using the STK500 and RS232). I can change the protection 
> bits, I can erase the device, I can download any program into 
> the flash, I can run and debug the downloaded program but I 
> can not change any fuses.
> > 
> > Does anybody have an idea what could cause this problem, 
> and how could I solve it? I really need that on chip RC oscillator. 
> > 
> > Best regards:
> >     Gyuri
> 
> Try programming it at the slowest clock speed.

Thanks for the good idea, but I already tried at 32.7 KHz and this did not helped.

BR:
	Gyuri

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.