All pins are low after programming P87LPC764 with 89C52

Status
Not open for further replies.

DrWhoF

Advanced Member level 1
Joined
May 6, 2005
Messages
402
Helped
24
Reputation
48
Reaction score
11
Trophy points
1,298
Activity points
4,388
I programmed P87LPC764 with 89C52 code and all pins are LOW.
I can see oscillator pins active but nothing else seem to work.
What is going on?
Can someone help me!!!!!!!!!!
 

p87lpc764 programing

Before attempting to program an 8051 derivative you should carefully study its data sheet ..
The P87LPC764 has, amongst other differecies, two added configuration registers ..
One is located at A2h (AUXR1), the other is located at FD00h (UCFIG1) ..

Unfortunately, my friend, this IC that you have programmed, is gone ..

Get new one and try to add to your code the following lines:

Somewhere in the very beginning:

MOV 0A2h, #60h

and somewhere in the end:

ORG 0FD00h
DB 20h

These additions should make your 764 to start with all pins "H", should disable Brown Out option and enable pin P1.5 as /RESET ..

Regards,
IanP
 

    DrWhoF

    Points: 2
    Helpful Answer Positive Rating
Re: P87LPC764

OK.
Thanks.
DrWho
 

Re: P87LPC764

Also, be aware of the CLKR bit ..

When "0" the processor operates with the standard 12 clock cycles per machine cycle, when "1" there are 6 clock cycles per machine cycle ..

Regards,
IanP
 

    DrWhoF

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…