Atmel AVR Microcontroller discussion group.
[AVR club] Cannot program the ATmega128 using SPI programming - pragnesh_pavan - Apr 24 11:15:54 2007
hi, group
i m facing very strange problem,i made my own ISP programmer and i m
using the AVRDUDE as my programming software. now i found very strange
problem when i am trying to program the IC.
at first my PEN pin is connected to the VCC.now i am trying to program
the IC but avrdude gives the error that device is not initialized.
but after that my connect PEN pin to GND and turn off the supply to
the board and again turn on the supply and my IC get programed but it
recently downloaded program is not execute even if i m reset the board.
now after this i connect PEN pin to VCC again and turn off the supply
to the borard and turn on it again now my previously donloaded program
is executed.
my question is that is it necessary to connect the PEN? or make it
left unconnected.
thanks in advance.
regards

(You need to be a member of avrclub -- send a blank email to avrclub-subscribe@yahoogroups.com )
Re: [AVR club] Cannot program the ATmega128 using SPI programming - Dave Hylands - Apr 24 12:55:50 2007
Hi,
> i m facing very strange problem,i made my own ISP programmer and i m
> using the AVRDUDE as my programming software. now i found very strange
> problem when i am trying to program the IC.
Are you using MOSI/MISO? If so that's your problem. For some bizarre
reason, the ATMega128 uses PDI/PDO for programming rather than
MOSI/MISO.
--
Dave Hylands
Vancouver, BC, Canada
http://www.DaveHylands.com/

(You need to be a member of avrclub -- send a blank email to avrclub-subscribe@yahoogroups.com )
Re: [AVR club] Cannot program the ATmega128 using SPI programming - pragnesh_pavan - Apr 25 0:32:28 2007
--- In a...@yahoogroups.com, "Dave Hylands"
wrote:
>
> Hi,
>
> > i m facing very strange problem,i made my own ISP programmer and
i m
> > using the AVRDUDE as my programming software. now i found very
strange
> > problem when i am trying to program the IC.
>
> Are you using MOSI/MISO? If so that's your problem. For some
bizarre
> reason, the ATMega128 uses PDI/PDO for programming rather than
> MOSI/MISO.
>
> --
> Dave Hylands
> Vancouver, BC, Canada
> http://www.DaveHylands.com/
No, i am using PDO and PDI pin for the programming insted of the
MOSI and MISO.

(You need to be a member of avrclub -- send a blank email to avrclub-subscribe@yahoogroups.com )sanaee : [AVR club] Cannot program the ATmega128 using SPI programming - mehdi sanaee - Apr 26 8:34:25 2007
Dear my frind
Hi
Use STK200 and program IC whit Codevision
Sure that you have not any problems
Regard
mehdi sanaee
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
Check outnew cars at Yahoo! Autos.
[Non-text portions of this message have been removed]

(You need to be a member of avrclub -- send a blank email to avrclub-subscribe@yahoogroups.com )