[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] PEN on atmega128
From: |
Jamie Morken |
Subject: |
[avr-gcc-list] PEN on atmega128 |
Date: |
Sat, 04 Jun 2005 12:17:35 -0700 |
Hi,
Does PEN need to be tied to GND for the SPI
programming interface to work on the atmega128?
>From the datasheet:
"PEN is a programming enable pin for the SPI
Serial Programming mode. By holding this
pin low during a Power-on Reset, the device
will enter the SPI Serial Programming
mode. PEN has no function during normal
operation."
I am unable to connect to my atmega128 board from
ponyprog, I made the board using the small MLF64
package so it is hard to change what is already
done with the wiring.
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
>