Discussion in "Project Help" started by    Bdavid    Oct 9, 2017.
Mon Oct 09 2017, 08:08 pm
#1
Hello,

This might be a beginner’s mistake but I am using an AT89C51, 2 rom chip, 2 ram chip, gal22v10, keypad, lcd, real time clock and temperature sensor. I was connected everything together using orcad schematic but I noticed that one side of my 8051 is stuck on the very first instructions I use. For example if I set port 1 or port 3 to 0 and try to switch it again to 1 it just stays on 0 and vice versa. Everything else works on the other side of the circuit.

Anyone knows why it is getting stuck on the first instruction even if I put it in a loop?

PS: my code is running from the eeprom.
Wed Oct 11 2017, 03:13 am
#2
Are you simulating in Orcad ?
Please post your code and schematic. (zip and attach it to your next post)
Do your have a version of your project for Proteus ?

Wed Oct 11 2017, 07:24 am
#3


Are you simulating in Orcad ?
Please post your code and schematic. (zip and attach it to your next post)
Do your have a version of your project for Proteus ?


ExperimenterUK



I used ORCAD schematic and I attached the files to this reply. Thanks
Attachment
Tue Oct 17 2017, 05:14 am
#4
That looks complicated.
Is 8051_BLK a standard 8051 ?
You only posted the LCD asm file, not the main file(s).

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

DustinErele
Thu Apr 25 2024, 08:44 am
ztaletpzca
Wed Apr 24 2024, 11:19 pm
IrardlPex
Wed Apr 24 2024, 08:42 pm
Charlestehed
Wed Apr 24 2024, 05:20 pm
Robertgurse
Wed Apr 24 2024, 02:43 pm
Richardedils
Wed Apr 24 2024, 04:07 am
Malcolmaccek
Wed Apr 24 2024, 01:21 am
ChrisLub
Tue Apr 23 2024, 05:21 pm