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.

[SOLVED] keil uvision error of PARSING SOURCE FILE AND MACROS TOO NESTED

Status
Not open for further replies.

Rk_on_edaboard

Junior Member level 3
Junior Member level 3
Joined
Apr 5, 2013
Messages
25
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,452
hello,all of you
i am the new in edaboard.
i have a problem in keil that when i debug c programs then it shows error
ACTION: PARSING SOURCE FILE
ERROR : PREPROCESSOR: MACROS TOO NESTED
C51 TERMINATED
Target not created
whats mean that also this error shows to other programs which contains
#include<reg51.h> only
if i replace <reg51.h>by <reg52.h>then program get compiled.
why this? please reply me i am in very confusion.:sad:
 

- - - Updated - - -

follow these steps
go to project
new project
select the microcntroller
then open file
new file
save file as .c if you are writing in c or .asm if you are writing in asm
on left side right click on source group
select add files to source group
add the saved file
right click on target mention the crystal
and in output tab check create hex file
the build
you can select reg51.h
 

Attachments

  • Keil Software Programing Procedure.doc
    1.4 MB · Views: 206
thank you and thank you very much aameer sir i will try this

- - - Updated - - -

the problem is not solved aameer sir please help me:|
 

Did you follow that steps.What it is giving errors.add your program
hi aameer sir
there is not problem of program i think there is problem of library of reg51 because if i replace reg51 by reg52 for the same program then program runs but for reg51 it gives error above mentioned.
it started giving error from when i download the program in c which contains #include "includes.h" and i didnt added required files to source group and run,from that it is giving error for reg51. i searched on the internet for that then information get is that the stack of reg51 will be full as something like this i am not getting what is exact and what to do.
 

sorry i was out of station so couldn't reply...
Browse in Google for keil u vision 3 or 4 the run it..
If not getting what your exact problem is...
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top