Hi,
I‘m a beginniner at embedded systems.
I added the „reg51“ header file (which I got from the Keil Website) to the source files for a project I am working on.
Having done that, I got the error message „unknown type name sfr“ which refers to the register definitions within the header file and I don’t know how to fix the issue.
I am using Keil 4.
Please help me....
The (full) version number was not the key question!
The key question is:
Andy Neil said:you need to tell us which of the 4 different software development tool products you are using
And look again at the hint I gave you.
However, 4.74 is very old version - so why are you starting with that?
I‘m using the 8051.
The reason I am using the old version is because there’s a free course offered online which I registered for, the course practically walks me through embedded programming.
if you know of modern ones which I can sign up for. Please let me know.
rugrat said:I‘m using the 8051
And have you downloaded the Keil C51 tools?
Let me download these:
http://www.keil.com/c51/devproc.asp
Hopefully this’ll sort me out.
Thanks!
Hi guys
Can I remind you of our house rules, in particular:
'Basic guidelines have been established to ensure that Arm Community is useful for - and respectful of - all our users. Please interact with other users accordingly and conduct yourself as you would in any professional, business setting.'
Please try to keep it respectful and civil.
Thanks
Carl
Hi Rugrat,
Instead of that link, I think you should go to keil.com/demo, and download the C51 Evaluation tools, v 9.60a
What 8051 microcontroller are you using? Once you install the tools, there might be a example for your part in the
C:\Keil_v5\C51\Examples folder
If you are new to 8051's, there are some good resources at http://www.keil.com/books/
and more examples here http://www.keil.com/download/list/c51.htm
... Out of curiosity, what online class are you taking? Was it designed to work with the Keil C51 tools ?
But rugrat specifically said (s)he wanted that old version - because that's what her/his online course uses.
Ron Wedge said:If you are new to 8051's,
If you are new to 8051s then I'm really not sure that it's a good place to start here in the 2nd decade of the 21st Century?
The 8051 has some major quirks which tend to confuse beginners, and few 8051s have modern features such as on-chip debug ...
Yeah, I was curious about this course, if you wanted to learn 8051s the http://www.8052mcu.com had a good tutorial, and some of those 8051 books have a CD with examples already made.
Trouble is, whatever's on those CDs is likely to be written for tools and products decades out of date - so you're just going to keep hitting that same barrier!
:(
EDIT
Of the first 3 books on the http://www.keil.com/books page, one is dated 1998, and the other two are dated 2004. The Keil "µVision4 Getting Started Guide for 8051" is 2009.