We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi. I am using Keil software version µvision3. Here, whenever i try to compile a program that i have written in C it does not recognize the header files. Someone please help.
"it does not recognize the header files."
What do you mean by that:
It can't find the files?
It finds them, but can't open them?
You get errors from their content?
Or what??
Post the full text of the message(s) you receive; use copy-and-paste from uVision Output window - do not manually re-type them.
They will probably be easier to read if you post them as for source code - see http://www.keil.com/forum/tips.asp and be sure to check the Preview before posting
Hi here are the errors that i get when i try to build the target
.\Scritt2.c(15):error C318: can#t open file 'ints167.h' .\Scritt2.c(97):warning C192:'=':value truncated target not created
ints167.h is a header file in my C program. thanksa alot. Waiting for your reply.
It's telling you clearly that it can't open the file.
Obviously, if it's failed to open a file that the rest of your code relies upon, that's going to cause further problems.
So your first step must be to find out why it can't open the file - fix that, and you may well fix the other errors!
Are you sure that you have correctly configured the Include Path for the compiler to find your headers?
The section in the Manual about #include explains how the compiler searches for files, and how to specify the Include Path: http://www.keil.com/support/man/docs/c166/c166_pp_include.htm
Thanks a lot Sir. Can you also tell me where is the device database in the software where i can change the device settings. Thanks a lot.
Come on, you really need to open those manuals and start reading for yourself!
Start here with the uVision tutorial: http://www.keil.com/support/man/docs/uv3/uv3_examples.htm
Well I have read it all. And i figured out all the other problems. but I don't know where to change the device options. I need to do this to synchronize the microcontroller hardware with my software. It would be great if you could help me. Thanks a lot.
Really?
It's the 2nd step here: http://www.keil.com/support/man/docs/uv3/uv3_ca_createproject.htm
Hi. When I try to debug my C program in Keil µvision3 it shows an error stating 'Failed to connect to the target system'. I have spent a lot of time trying to figure out the problem. What are the possible reasons for this error???? Thanks. Waiting eagerly for a reply.
"What are the possible reasons for this error"
That would depend very much on how you are trying to connect to your target system, don't you think?
Respected Sir, I have checked almost everything now. I also uninstalled, downloaded the new software and reinstalled it. Again during debugging I am getting the following error
' the file *.MON or *.BOT could not be found in the MONITOR directory of your installation. Please reconfigure the Monitor166 again or copy the preconfigured *.MON and *.BOT files from the hardware manufacturer into the MONITOR directory '
with the error above and the missing files i cannot run the hardware connected to my software.I really need help. Thanks a lot. Waiting for your reply eagerly.
"the error above and (sic) the missing files"
There is no 'and' - they are one and the same thing!
The error is that the files are missing!
If the files really are missing then the only solution is, obviously, to obtain them!
Is this feature supposed to be supported in the tools you have? Are you using a free evaluation version?
yes yes, I am using a free evaluation version that i downloaded from http://www.keil.com. Also the feature was working with the older versions of KEIL software but now it is showing these errors. from where do I get these files???? Thanks a lot. Waiting for your reply.
Hello. I am still wating for your advice. Is this problem because I am using an evaluation version???? Thanks a lot.
Are you sure that the MON166 monitor is included in the free evaluation?
http://www.keil.com/c166/selector.asp suggests that it's only in the PK166 kit;
http://www.keil.com/demo/limits.asp doesn't seem to mention it.
You will need to check this direct with Keil...
ok. thanks a lot. I will contact keil now. Yeah it is not there in this evaluatuin version.