Keil™, An ARM® Company

Technical Support

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 SRTS 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: Saturday, May 08, 2004


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