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: Mon, 05 Mar 2007 20:16:16 -0500

Thomas Richter schrieb:
With both tools [STK500 command line programmer, v 2.2 Atmel Corp (C) 2004-2005.) and avrdude]
I have tried to program the Ethernut board over SP Duo.

Ah, OK, my mistake. I think of the STK500 as the Atmel "Starter Kit" development board. I actually didn't know there is command-line software to drive it. I always use AVR Studio.

Where is the difference between programming with SP Duo
and with special JTAG cable?

I think you need to spend a little time with your User Manuals and Data Sheets. In brief, from what I can see by the pictures alone, the SP Duo can perform either ISP or JTAG programming. The Ethernut board seems to have ISP and JTAG headers. If you connect the SP Duo ISP cable to J7 then you'll be programming by ISP. If you connect the SP Duo JTAG cable to J8 then you'll be programming by JTAG. Forget what I said about the special JTAG cable, that appears to be for an earlier version of the Ethernut board.

So, connect the SP Duo JTAG cable to J8, read the User Manual to find out how to program the chip via JTAG and try to do something like read the chip signature. If this works, then your problem was very likely to be mis-set clock fuses as Joerg predicted. You can now erase the chip or just set the fuses back to an internal clock and you'll be all set.

Graham.






reply via email to

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