Keil Logo

MON166: SOFTWARE RESET USING THE MONITOR


Information in this article applies to:

  • C166 Version 3.12
  • C166 Version 4.03

QUESTION

What happens when debugging using MON166 and my program executes a software reset using the SRST instruction? Specifically, does SRST restart the monitor or does it restart my program?

ANSWER

The behavior of SRST depends on how MON166 is integrated into your target platform.

If MON166 is programmed into an EPROM, then the monitor restarts when you execute the SRST instruction.

If MON166 is loaded into RAM using the bootstrap loader, the SRST instruction restarts your target program.

Last Reviewed: Tuesday, November 23, 2010


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.