Hi Paul, My mistake, I should have said ISP - not SPI. My point was that it has nothing to do with parallel programming and it is sensed on power- up. Cheers, Les. On 16 Dec 2004 at 15:17, Paul Maddox wrote: > > Les, > > > Wrong. PEN stands for Programming Enable and it is for SPI > > programming - not parallel. Please check the data sheet (page 7 of > > rev I). It is only used on a power-on-reset. > > Disagree, I tied the /PEN pin high (via a resistor, yeah I know) and I > program it with the AVRISP programming adapter without any problems (using > RXD and TXD of USART0 instead of MOSI/MISO lines) > > Paul > > > > > > Yahoo! Groups Links > > > > > > > ------------------------------------------------------------- Les Grant. VK2KYJ. Phone: 02 9896 7150 Fax: 02 9896 7153 Grantronics Pty Ltd Int'l: +612 9896 7150, +612 9896 7153 ABN 46 070 123 643 PO Box 275, Wentworthville. NSW. 2145. Australia. http://www.grantronics.com.au mailto:info@grantronics.com.au Microcontroller Hardware and Software development: Atmel AVR 8051 derivatives, 80C196 family, C, ASM, Digital and analogue ------------------------------------------------------------- Australian distributor for: o Dunfield Development Systems low cost development tools o ImageCraft AVR and Motorola Windows-hosted C compilers o ELNEC Device Programmers (E)EPROMs, Flash, Micros, PLDs o CAN-BUS Hardware and Software from LAWICEL o Logical Systems Programming, Prototyping & Production Adaptors -------------------------------------------------------------
Message
Re: [AVR-Chat] Re: /PEN pin on ATMEGA128 (2)
2004-12-18 by Les Grant
Attachments
- No local attachments were found for this message.