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‘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....
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.