free 8051 Microcontroller Projects AVR PIC Microcontroller Projects Tutorials Ebooks Libraries, interfacing tutorials, lcd tutorial, stepper motor, dc motor 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems

 
8051 microcontroller 8051 microcontroller
Forums

Moderators: Ajay, Junied , abbas1707, Arun Kumar V, pdi33, Shailesh NAYAK, ۞ TPS ۞, shyam, sashijoseph
Author Post
Harish Chanana
Mon Apr 14 2008, 04:50PM
 User Offline
Registered Member #7159
Joined: Thu Apr 10 2008, 11:48PM

Posts: 4
Thanked 0 times in 0 posts
hello sir
hw r u ?
i m working on a project based on 8051 family micontrollers AT89c51RC
My problem in this project is the software gets restart from the beginning of main function when it is executing somewhere between the program.
this problem occurs randomly not alwayz.
This occurs when controller gets an External interrupt from other controller .
PLz reply as soon as possible
Harish


Back to top


sashijoseph
Mon Apr 14 2008, 05:28PM

 User Offline
Registered Member #5870
Joined: Mon Feb 04 2008, 06:26PM

Posts: 552
Thanked 124 times in 117 posts
Plz attach the code so that we may identify the problem......

Let there be music........
Back to top


Ajay
Tue Apr 15 2008, 03:32AM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 3745
Thanked 695 times in 654 posts
check your stack setting.. that could be the problem

www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top


Harish Chanana
Fri Apr 18 2008, 08:01PM
 User Offline
Registered Member #7159
Joined: Thu Apr 10 2008, 11:48PM

Posts: 4
Thanked 0 times in 0 posts
Hello sir
Thanks for your response.
As told by u tht there can be a stack problem but plz tell me in detail how to check the stack status . i m doing coding in Micro C.
I m using AT89C51RC controller in which there r 512bytes of RAM as well as other controller Philips made P89C51RD2 which has 1 KB RAM .
but in both controllers the same problem is present.
Plz tell the method to use Expanded On chip RAM of both this controllers using Micro C.
I m working on a micro c compiler of Dunfield company in which there r five memory models and i m using the tiny memory model in which they have a feature of only 128/256 bytes RAM .

PLz reply as soon as possible.

Also i cant post my code as i m working in a company where i m not allowed to do that.

Back to top


shyam
Fri Apr 18 2008, 11:28PM

 User Offline

Registered Member #2984
Joined: Mon Aug 06 2007, 11:33AM

Posts: 723
Thanked 107 times in 103 posts
well if the company allows you to surf
www.8051projects.net
i am sure it will allow you to post a piece of the code where u are facing the problem .. else

give us the mail id of your seniors we will ask for their permission

lProgress is not made by early risers or hard workers, but by LAZY people, trying to find easier ways to do the same........
Back to top


Ajay
Sat Apr 19 2008, 07:36AM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 3745
Thanked 695 times in 654 posts
we usually dont help in company projects if the code is open to discuss then we can help, otherwise you wont get any special help by mail
ask your colleagues..

www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top


 

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System

8051 Microcontroller Projects 8051 AVR tutorials PIC microcontroller, 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems