Keil Logo

µVISION: 8051 DEVICE SIMULATION SUPPORT


Information in this article applies to:

  • C51 Version 6 and Later

QUESTION

I'm developing an application for a particular 8051-compatible device. When debugging code in the simulator I don't have control over some of my on-chip peripherals. There are no dialogs for them listed in the Peripherals Menu. Am I doing something wrong or is this feature/micro not supported yet?

ANSWER

The Keil µVision Debugger simulates most of the on-chip peripherals of most devices. With over 700 8051-compatible parts, this is a very large undertaking, so not all chips and on-chip peripherals are fully simulated. You can develop code for these parts, but you cannot fully simulate them. To find out what peripherals for a particular chip are supported, check the Device Database.

For on-chip peripherals that are not already supported, you may either:

  • Use the debugger's script language to create debugger functions that perform the operations of the peripheral you need simulated. The debugger's script language is very robust and can be used to create low-mid fidelity simulation solutions.
  • Use the AGSI to create a DLL which you can plug-in to µVision to simulate the desired peripherals. This is a much higher-fidelity solution.

FORUM THREADS

The following Discussion Forum threads may provide information related to this topic.

Last Reviewed: Monday, April 30, 2007


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.