Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Tools
Old 14th June 2006, 09:36 AM   #1
Default Bought a AT89s51 first time..help

this is the first time i am using a microcontroller...a complete novice....after going thru the datasheet of at89s51 i made a programmer circuit which has:
vcc=5v
rst=5v
psen=gnd
ale\prog=connected to a bc547 collector which in turn has base n collector connected to vcc line thru 100k n 10k resistor, base line with a tactile switch
p1 and p2.0-3 = gnd thru dip switches
p0= vcc thru dip switches
ea=12v
p2.6,p2.7,p3.6,p3.7,p3.3=gnd thru dip switches....

now as per the combination given on the datasheet if i set p2.6 low and rest control signal high...i expected 2 program a byte in the given address location(p1-p2.0-3), the given data(p0 no pull up), if i press the ale tactile switch for some time....

if i keep ea=5v and all control signals low...i expected 2 read the signature bytes....

but i cant or read the signature or any byte. please help......
aryyy is offline  
Reply

Tags
at89s51, bought, timehelp

Thread Tools
Display Modes




All times are GMT. The time now is 10:08 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker