Keil Logo

Simulate external I/O Devices

External I/O devices are typical memory mapped. You may simulate such I/O devices with the Memory Window provided in the µVision3 debugger. Since the C user program does not contain any variable declarations for such memory regions it is required that you 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.