Technical Support

µ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.

Last Reviewed: Monday, April 30, 2007


Did this article provide the answer you needed?
 
Yes
No
Not Sure