Yahoo Groups archive

AVR-Chat

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

Thread

ATmega128 uploading problem

ATmega128 uploading problem

2006-01-19 by pinky elodia

hi...
got some problem regarding how to program Atmega128
i using ponyprog2000, and use STK500 uploader, use MOSI,MISO,RESET,SCK...
but can't upload.
someone,tell me that i have to connect pin2(PE0) and pin3 (PE1) for programming....
but i don't know how to do it....can anybody give some explaination??
for security fuse bit, i programmed for JTAGEN,BOOTSZ0,BOOTSZ1,SUT0....
(since i'm using external 8MHz oscllator)....
i suspect its got some problem with that, because there was no wave at Xtal..
i have try to place with other oscillator, but still the same....
is there anything wrong with my fuse setting? how to set so that it can work?
thanks...
really appreciate for your help ....

Yahoo! Photos
Got holiday prints? See all the ways to get quality prints in your hands ASAP.

Re: [AVR-Chat] ATmega128 uploading problem

2006-01-19 by Ralph Hilton

On Wed, 18 Jan 2006 18:27:29 -0800 (PST) you wrote:

>hi...
>   got some problem regarding how to program Atmega128
>  i using ponyprog2000, and use STK500 uploader, use MOSI,MISO,RESET,SCK...
>  but can't upload.
>  someone,tell me that i have to connect pin2(PE0) and pin3 (PE1) for programming....
>  but i don't know how to do it....can anybody give some explaination??

There is a schematic for an ATmega128 dev. board on www.olimex.com that shows the
connections.

>  for security fuse bit, i programmed for JTAGEN,BOOTSZ0,BOOTSZ1,SUT0....
>  (since i'm using external 8MHz oscllator)....
>  i suspect its got some problem with that, because there was no wave at Xtal..
>  i have try to place with other oscillator, but still the same....
>  is there anything wrong with my fuse setting? how to set so that it can work?
>  thanks...
>  really appreciate for your help ....

I would try using AVRstudio to program fuse bits. The options are detailed more clearly.
I had a lot of problems with Ponyprog messing up fuse bits.
--
Ralph Hilton
http://www.ralphhilton.org
C-Meter: http://www.cmeter.org
FZAOINT http://www.fzaoint.net

Re: ATmega128 uploading problem

2006-01-19 by gerritdewaard

Hallo All,
First of all I agree to use AVRStudio... it's free so why not! And 
than you indeed have to use PE0 and PE1! 
It's quite easy: in stead of PIN12(MOSI) you must connect MOSI to 
PIN2, and where PIN13(MISO), it must be PIN3.
So:
In stead of PIN12 --> PIN2,
            PIN13 --> PIN3.
Hope you've got enough info!! Good luck!!
Gerrit de Waard

-  


--- In AVR-Chat@yahoogroups.com, Ralph Hilton <ralph@r...> wrote:
>
> On Wed, 18 Jan 2006 18:27:29 -0800 (PST) you wrote:
> 
> >hi...
> >   got some problem regarding how to program Atmega128
> >  i using ponyprog2000, and use STK500 uploader, use 
MOSI,MISO,RESET,SCK...
> >  but can't upload.
> >  someone,tell me that i have to connect pin2(PE0) and pin3 (PE1) 
for programming....
> >  but i don't know how to do it....can anybody give some 
explaination??
> 
> There is a schematic for an ATmega128 dev. board on www.olimex.com 
that shows the
> connections.
> 
> >  for security fuse bit, i programmed for 
JTAGEN,BOOTSZ0,BOOTSZ1,SUT0....
> >  (since i'm using external 8MHz oscllator)....
> >  i suspect its got some problem with that, because there was no 
wave at Xtal..
> >  i have try to place with other oscillator, but still the same....
> >  is there anything wrong with my fuse setting? how to set so that 
it can work?
> >  thanks...
> >  really appreciate for your help ....
> 
> I would try using AVRstudio to program fuse bits. The options are 
detailed more clearly.
Show quoted textHide quoted text
> I had a lot of problems with Ponyprog messing up fuse bits.
> --
> Ralph Hilton
> http://www.ralphhilton.org
> C-Meter: http://www.cmeter.org
> FZAOINT http://www.fzaoint.net
>

Re: ATmega128 uploading problem

2006-01-19 by kernels_nz

Everytime that ive had problems programming AVRs in my early days it
was due to having disabled the reset pin (used for ISP programming) or
disabling the low voltage ISP programming. Both of these can be
disabled through the fuses, but ISP programming cannot be disabled by
low voltage ISP programming. I agree though that it is much easier and
safer to program fuses using AVR studio.

Cheers
Hein B
Auckland 
New Zealand

--- In AVR-Chat@yahoogroups.com, pinky elodia <sima_zafrani@y...> wrote:
>
> hi...
>    got some problem regarding how to program Atmega128
>   i using ponyprog2000, and use STK500 uploader, use
MOSI,MISO,RESET,SCK...
>   but can't upload.
>   someone,tell me that i have to connect pin2(PE0) and pin3 (PE1)
for programming....
>   but i don't know how to do it....can anybody give some explaination??
>    
>   for security fuse bit, i programmed for
JTAGEN,BOOTSZ0,BOOTSZ1,SUT0....
>   (since i'm using external 8MHz oscllator)....
>   i suspect its got some problem with that, because there was no
wave at Xtal..
>   i have try to place with other oscillator, but still the same....
>   is there anything wrong with my fuse setting? how to set so that
it can work?
>   thanks...
>   really appreciate for your help ....
> 
> 			
> ---------------------------------
> Yahoo! Photos
>  Got holiday prints? See all the ways to get quality prints in your
hands ASAP.
>

Re: [AVR-Chat] Re: ATmega128 uploading problem

2006-01-20 by Shawn Wilton

Check out pages 303-308 of the datasheet.


On 1/19/06, gerritdewaard <gerritdewaard@yahoo.co.uk> wrote:
Hallo All,
First of all I agree to use AVRStudio... it's free so why not! And
than you indeed have to use PE0 and PE1!
It's quite easy: in stead of PIN12(MOSI) you must connect MOSI to
PIN2, and where PIN13(MISO), it must be PIN3.
So:
In stead of PIN12 --> PIN2,
PIN13 --> PIN3.
Hope you've got enough info!! Good luck!!
Gerrit de Waard

-



--- In AVR-Chat@yahoogroups.com, Ralph Hilton wrote:
>
> On Wed, 18 Jan 2006 18:27:29 -0800 (PST) you wrote:
>
> >hi...
> > got some problem regarding how to program Atmega128
> > i using ponyprog2000, and use STK500 uploader, use
MOSI,MISO,RESET,SCK...
> > but can't upload.
> > someone,tell me that i have to connect pin2(PE0) and pin3 (PE1)
for programming....
> > but i don't know how to do it....can anybody give some
explaination??
>
> There is a schematic for an ATmega128 dev. board on www.olimex.com
that shows the
> connections.
>
> > for security fuse bit, i programmed for
JTAGEN,BOOTSZ0,BOOTSZ1,SUT0....
> > (since i'm using external 8MHz oscllator)....
> > i suspect its got some problem with that, because there was no
wave at Xtal..
> > i have try to place with other oscillator, but still the same....
> > is there anything wrong with my fuse setting? how to set so that
it can work?
> > thanks...
> > really appreciate for your help ....
>
> I would try using AVRstudio to program fuse bits. The options are
detailed more clearly.
> I had a lot of problems with Ponyprog messing up fuse bits.
> --
> Ralph Hilton
> http://www.ralphhilton.org
> C-Meter: http://www.cmeter.org
> FZAOINT http://www.fzaoint.net
>








SPONSORED LINKS
Atmel avr Microcontrollers Intel microprocessors Pic microcontrollers
YAHOO! GROUPS LINKS





--


Shawn Wilton (b9 Systems)
http://black9.com

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.