Why uVision2 does not simulate 8952. This compiler does not understand 8952 registers(example TR2, T2MOD, T2CON...) Nguyen The Son
"What is Euler Integral formula ? What is PID algorithm do you often use ?" That'll be two unrelated new questions, then? Normally, you should start a new thread for each new question. However, neither of these questions has anything specifically to do with the Keil software tools - so, strictly, they're off-topic here. http://www.keil.com/forum/ I suggest that you do some research in your library, and with your favourite internet search engine. http://www.8052.com/forum/read.phtml?id=60775
What is Euler Integral formula ? What is PID algorithm do you often use ? Best Regards, Nguyen The Son.
I think compiler already supplies reg52.h which can be used or otherwise use can just declare those SFR's . Its rather easy. Nitin
Which 8952? The device database in uVision lists some Atmel as well as Philips parts with that number. The Atmel device seems to have a T2 peripheral simulated in uVision, at least to a casual glance. The compiler "understands" registers defined in a header file. You could always write your own, but many, many parts have headers already written and supplied by Keil. For example, there's a c:\keil\C51\INC\Atmel\AT89X52.H on my hard drive that has definitions for timer 2 (T2MOD, TR2, T2CON, etc.)
View all questions in Keil forum