Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Robotics Education and Curriculum (http://www.chiefdelphi.com/forums/forumdisplay.php?f=66)
-   -   Atmega32 port c pins (http://www.chiefdelphi.com/forums/showthread.php?t=61956)

neha 18-01-2008 11:31

Atmega32 port c pins
 
my team has designed a programmer for atmega32. all ports can be programmed successfully however pins 2,3,4,5(starting with 0) of portc cannot be programmed. we wrote a flash led programmer however these mentioned pins do not show any variation. they are showing a constant high. pls help us at the earliest.. thanks

Adam Y. 18-01-2008 11:53

Re: Atmega32 port c pins
 
Quote:

Originally Posted by neha (Post 680785)
my team has designed a programmer for atmega32. all ports can be programmed successfully however pins 2,3,4,5(starting with 0) of portc cannot be programmed. we wrote a flash led programmer however these mentioned pins do not show any variation. they are showing a constant high. pls help us at the earliest.. thanks

How are you programing the device? There are multiple methods. These methods are ISP, JTAG, DebugWire, Parallel, and High Voltage. Im suspicious of the fact that pins 2,3,4, and 5 form the basis of JTAG programing.
EDIT:
I think I figured it out. You have JTAG programing enabled. The datasheet says:
Quote:

If the JTAG interface is enabled,
the pull-up resistors on pins PC5(TDI), PC3(TMS) and PC2(TCK) will be activated even if a reset
occurs.
Hence the reason why the pins don't change value. Try disabling it through the fuse settings.


All times are GMT -5. The time now is 06:03.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi