This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

I need a help

Why uVision2 does not simulate 8952. This compiler does not understand 8952 registers(example TR2, T2MOD, T2CON...)

Nguyen The Son

Parents
  • 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.)

Reply
  • 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.)

Children