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

Unable to simulate C8051F120 peripherals in keil uVision2

posted November 07, 2005 07:27 AM
--------------------------------------------------------------------------------
Hi all,
I'am unable to simulate peripherals of C8051F120 in keil uVision2. I have got the DCYG.DLL and TCYG.dll files from keil website..and i replaced the existing dll in /C51/BIN directory.

But this did not yeild any result....
please guide me regarding this

Looking forward for your reply.....
Venkatesh T.K

Parents
  • "Why do you call SFRs which we all know what is "peripherals" which I would consider things like a printer or LCD?"

    In my experience, it is common to refer to the extra bits in a microcontroller - ie, the bits outside the CPU "core" - as "Peripherals" (often, "on-chip Peripherals").

    In the particular case of 8051-derivatives, the CPU "core" gains access to the Peripherals via SFRs.

    The Keil simulator does more than simply emulate read & write accesses to SFRs - it simulates the action of the actual "peripheral" behind the SFRs; eg, writing to SBUF will actually cause a character to be displayed on the serial window, or a charcter to be transmitted from the PC's COM: port, and the TI bit will be set.

    Thus, I think it is reasonable to speak of "peripherals" rather than just "SFRs"

    That's my 2p, anyhow!

Reply
  • "Why do you call SFRs which we all know what is "peripherals" which I would consider things like a printer or LCD?"

    In my experience, it is common to refer to the extra bits in a microcontroller - ie, the bits outside the CPU "core" - as "Peripherals" (often, "on-chip Peripherals").

    In the particular case of 8051-derivatives, the CPU "core" gains access to the Peripherals via SFRs.

    The Keil simulator does more than simply emulate read & write accesses to SFRs - it simulates the action of the actual "peripheral" behind the SFRs; eg, writing to SBUF will actually cause a character to be displayed on the serial window, or a charcter to be transmitted from the PC's COM: port, and the TI bit will be set.

    Thus, I think it is reasonable to speak of "peripherals" rather than just "SFRs"

    That's my 2p, anyhow!

Children