This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Mon51 can't stop running application

Hello from Russia.
I use Mon51 version 3.0 to debug my application in classic configuration:
MCU is 80C537, wich is suprset of target processor (AT89S52). Since there are two UARTs, I use first as application's and second as debugger's.
As for memory, lower 32K is occupied with monitor, and higher 32K with RAM.
Monitor itself seems to be compiled correctly(it runs, loads application, sets breakpoints, stops on them and so on).
But there is one problem: once released (runned), application can't be stoped. Monitor stops responding. I set "Serial Interrupt" in Targer Setup, but every time I open this dialog again, it it reset!!!
I try to narrow the progbem with "great" program like that:

#include <Reg517.h>
void main(){
	EAL = 1;
	while(1);
}

It hasn't gone. May be someone has ran into it?

Roman. Russia.

0