Hi guys I started working on AT89C51RE2 as it has 2 serial ports - as per my requirement however I couldn't find header file for the same the one which is available for RE2 on keil.com is actually of RD2 so no special SFRs for 2 UARTs. I put my own UARTs with the help of SFRs table from datasheet but is it possible to download header file for RE2? If not can anybody check my header file please. And if its correct can I upload it here for further usage?
no saints here...
Follow the easy instructions: www.danlhenry.com/.../keil_code.png
For fuller details, click the 'Tips for Posting Messages' link.
As Erik said - use spaces, not TABs for layout.
and don't forget to check it carefully in the 'Preview'...
"and why the code is not d"
Keil don't make any compilers for 'd' - only 'C'
and why the code is not d
post your headerfile
1) use spaces, NO TABS 2) use pre .... as seen above the entry window "Place source code source code between ....." 3) use cut-and-paste, do not retype into the post
also post the error message(s) you get
Erik
That is very unlikely.
Far more likely is that there's a bug (error) in your header and/or elsewhere in your source code.
If you really have found a genuine bug in the compiler, then you should report it direct to Keil
Pratik, How can we review something we cannot see? By the way, the last time I asked somebody here to review my stuff (it was a lot more that a header file, believe me :) ) there was only one saint that heeded. now, since there are very few saints here (I am one of them, by the way) I would suggest that you try either: * dig in your tool-chain again. * follow the data sheet - make your own header file. * become a saint.
i had the same prob and editid a heder file. it was good but bug in compiler stops it working. the file was long but the error was at the start. you can plz look at my one and see why the compiler is not round in the error.
View all questions in Keil forum