Hi, I am using P89V51RD2 Micro controller for my project(Which is
having 64k Program memory and 1024bytes data RAM and I am programming
in C ).I am disabling interrupts (making EA=0)before calling a
function and Enabling after comming out from that loop.I am not
enabling interrupts in that function but the timer interrupt is
getting enabled before comming out from the function,which is making
distrubance to the functionality of my system. I feel the reasons for
this may be one of the following.
1.I am using Watch dog timer in the code.
2.When I am building the code in keil software it is showing ,
Program Size: data=9.1 xdata=590 code=44295 creating hex file from
"SGW"... "SGW" - 0 Error(s), 6 Warning(s) I think this is because of
insufficient internal data memory . can you please tell me what is
the reason for this problam?
Read-Only
Author Erik Malund
Posted 26-Apr-2012 22:22 GMT
Toolset C51
first step
Erik Malund
1.I am using Watch dog timer in the code.
what happens if you don't
Erik
Read-Only
Author Erik Malund
Posted 26-Apr-2012 22:23 GMT
Toolset C51
sounds bad
Erik Malund
I am disabling interrupts (making EA=0)before calling a
function and Enabling after comming out from that loop.
imterrupts should only be disabled for atomicity issues, not for 'a
loop'
Erik
Read-Only
Author ashley madison
Posted 28-Apr-2012 21:19 GMT
Toolset C51
RE: sounds bad
ashley madison
imterrupts should only be disabled for atomicity
issues,
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.