discussing about 89v51rd2b

Status
Not open for further replies.

tapu

Full Member level 5
Joined
Sep 15, 2014
Messages
246
Helped
1
Reputation
2
Reaction score
2
Trophy points
1,298
Location
india
Visit site
Activity points
3,164
Dear all,
My project runs on 89c51 but I have added some features then I am using 89v51rd2b.here I write a header file"#include <P89V51Rx2.H>" and also select in keil then it shows errors like"error c202 undefined identifier....."
 

"error c202 undefined identifier....."
Means cursor pointing after clicking this error this variable is not defined.

and also your question is not that much clear...
 

Dear All
I am using 89v51rd2 in my project.& i write header file " #include <P89V51Rx2.H>" in Keil Then it shows Errors as follow.
Build target 'Target 1'
compiling test.c...
test.c(1): warning C318: can't open file 'P89V51Rx2.H'
TEST.C(4): error C202: 'P1': undefined identifier
TEST.C(5): error C202: 'P1': undefined identifier
TEST.C(6): error C202: 'P1': undefined identifier
TEST.C(7): error C202: 'P1': undefined identifier
TEST.C(8): error C202: 'P1': undefined identifier
TEST.C(9): error C202: 'P3': undefined identifier
and many more errors like these.

- - - Updated - - -

here I am using unlicensed keil but code size is below 2kb.
 

Dear all.
now my program is above 2.5kb. I have unliscensed keil.can anyone send me hex file of my code? I will post my program.
 

#include <P89V51Rx2.H>"

make sure you have selected the correct device from nxp not from atmel in device setting and you can try #include<p89v51rd2.h>
 

Yes I have selected 89v51rd2 & write header as you writen but shows same error.
 

#include<philips/REG51F.h> try this header file.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…