[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] PEN on atmega128
From: |
Anton Erasmus |
Subject: |
Re: [avr-gcc-list] PEN on atmega128 |
Date: |
Sun, 05 Jun 2005 12:41:38 +0200 |
On 4 Jun 2005 at 16:53, Jamie Morken wrote:
> From: Anton Erasmus <address@hidden>
> Date: Saturday, June 4, 2005 1:36 pm
> Subject: Re: [avr-gcc-list] PEN on atmega128
>
>
> > Make sure you used the correct pins for the SPI programming.
> > On the ATMega128 one does not use the normal MOSI, MISO pins
> > for SPI, but RXD and TXD pins.
>
> Any ideas why they did that? I am glad I have lots of 30gauge kynar
> wire lying around :)
As far as I understand, most AVRs was originally developed for specific big
customers.
They were then later released to the general marked. So if you are a customer
big
enough to commision a specific MCU, then you have the option to choose things
which
might not make sense to anyone else.
Regards
Anton Erasmus
> cheers,
> Jamie
>
>
> >
> > Regards
> > Anton Erasmus
> >
> >
> > > cheers,
> > > Jamie
> > >
> > >
> > > > I don't connect directly to the parallel port but use a PCB
> > > > inbetween for proper signal levels.
> > > >
> > > >
> > > > Is there any more information i can give?
> > > >
> > > >
> > > > Has anybody got a hint for me?
> > > >
> > > >
> > > > Best regards,
> > > > Torsten.
> > > >
> > > >
> > > >
> > > > LOG of a second connect to the target:
> > > >
> > > > avrdude -v -pm128 -cdapa -e
> > > > address@hidden:~/p/avr/hello_led> avrdude -v -pm128 -cdapa -e
> > > >
> > > > avrdude: Version 5.0-BETA
> > > > Copyright (c) 2000-2005 Brian Dean,
> > http://www.bdmicro.com/> >
> > > > System wide configuration file is
> > > > "/usr/local/etc/avrdude.conf" User configuration file is
> > > > "/home/tmohr/.avrduderc" User configuration file does
> > > > not exist or is not a regular file, skipping
> > > >
> > > > Using Port : /dev/parport0
> > > > Using Programmer : dapa
> > > > AVR Part : ATMEGA128
> > > > Chip Erase delay : 9000 us
> > > > PAGEL : PD7
> > > > BS2 : PA0
> > > > RESET disposition : dedicated
> > > > RETRY pulse : SCK
> > > > serial program mode : yes
> > > > parallel program mode : yes
> > > > Timeout : 200
> > > > StabDelay : 100
> > > > CmdexeDelay : 25
> > > > SyncLoops : 32
> > > > ByteDelay : 0
> > > > PollIndex : 3
> > > > PollValue : 0x53
> > > > Memory Detail :
> > > >
> > > > Block Poll Page
> >
> > > >
> > > > Polled
> > > > Memory Type Mode Delay Size Indx Paged Size Size
> > > > #Pages MinW
> > > > MaxW ReadBack
> > > > ----------- ---- ----- ----- ---- ------ ------ ----
> > ---
> > > > --- -----
> > > > ----- ---------
> > > > eeprom 4 12 64 0 no 4096 8
> >
> > > > 0 9000
> > > > 9000 0xff 0xff
> > > > flash 33 6 128 0 yes 131072 256
> >
> > > > 512 4500
> > > > 4500 0xff 0xff
> > > > lfuse 0 0 0 0 no 1 0
> >
> > > > 0 0
> > > > 0 0x00 0x00
> > > > hfuse 0 0 0 0 no 1 0
> >
> > > > 0 0
> > > > 0 0x00 0x00
> > > > efuse 0 0 0 0 no 1 0
> >
> > > > 0 0
> > > > 0 0x00 0x00
> > > > lock 0 0 0 0 no 1 0
> >
> > > > 0 0
> > > > 0 0x00 0x00
> > > > calibration 0 0 0 0 no 1 0
> >
> > > > 0 0
> > > > 0 0x00 0x00
> > > > signature 0 0 0 0 no 3 0
> >
> > > > 0 0
> > > > 0 0x00 0x00
> > > >
> > > > Programmer Type : PPI
> > > > Description : What 'uisp' understands as 'dapa'
> > > > VCC = 0x02 = pins 3
> > > > BUFF = 0x00 (not used)
> > > > RESET = 16
> > > > SCK = 1
> > > > MOSI = 2
> > > > MISO = 13
> > > > ERR LED = 0
> > > > RDY LED = 0
> > > > PGM LED = 0
> > > > VFY LED = 0
> > > >
> > > > avrdude: AVR device initialized and ready to accept instructions
> > > >
> > > > Reading | ################################################## |
> > 100%> > 0.00s
> > > >
> > > > avrdude: Device signature = 0x000102
> > > >
> > > > avrdude: safemode: lfuse reads as 0
> > > > avrdude: safemode: hfuse reads as 0
> > > > avrdude: safemode: efuse reads as 0
> > > >
> > > >
> > > > avrdude: current erase-rewrite cycle count is -50462977 (if
> > > > being tracked)avrdude: erasing chip
> > > >
> > > > avrdude: safemode: lfuse reads as 0
> > > > avrdude: safemode: hfuse reads as 0
> > > > avrdude: safemode: efuse reads as 0
> > > > avrdude: safemode: Fuses OK
> > > >
> > > > avrdude done. Thank you.
> > > >
> > > > address@hidden:~/p/avr/hello_led>
> > > >
> > > >
> > > >
> > > > LOG of AT90S2343:
> > > > address@hidden:~/p/avr/hello_led> avrdude -v -p2343 -cdapa
> > > >
> > > > avrdude: Version 5.0-BETA
> > > > Copyright (c) 2000-2005 Brian Dean,
> > http://www.bdmicro.com/> >
> > > > System wide configuration file is
> > > > "/usr/local/etc/avrdude.conf" User configuration file is
> > > > "/home/tmohr/.avrduderc" User configuration file does
> > > > not exist or is not a regular file, skipping
> > > >
> > > > Using Port : /dev/parport0
> > > > Using Programmer : dapa
> > > > AVR Part : AT90S2343
> > > > Chip Erase delay : 18000 us
> > > > PAGEL : P00
> > > > BS2 : P00
> > > > RESET disposition : dedicated
> > > > RETRY pulse : SCK
> > > > serial program mode : yes
> > > > parallel program mode : yes
> > > > Timeout : 200
> > > > StabDelay : 100
> > > > CmdexeDelay : 25
> > > > SyncLoops : 32
> > > > ByteDelay : 0
> > > > PollIndex : 3
> > > > PollValue : 0x53
> > > > Memory Detail :
> > > >
> > > > Block Poll Page
> >
> > > >
> > > > Polled
> > > > Memory Type Mode Delay Size Indx Paged Size Size
> > > > #Pages MinW
> > > > MaxW ReadBack
> > > > ----------- ---- ----- ----- ---- ------ ------ ----
> > ---
> > > > --- -----
> > > > ----- ---------
> > > > eeprom 4 12 64 0 no 128 0
> >
> > > > 0 9000
> > > > 20000 0x00 0xff
> > > > flash 4 12 128 0 no 2048 0
> >
> > > > 0 9000
> > > > 20000 0xff 0xff
> > > > signature 0 0 0 0 no 3 0
> >
> > > > 0 0
> > > > 0 0x00 0x00
> > > > fuse 0 0 0 0 no 1 0
> >
> > > > 0 9000
> > > > 20000 0x00 0x00
> > > > lock 0 0 0 0 no 1 0
> >
> > > > 0 9000
> > > > 20000 0x00 0x00
> > > >
> > > > Programmer Type : PPI
> > > > Description : What 'uisp' understands as 'dapa'
> > > > VCC = 0x02 = pins 3
> > > > BUFF = 0x00 (not used)
> > > > RESET = 16
> > > > SCK = 1
> > > > MOSI = 2
> > > > MISO = 13
> > > > ERR LED = 0
> > > > RDY LED = 0
> > > > PGM LED = 0
> > > > VFY LED = 0
> > > >
> > > > avrdude: AVR device initialized and ready to accept instructions
> > > >
> > > > Reading | ################################################## |
> > 100%> > 0.00s
> > > >
> > > > avrdude: Device signature = 0x1e9103
> > > >
> > > >
> > > >
> > > >
> > > > avrdude: safemode: Fuses OK
> > > >
> > > > avrdude done. Thank you.
> > > >
> > > > address@hidden:~/p/avr/hello_led>
> > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > AVR-GCC-list mailing list
> > > > address@hidden
> > > > http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
> > > >
> > >
> > >
> > >
> > > _______________________________________________
> > > AVR-GCC-list mailing list
> > > address@hidden
> > > http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
> >
> > --
> > A J Erasmus
> >
> >
>
>
>
> _______________________________________________
> AVR-GCC-list mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
--
A J Erasmus