Yahoo Groups archive

AVR-Chat

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

Message

Re: [AVR-Chat] Re: keypad and mega64

2004-04-16 by Brian Dean

On Thu, Apr 15, 2004 at 10:38:39PM -0000, chrisatwan2000 wrote:

> I get no response from any key being pressed.  I tested the same
> code on a at90s8515 and stk500, and it worked fine.  I realize that
> on the mega64 you need AVcc connected (it is), M103 = 1 (it is), and
> you can't directly write to PORTF and PORTG (I think I have that
> right, PORTG is working fine).  I have code if you would be
> interested in checking it out?

Most likely your code is fine, but check the JTAGEN fuse bit.  It is
enabled by default and it commandeers the upper nibble of PORTF.

-Brian
-- 
Brian Dean
http://www.bdmicro.com/

Attachments

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.