We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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); }
Did you Reserve the the second UART interrupt address so your application won't overwrite it? See if this helps.: http://www.keil.com/support/docs/2628.htm Alex
I think there is no need to reserve it for all interrupt vectors are located in lower 32 kB, which is Flash ROM in my case. Second UART vector is at 0x0083 and not redirectered to high 32 Kb, which is RAM. It is occupied by Monitor only. I had check it.
Ok. I can't think of anything else right away... I would hit some Tech Support on this. Alex