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