Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Problem with ports of Atmega32l PortC

Status
Not open for further replies.

bigreat

Member level 1
Joined
Jul 11, 2004
Messages
38
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
278
Atmega32l PortC question

i do these code:
Code:
.def mp=r16
ldi mp,0xff
out ddrc,mp
out portc,mp

but i use a led test every one port of portc
when i test pc0,1,6,7,the led is normally bright
when i test pc2,3,5 the led is only a little bright
when i test pc4,the led is went out

what's the matter with portc
is it damage
or i didn't set it right?
thank you
 

Re: Atmega32l PortC question

Refered to the datasheet
some pins of PORTC have reserve for JTAG

you need to disable JTAG first..
if you use ponyprog set it in Security bit setting
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top