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

EdwardFew
Mon Mar 18 2024, 01:14 pm
EmeryPah
Mon Mar 18 2024, 11:51 am
RobertMax
Sun Mar 17 2024, 10:22 pm
DanielJar
Fri Mar 15 2024, 06:52 pm
Tuzaimecor
Fri Mar 15 2024, 02:32 am
PromotionFoode
Thu Mar 14 2024, 08:11 pm
EdwardGeawn
Sun Mar 10 2024, 12:24 pm
ZacharyShado
Sat Mar 09 2024, 10:04 am