avr-chat
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-chat] Problem writing fuse bytes to atmega128 - timeout error


From: Graham Davies
Subject: Re: [avr-chat] Problem writing fuse bytes to atmega128 - timeout error
Date: Fri, 02 Mar 2007 21:14:26 -0500

Thomas Richter wrote:
stk500 says: "Could not enter programming mode"
avrdude says: "stk500_2_ReceiveMessage(): timeout" (please see my logging in my first email)

Let's take a step back.

Joerg diagnosed your problem as incorrectly set clock selection fuses. This is a common mistake. We are now going through the standard recovery procedures. The idea is to get back control of the MCU and change the clock selection fuse settings so that the clock will start up.

1 - Feed an external clock into the XTAL1 pin ...

You reported that this does not work.

2 - Use JTAG programming, which does not require an MCU clock at all.

We don't think you have understood this suggestion. We think you are using ISP, that is In-System Programming. Do you have a JTAG programmer?

The STK500 includes programming hardware that can perform ISP and high-voltage programming, but not JTAG. avrdude is software that can drive a variety of programmers. I'm a bit confused that you call them both "programmers" and talk about them both giving error messages. What software are you using with the STK500 hardware? What hardware are you using with the avrdude software?

I, too, hope that your MCU is not fried. Let's hope it's just the fuses and that we can wake it up again.

Graham.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]