Keil Logo

Simulate external I/O Devices

External I/O devices are typically memory mapped. You can simulate such I/O devices with the Memory Window of the µVision Debugger. Because the user program does not contain variable declarations for such memory regions, it is required to map this memory with the MAP command:

MAP 0x100000, 0x100FFF READ WRITE                     /* MAP memory for I/O area */

You may use breakpoints in combination with debug functions to simulate the logic behind the I/O device.

Refer to User Functions for more information.

Example for a breakpoint definition:

BS WRITE 0x100000, 1, "IO_access ()"
  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.