Keil Logo

µVISION DEBUGGER: PORT LINES DON'T TOGGLE DURING MEMORY ACCE


Information in this article applies to:

  • C51 Version 6.20
  • µVision Version 2.20
  • MCB520 Evaluation Board

QUESTION

I have a program that writes to external memory. I can view the values written in the memory window. The external bus interface of my device also toggles the I/O port pins. Is it possible to see also the toggles on the I/O ports when I use the dialog Peripherals - I/O Port?

ANSWER

No, the µVision simulator is not a cycle-based simulator and, therefore, it is not possible to see the memory access on the I/O Port lines.

To provide fast simulation speeds, µVision simulates a single instruction in one step. The behavior of on-chip peripherals and memory accesses is completely simulated at the logic level but not at the gate level. Therefore, you cannot see I/O port toggles of the peripherals or memory access. Instead, the logic behavior of the peripherals is reflected in virtual registers that are listed with the DIR VTREG command. This has the benefit that you can easily write debug functions that simulate complex peripherals.

MORE INFORMATION

SEE ALSO

Last Reviewed: Monday, June 28, 2004


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.