Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Scrolling message display using four 8*8 dot matrix. Using pc to update the message.

Status
Not open for further replies.

avemaria

Newbie level 1
Joined
Nov 17, 2011
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,297
I am using AT89C51 as my micro-controller; 74HC154 as my decoder connected to port 1 of the controller; AT24c16B as my EEPROM; MAX232 as my level converter connected to serial port; 12MHz as my crystal oscillator; and the dotmatrix display unit are connected to port 2.
I am having a problem with the program I wrote for the micro controller. The program is not running at all. That is there is no response from the pc and there is no display on the dot matrix pieces.

the program is expected to do the following
  • Power up Initialize variable. Enable serial interrupt.
    • Reading EEPROM Sending value of EEPROM to port 2 and increment a variable and send it on port 1. During this process if serial interrupt occur a flag name F0 will high in SERIAL ISR. If flag is high it off the display
      • If serial interrupt occur it start save the data on ram almost 200 characters can be saved it wait till end of message come. End of message has null character. Now controller will write the pick data that come from computer according to that pick 6 bytes from ROM fonts and save it on EEPROM. When it’s completed, F0 flag become low now it will enter in display mode again with new saved message.
        • the Controller is switching between states in serial interrupt it save data to EEPROM in display mode and it display saved data. Data is broken into nibbles, which come from pc, to see in what range it lie (big, small letters or symbols).

        I wrote a program in ASM code, shown below, but it did not run. Can someone please help me verify if my program is correct and help me to correct the errors if any? You are free to help me develop a new program if necessary. I will gladly appreciate it.

        View attachment project program.txt
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top