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

Using Mon51 with an Atmel AT89S8252

I have a board with an 89S8252, configured with VNM at Address 2000-7FFF, 0000-1FFF is Flash.
I have configured Mon51 with install 8 7f 0.
I have Set Intvects and Cseg at 2800H.
I get the connection with Mon51, it downloads my program and than gets into and endless loop somewhere. Hardware reset on the processor board results in a jump to 2800H, but there it stops instead of going to main. The go command proceeds then normally to main. Whats wrong?

Parents
  • Maybe the interrupt vectors are incorrectly redirected. What did you do to the interrupt vectors of your application and with Monitor / INSTALL.A51?

    Turn off the option "Go til main" under Project - Options - Debug. Then you can single step and see where your programs goes into an end-less loop.

    Reinhard

Reply
  • Maybe the interrupt vectors are incorrectly redirected. What did you do to the interrupt vectors of your application and with Monitor / INSTALL.A51?

    Turn off the option "Go til main" under Project - Options - Debug. Then you can single step and see where your programs goes into an end-less loop.

    Reinhard

Children