Yahoo Groups archive

AVR-Chat

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

Thread

Re: Programming ATMega128

Re: Programming ATMega128

2006-03-15 by amol_deshmukh

it seems u have disabled the SPIEN bit while making changes in the fusebits, now ponyprog cannot read / write the microcontroller
you will have to use some other programmer to re-enable that bit.

if anyone has solution as to how SPIEN bit can be enabled please mail me also
Show quoted textHide quoted text

Date: Tue, 14 Mar 2006 17:54:02 -0000
From: "filipesbp"
Subject: Programming ATMega128

Hi,
I use Ponyprog and the parallel programmer of the Ponyprog page,
I've started to use the Atmega128 and i wanted to use a cystal
oscilator, so i've tried to program the fusebits, in ponyprog i've
make a reading of the fusebits, changed the CKOPT and the CKSEL, after
that i make a write..
Now the problem, after that i've can not read or write the ATmega,
what it i do wrong?
I've tried t scope the pins and the MISO pin (PE1) is always at 1.





Amol Deshmukh
03d10028
3rd Year
Department of Mechanical Engg.
IIT_Bombay
http://www.me.iitb.ac.in/~adeshmukh/

Yahoo! Mail
Bring photos to life! New PhotoMail makes sharing a breeze.

Re: [AVR-Chat] Re: Programming ATMega128

2006-03-15 by Mark Jordan

Here is one of the solutions, a parallel programmer:

	http://elm-chan.org/works/avrx/report_e.html

	This programmer is very easy to assemble an use. It has a
command line syntax that can be called from Textpad directly.
	It recognizes the target processor automatically!

	Mark Jordan

On 14 Mar 2006 at 22:14, amol_deshmukh wrote:

> if anyone has solution as to how SPIEN bit can be enabled please mail me

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.