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 have just started to work with compiler c5.0 compiler with mvision1 and I am getting this error message Fatal Error 204 : invalid keyword The source code I have has previously been working but the exact setup of the enviroment has been lost. What I am doing wrong? Cheers Nick
"What I am doing wrong?" using an invalid keyword! "the exact setup of the enviroment has been lost." Perhaps you'd be better to spend your time getting it working on the current tools, rather than mess about with the obsolete stuff>?
You mean use the mvision2 enviroment and try in there thanks neil
Neil You mean use the mvision2 enviroment and try in there Sorry mate I have only just started on the keil compiler my previous experience has been with the cosmic compiler on motorola processor thanks Nick
Yes. I'm not saying that this'll fix your problem; just that the time spent getting it working will be better invested. And you're more likely to get support with up-to-date tools.
It's usually abbreviated as "uVision" - 'u' for "micro" Otherwise, I s'pose "mvision" would be "milli-vision?!" ;-) Have fun.
"I have only just started on the keil compiler" So when you said this code has been working before, was that on the motorola compiler? If so, it is highly likely that you've used some motorola-specific extension(s) that are not supported by Keil. I'm afraid it's Please read the manual time to find out precisely what the Keil tools do & don't support, and their specific restrictions, enhancements, etc...
Neil no the code has been already written for the keil compiler but the motorola code was written while I was working for another company. I have just started with this company and I am fairly junior in regards to the embedded world. Would you mind if I send you the link file and you have a look at it.Do you think? I have read the C primer and I think I will have to sit and read this getting started guide. Nick
Why don't you just list the line where the compiler reported the invalid keyword? For what it's worth, there are only a few keywords that are added to the C language by the Keil C51 compiler. A list can be found at: http://www.keil.com/support/man/docs/c51/c51_le_keywords.htm. Jon